Lines Matching refs:macb_writel
349 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_read()
360 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_read()
366 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C22_SOF) in macb_mdio_read()
403 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_write()
414 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_write()
421 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C22_SOF) in macb_mdio_write()
729 macb_writel(bp, NCR, ctrl); in macb_mac_link_down()
793 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(RE) | MACB_BIT(TE)); in macb_mac_link_up()
937 macb_writel(bp, NCR, MACB_BIT(MPE)); in macb_mii_init()
990 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(THALT)); in macb_halt_tx()
1156 macb_writel(bp, TSR, macb_readl(bp, TSR)); in macb_tx_error_task()
1161 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART)); in macb_tx_error_task()
1175 macb_writel(bp, TSR, status); in macb_tx_interrupt()
1581 macb_writel(bp, NCR, ctrl & ~MACB_BIT(RE)); in macb_rx()
1586 macb_writel(bp, NCR, ctrl | MACB_BIT(RE)); in macb_rx()
1608 macb_writel(bp, RSR, status); in macb_poll()
1648 macb_writel(bp, NCR, ctrl); in macb_hresp_error_task()
1666 macb_writel(bp, NCR, ctrl); in macb_hresp_error_task()
1684 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART)); in macb_tx_restart()
1702 macb_writel(bp, WOL, 0); in macb_wol_interrupt()
1818 macb_writel(bp, NCR, ctrl & ~MACB_BIT(RE)); in macb_interrupt()
1820 macb_writel(bp, NCR, ctrl | MACB_BIT(RE)); in macb_interrupt()
2238 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART)); in macb_start_xmit()
2474 macb_writel(bp, NCR, ctrl); in macb_reset_hw()
2477 macb_writel(bp, TSR, -1); in macb_reset_hw()
2478 macb_writel(bp, RSR, -1); in macb_reset_hw()
2625 macb_writel(bp, NCFGR, config); in macb_init_hw()
2751 macb_writel(bp, NCFGR, cfg); in macb_set_rx_mode()
3998 macb_writel(bp, NCFGR, val); in macb_init()
4094 macb_writel(lp, RBQP, q->rx_ring_dma); in at91ether_start()
4098 macb_writel(lp, NCR, ctl | MACB_BIT(RE) | MACB_BIT(TE)); in at91ether_start()
4101 macb_writel(lp, IER, MACB_BIT(RCOMP) | in at91ether_start()
4117 macb_writel(lp, IDR, MACB_BIT(RCOMP) | in at91ether_stop()
4127 macb_writel(lp, NCR, ctl & ~(MACB_BIT(TE) | MACB_BIT(RE))); in at91ether_stop()
4148 macb_writel(lp, NCR, ctl | MACB_BIT(CLRSTAT)); in at91ether_open()
4210 macb_writel(lp, TAR, lp->rm9200_txq[desc].mapping); in at91ether_start_xmit()
4212 macb_writel(lp, TCR, skb->len); in at91ether_start_xmit()
4305 macb_writel(lp, NCR, ctl & ~MACB_BIT(RE)); in at91ether_interrupt()
4307 macb_writel(lp, NCR, ctl | MACB_BIT(RE)); in at91ether_interrupt()
4381 macb_writel(bp, NCR, 0); in at91ether_init()
4383 macb_writel(bp, NCFGR, MACB_BF(CLK, MACB_CLK_DIV32) | MACB_BIT(BIG)); in at91ether_init()
4887 macb_writel(bp, TSR, -1); in macb_suspend()
4888 macb_writel(bp, RSR, -1); in macb_suspend()
4924 macb_writel(bp, WOL, MACB_BIT(MAG)); in macb_suspend()
4982 macb_writel(bp, WOL, 0); in macb_resume()
5021 macb_writel(bp, NCR, MACB_BIT(MPE)); in macb_resume()