Lines Matching refs:port_regs

689 	void __iomem			*port_regs;  member
2056 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac()
2057 writel(mac_lo(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_lo)); in gbe_set_slave_mac()
2230 rx_maxlen_reg = GBE_REG_ADDR(slave, port_regs, rx_maxlen); in gbe_port_config()
2302 GBE_REG_ADDR(slave, port_regs, rx_pri_map)); in gbe_slave_open()
2618 writel(0, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()
2635 writel(ts_en, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()
2636 writel(seq_id, GBE_REG_ADDR(slave, port_regs, ts_seq_ltype)); in gbe_hwtstamp()
2637 writel(ctl, GBE_REG_ADDR(slave, port_regs, ts_ctl_ltype2)); in gbe_hwtstamp()
3044 slave->port_regs = gbe_dev->switch_regs + port_reg_ofs + in init_slave()
3051 GBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3052 GBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
3053 GBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
3054 GBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
3055 GBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
3056 GBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
3057 GBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
3058 GBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
3059 GBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
3068 GBENU_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3069 GBENU_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
3070 GBENU_SET_REG_OFS(slave, port_regs, rx_pri_map); in init_slave()
3071 GBENU_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
3072 GBENU_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
3073 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
3074 GBENU_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
3075 GBENU_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
3076 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
3077 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
3078 GBENU_SET_REG_OFS(slave, port_regs, rx_maxlen); in init_slave()
3086 XGBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3087 XGBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
3088 XGBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
3089 XGBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
3090 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
3091 XGBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
3092 XGBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
3093 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
3094 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()