Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/cadence/
Dmacb.c56 #define MACB_RX_INT_FLAGS (MACB_BIT(RCOMP) | MACB_BIT(RXUBR) \
57 | MACB_BIT(ISR_ROVR))
154 reg &= ~(MACB_BIT(SPD) | MACB_BIT(FD)); in macb_handle_link_change()
157 reg |= MACB_BIT(FD); in macb_handle_link_change()
159 reg |= MACB_BIT(SPD); in macb_handle_link_change()
234 macb_writel(bp, NCR, MACB_BIT(MPE)); in macb_mii_init()
308 if (status & (MACB_BIT(UND) | MACB_BIT(TSR_RLE))) { in macb_tx()
311 status & MACB_BIT(UND) ? in macb_tx()
315 if (status & MACB_BIT(TGO)) in macb_tx()
316 macb_writel(bp, NCR, macb_readl(bp, NCR) & ~MACB_BIT(TE)); in macb_tx()
[all …]
Dmacb.h295 #define MACB_BIT(name) \ macro