Home
last modified time | relevance | path

Searched refs:macb_readl (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/cadence/
Dmacb.c106 while (!MACB_BFEXT(IDLE, macb_readl(bp, NSR))) in macb_mdio_read()
109 value = MACB_BFEXT(DATA, macb_readl(bp, MAN)); in macb_mdio_read()
127 while (!MACB_BFEXT(IDLE, macb_readl(bp, NSR))) in macb_mdio_write()
153 reg = macb_readl(bp, NCFGR); in macb_handle_link_change()
303 status = macb_readl(bp, TSR); in macb_tx()
316 macb_writel(bp, NCR, macb_readl(bp, NCR) & ~MACB_BIT(TE)); in macb_tx()
346 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TE)); in macb_tx()
512 status = macb_readl(bp, RSR); in macb_poll()
542 status = macb_readl(bp, ISR); in macb_interrupt()
598 status = macb_readl(bp, ISR); in macb_interrupt()
[all …]
Dmacb.h322 #define macb_readl(port,reg) \ macro
351 __v = macb_readl((__bp), __reg); \
541 return MACB_BFEXT(IDNUM, macb_readl(bp, MID)) == 0x2; in macb_is_gem()