Lines Matching refs:macb_readl
377 status = MACB_BFEXT(DATA, macb_readl(bp, MAN)); in macb_mdio_read()
728 ctrl = macb_readl(bp, NCR) & ~(MACB_BIT(RE) | MACB_BIT(TE)); 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()
869 state->link = (macb_readl(bp, NSR) & MACB_BIT(NSR_LINK)) != 0; in macb_get_pcs_fixed_state()
990 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(THALT)); in macb_halt_tx()
995 status = macb_readl(bp, TSR); 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()
1174 status = macb_readl(bp, TSR); in macb_tx_interrupt()
1580 ctrl = macb_readl(bp, NCR); in macb_rx()
1607 status = macb_readl(bp, RSR); in macb_poll()
1618 status = macb_readl(bp, RSR); in macb_poll()
1646 ctrl = macb_readl(bp, NCR); in macb_hresp_error_task()
1684 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART)); in macb_tx_restart()
1817 ctrl = macb_readl(bp, NCR); in macb_interrupt()
2238 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART)); in macb_start_xmit()
2464 u32 ctrl = macb_readl(bp, NCR); in macb_reset_hw()
2717 cfg = macb_readl(bp, NCFGR); in macb_set_rx_mode()
3021 regs->version = (macb_readl(bp, MID) & ((1 << MACB_REV_SIZE) - 1)) in macb_get_regs()
3027 regs_buff[0] = macb_readl(bp, NCR); in macb_get_regs()
3029 regs_buff[2] = macb_readl(bp, NSR); in macb_get_regs()
3030 regs_buff[3] = macb_readl(bp, TSR); in macb_get_regs()
3031 regs_buff[4] = macb_readl(bp, RBQP); in macb_get_regs()
3032 regs_buff[5] = macb_readl(bp, TBQP); in macb_get_regs()
3033 regs_buff[6] = macb_readl(bp, RSR); in macb_get_regs()
3034 regs_buff[7] = macb_readl(bp, IMR); in macb_get_regs()
4097 ctl = macb_readl(lp, NCR); in at91ether_start()
4126 ctl = macb_readl(lp, NCR); in at91ether_stop()
4147 ctl = macb_readl(lp, NCR); in at91ether_open()
4192 if (macb_readl(lp, TSR) & MACB_BIT(RM9200_BNQ)) { in at91ether_start_xmit()
4278 intstatus = macb_readl(lp, ISR); in at91ether_interrupt()
4304 ctl = macb_readl(lp, NCR); in at91ether_interrupt()
4820 macb_is_gem(bp) ? "GEM" : "MACB", macb_readl(bp, MID), in macb_probe()