Lines Matching refs:emac_regs
700 void __iomem *emac_regs; member
2100 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2113 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2212 writel(SOFT_RESET, GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2216 v = readl(GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2246 rx_maxlen_reg = GBE_REG_ADDR(slave, emac_regs, rx_maxlen); in gbe_port_config()
2249 writel(slave->mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control)); in gbe_port_config()
3065 slave->emac_regs = gbe_dev->switch_regs + emac_reg_ofs + in init_slave()
3081 GBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3082 GBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3083 GBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()
3100 GBENU_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3101 GBENU_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3116 XGBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
3117 XGBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
3118 XGBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()