Searched refs:DESC_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_intf.c | 519 if (valid == intf->rx_edpkt_dma_addr + DESC_RING_SIZE) in bcmasp_rx_poll() 712 p = dma_alloc_coherent(kdev, DESC_RING_SIZE, &intf->rx_edpkt_dma_addr, in bcmasp_init_rx() 747 rx_edpkt_dma_wq(intf, intf->rx_edpkt_dma_addr + (DESC_RING_SIZE - 1), in bcmasp_init_rx() 749 rx_edpkt_dma_wq(intf, intf->rx_edpkt_dma_addr + (DESC_RING_SIZE - 1), in bcmasp_init_rx() 771 dma_free_coherent(kdev, DESC_RING_SIZE, intf->rx_edpkt_cpu, in bcmasp_reclaim_free_all_rx() 784 p = dma_alloc_coherent(kdev, DESC_RING_SIZE, &intf->tx_spb_dma_addr, in bcmasp_init_tx() 790 intf->tx_spb_dma_valid = intf->tx_spb_dma_addr + DESC_RING_SIZE - 1; in bcmasp_init_tx() 825 dma_free_coherent(kdev, DESC_RING_SIZE, intf->tx_spb_cpu, in bcmasp_init_tx() 836 dma_free_coherent(kdev, DESC_RING_SIZE, intf->tx_spb_cpu, in bcmasp_reclaim_free_all_tx()
|
H A D | bcmasp_intf_defs.h | 255 #define DESC_RING_SIZE (DESC_RING_COUNT * DESC_SIZE) macro
|