Lines Matching refs:MAC_RXCFG
379 gp->regs + MAC_RXCFG); in gem_rxmac_reset()
381 if (!(readl(gp->regs + MAC_RXCFG) & MAC_RXCFG_ENAB)) in gem_rxmac_reset()
453 val = readl(gp->regs + MAC_RXCFG); in gem_rxmac_reset()
454 writel(val | MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_rxmac_reset()
976 readl(gp->regs + MAC_RXCFG)); in gem_tx_timeout()
1213 val = readl(gp->regs + MAC_RXCFG); in gem_start_dma()
1214 writel(val | MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_start_dma()
1216 (void) readl(gp->regs + MAC_RXCFG); in gem_start_dma()
1237 val = readl(gp->regs + MAC_RXCFG); in gem_stop_dma()
1238 writel(val & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_stop_dma()
1240 (void) readl(gp->regs + MAC_RXCFG); in gem_stop_dma()
1401 val = readl(gp->regs + MAC_RXCFG); in gem_set_link_modes()
1402 writel(val | MAC_RXCFG_RCE, gp->regs + MAC_RXCFG); in gem_set_link_modes()
1407 val = readl(gp->regs + MAC_RXCFG); in gem_set_link_modes()
1408 writel(val & ~MAC_RXCFG_RCE, gp->regs + MAC_RXCFG); in gem_set_link_modes()
1871 writel(gp->mac_rx_cfg, gp->regs + MAC_RXCFG); in gem_init_mac()
2095 gp->regs + MAC_RXCFG); in gem_stop_phy()
2106 writel(0, gp->regs + MAC_RXCFG); in gem_stop_phy()
2107 (void)readl(gp->regs + MAC_RXCFG); in gem_stop_phy()
2470 rxcfg = readl(gp->regs + MAC_RXCFG); in gem_set_multicast()
2477 writel(rxcfg & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_set_multicast()
2478 while (readl(gp->regs + MAC_RXCFG) & MAC_RXCFG_ENAB) { in gem_set_multicast()
2487 writel(rxcfg, gp->regs + MAC_RXCFG); in gem_set_multicast()