Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c69 #define MACB_RX_INT_FLAGS (MACB_BIT(RCOMP) | MACB_BIT(ISR_ROVR))
70 #define MACB_TX_ERR_FLAGS (MACB_BIT(ISR_TUND) \
71 | MACB_BIT(ISR_RLE) \
72 | MACB_BIT(TXERR))
73 #define MACB_TX_INT_FLAGS (MACB_TX_ERR_FLAGS | MACB_BIT(TCOMP) \
74 | MACB_BIT(TXUBR))
258 u32 value = MACB_BIT(LLB); in hw_is_native_io()
266 return value == MACB_BIT(LLB); in hw_is_native_io()
333 return readx_poll_timeout(MACB_READ_NSR, bp, val, val & MACB_BIT(IDLE), in macb_mdio_wait_for_idle()
603 ctrl |= MACB_BIT(RM9200_RMII); in macb_mac_config()
[all …]
Dmacb_ptp.c444 macb_writel(bp, NCR, reg_val | MACB_BIT(OSSMODE)); in gem_ptp_set_one_step_sync()
446 macb_writel(bp, NCR, reg_val & ~MACB_BIT(OSSMODE)); in gem_ptp_set_one_step_sync()
499 macb_writel(bp, NCR, (regval | MACB_BIT(SRTSM))); in gem_set_hwtst()
Dmacb.h735 #define MACB_BIT(name) \ macro