Lines Matching refs:emac_regs
690 void __iomem *emac_regs; member
2086 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2099 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2198 writel(SOFT_RESET, GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2202 v = readl(GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2232 rx_maxlen_reg = GBE_REG_ADDR(slave, emac_regs, rx_maxlen); in gbe_port_config()
2235 writel(slave->mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control)); in gbe_port_config()
3046 slave->emac_regs = gbe_dev->switch_regs + emac_reg_ofs + in init_slave()
3062 GBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3063 GBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3064 GBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()
3081 GBENU_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3082 GBENU_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3097 XGBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3098 XGBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3099 XGBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()