Searched refs:ENET_DMA_CH_CFG_ENABLE (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bcm4908_enet.h | 65 #define ENET_DMA_CH_CFG_ENABLE 0x00000001 /* set to enable channel */ macro
|
D | bcm4908_enet.c | 351 enet_write(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE); in bcm4908_enet_dma_tx_ring_enable() 363 enet_set(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE); in bcm4908_enet_dma_rx_ring_enable() 372 enet_maskset(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE, 0); in bcm4908_enet_dma_rx_ring_disable() 377 if (!(tmp & ENET_DMA_CH_CFG_ENABLE)) in bcm4908_enet_dma_rx_ring_disable() 379 enet_maskset(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE, 0); in bcm4908_enet_dma_rx_ring_disable()
|