Lines Matching refs:emac_regs
690 void __iomem *emac_regs; member
2091 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2104 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2203 writel(SOFT_RESET, GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2207 v = readl(GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2237 rx_maxlen_reg = GBE_REG_ADDR(slave, emac_regs, rx_maxlen); in gbe_port_config()
2240 writel(slave->mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control)); in gbe_port_config()
3051 slave->emac_regs = gbe_dev->switch_regs + emac_reg_ofs + in init_slave()
3067 GBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3068 GBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3069 GBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()
3086 GBENU_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3087 GBENU_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3102 XGBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3103 XGBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3104 XGBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()