Lines Matching refs:port_regs
623 void __iomem *port_regs; member
1731 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac()
1732 writel(mac_lo(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_lo)); in gbe_set_slave_mac()
1896 rx_maxlen_reg = GBE_REG_ADDR(slave, port_regs, rx_maxlen); in gbe_port_config()
2342 slave->port_regs = gbe_dev->switch_regs + port_reg_ofs + in init_slave()
2349 GBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
2350 GBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
2351 GBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
2352 GBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
2353 GBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
2354 GBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
2355 GBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
2356 GBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
2357 GBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
2366 GBENU_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
2367 GBENU_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
2368 GBENU_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
2369 GBENU_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
2370 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
2371 GBENU_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
2372 GBENU_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
2373 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
2374 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
2375 GBENU_SET_REG_OFS(slave, port_regs, rx_maxlen); in init_slave()
2383 XGBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
2384 XGBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
2385 XGBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
2386 XGBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
2387 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
2388 XGBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
2389 XGBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
2390 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
2391 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()