• Home
  • Raw
  • Download

Lines Matching refs:port_regs

689 	void __iomem			*port_regs;  member
2061 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac()
2062 writel(mac_lo(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_lo)); in gbe_set_slave_mac()
2235 rx_maxlen_reg = GBE_REG_ADDR(slave, port_regs, rx_maxlen); in gbe_port_config()
2307 GBE_REG_ADDR(slave, port_regs, rx_pri_map)); in gbe_slave_open()
2623 writel(0, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()
2640 writel(ts_en, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()
2641 writel(seq_id, GBE_REG_ADDR(slave, port_regs, ts_seq_ltype)); in gbe_hwtstamp()
2642 writel(ctl, GBE_REG_ADDR(slave, port_regs, ts_ctl_ltype2)); in gbe_hwtstamp()
3053 slave->port_regs = gbe_dev->switch_regs + port_reg_ofs + in init_slave()
3060 GBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3061 GBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
3062 GBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
3063 GBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
3064 GBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
3065 GBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
3066 GBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
3067 GBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
3068 GBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
3077 GBENU_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3078 GBENU_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
3079 GBENU_SET_REG_OFS(slave, port_regs, rx_pri_map); in init_slave()
3080 GBENU_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
3081 GBENU_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
3082 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
3083 GBENU_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
3084 GBENU_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
3085 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
3086 GBENU_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()
3087 GBENU_SET_REG_OFS(slave, port_regs, rx_maxlen); in init_slave()
3095 XGBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3096 XGBE_SET_REG_OFS(slave, port_regs, tx_pri_map); in init_slave()
3097 XGBE_SET_REG_OFS(slave, port_regs, sa_lo); in init_slave()
3098 XGBE_SET_REG_OFS(slave, port_regs, sa_hi); in init_slave()
3099 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl); in init_slave()
3100 XGBE_SET_REG_OFS(slave, port_regs, ts_seq_ltype); in init_slave()
3101 XGBE_SET_REG_OFS(slave, port_regs, ts_vlan); in init_slave()
3102 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl_ltype2); in init_slave()
3103 XGBE_SET_REG_OFS(slave, port_regs, ts_ctl2); in init_slave()