Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcm4908_enet.h65 #define ENET_DMA_CH_CFG_ENABLE 0x00000001 /* set to enable channel */ macro
H A Dbcm4908_enet.c361 enet_write(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE); in bcm4908_enet_dma_tx_ring_enable()
373 enet_set(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE); in bcm4908_enet_dma_rx_ring_enable()
382 enet_maskset(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE, 0); in bcm4908_enet_dma_rx_ring_disable()
387 if (!(tmp & ENET_DMA_CH_CFG_ENABLE)) in bcm4908_enet_dma_rx_ring_disable()
389 enet_maskset(enet, ring->cfg_block + ENET_DMA_CH_CFG, ENET_DMA_CH_CFG_ENABLE, 0); in bcm4908_enet_dma_rx_ring_disable()