Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c520 if (valid == intf->rx_edpkt_dma_addr + DESC_RING_SIZE) in bcmasp_rx_poll()
709 intf->rx_edpkt_cpu = dma_alloc_coherent(kdev, DESC_RING_SIZE, in bcmasp_alloc_buffers()
715 intf->tx_spb_cpu = dma_alloc_coherent(kdev, DESC_RING_SIZE, in bcmasp_alloc_buffers()
728 dma_free_coherent(kdev, DESC_RING_SIZE, intf->tx_spb_cpu, in bcmasp_alloc_buffers()
731 dma_free_coherent(kdev, DESC_RING_SIZE, intf->rx_edpkt_cpu, in bcmasp_alloc_buffers()
747 dma_free_coherent(kdev, DESC_RING_SIZE, intf->rx_edpkt_cpu, in bcmasp_reclaim_free_buffers()
754 dma_free_coherent(kdev, DESC_RING_SIZE, intf->tx_spb_cpu, in bcmasp_reclaim_free_buffers()
763 intf->rx_edpkt_dma_valid = intf->rx_edpkt_dma_addr + (DESC_RING_SIZE - 1); in bcmasp_init_rx()
801 intf->tx_spb_dma_valid = intf->tx_spb_dma_addr + DESC_RING_SIZE - 1; in bcmasp_init_tx()
Dbcmasp_intf_defs.h255 #define DESC_RING_SIZE (DESC_RING_COUNT * DESC_SIZE) macro