Lines Matching refs:emac_regs
621 void __iomem *emac_regs; member
1958 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
1970 writel(mac_control, GBE_REG_ADDR(slave, emac_regs, in netcp_ethss_link_state_action()
2056 writel(SOFT_RESET, GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2060 v = readl(GBE_REG_ADDR(slave, emac_regs, soft_reset)); in gbe_port_reset()
2090 rx_maxlen_reg = GBE_REG_ADDR(slave, emac_regs, rx_maxlen); in gbe_port_config()
2093 writel(slave->mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control)); in gbe_port_config()
2544 slave->emac_regs = gbe_dev->switch_regs + emac_reg_ofs + in init_slave()
2560 GBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
2561 GBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
2562 GBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()
2578 GBENU_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
2579 GBENU_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
2594 XGBE_SET_REG_OFS(slave, emac_regs, mac_control); in init_slave()
2595 XGBE_SET_REG_OFS(slave, emac_regs, soft_reset); in init_slave()
2596 XGBE_SET_REG_OFS(slave, emac_regs, rx_maxlen); in init_slave()