Lines Matching refs:port_regs
620 void __iomem *port_regs; member
1928 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac()
1929 writel(mac_lo(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_lo)); in gbe_set_slave_mac()
2088 rx_maxlen_reg = GBE_REG_ADDR(slave, port_regs, rx_maxlen); in gbe_port_config()
2542 slave->port_regs = gbe_dev->switch_regs + port_reg_ofs + in init_slave()
2549 GBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
2550 GBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
2551 GBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
2552 GBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
2553 GBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
2554 GBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
2555 GBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
2556 GBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
2557 GBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
2566 GBENU_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
2567 GBENU_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
2568 GBENU_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
2569 GBENU_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
2570 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
2571 GBENU_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
2572 GBENU_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
2573 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
2574 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
2575 GBENU_SET_REG_OFS(slave, port_regs, rx_maxlen); in init_slave()
2583 XGBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
2584 XGBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
2585 XGBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
2586 XGBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
2587 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
2588 XGBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
2589 XGBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
2590 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
2591 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()