Searched refs:bgmac_read (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 28 val = bgmac_read(bgmac, reg); in bgmac_wait_value() 56 val = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_reset() 79 val = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_reset() 91 ctl = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL); in bgmac_dma_tx_enable() 242 empty_slot = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_free() 311 ctl = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_RX_CTL); in bgmac_dma_rx_enable() 418 end_slot = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_RX_STATUS); in bgmac_dma_rx_read() 512 if (bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_RINGLO)) in bgmac_dma_unaligned() 518 if (bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_RX_RINGLO)) in bgmac_dma_unaligned() 799 bgmac_read(bgmac, [all …]
|
D | bgmac.h | 513 static inline u32 bgmac_read(struct bgmac *bgmac, u16 offset) in bgmac_read() function 525 return bgmac_read(bgmac, BGMAC_UNIMAC + offset); in bgmac_umac_read() 573 bgmac_write(bgmac, offset, (bgmac_read(bgmac, offset) & mask) | set); in bgmac_maskset()
|