Searched refs:FBR_CHUNKS (Results 1 – 2 of 2) sorted by relevance
72 #define FBR_CHUNKS 32 macro200 void *Fbr0MemVa[MAX_DESC_PER_RING_RX / FBR_CHUNKS];201 dma_addr_t Fbr0MemPa[MAX_DESC_PER_RING_RX / FBR_CHUNKS];210 void *Fbr1MemVa[MAX_DESC_PER_RING_RX / FBR_CHUNKS];211 dma_addr_t Fbr1MemPa[MAX_DESC_PER_RING_RX / FBR_CHUNKS];
224 for (i = 0; i < (rx_ring->Fbr1NumEntries / FBR_CHUNKS); in et131x_rx_dma_memory_alloc()243 (FBR_CHUNKS * rx_ring->Fbr1BufferSize) + Fbr1Align - 1; in et131x_rx_dma_memory_alloc()261 for (j = 0; j < FBR_CHUNKS; j++) { in et131x_rx_dma_memory_alloc()262 u32 index = (i * FBR_CHUNKS) + j; in et131x_rx_dma_memory_alloc()289 for (i = 0; i < (rx_ring->Fbr0NumEntries / FBR_CHUNKS); in et131x_rx_dma_memory_alloc()294 FBRChunkSize = ((FBR_CHUNKS + 1) * rx_ring->Fbr0BufferSize) - 1; in et131x_rx_dma_memory_alloc()313 for (j = 0; j < FBR_CHUNKS; j++) { in et131x_rx_dma_memory_alloc()314 u32 index = (i * FBR_CHUNKS) + j; in et131x_rx_dma_memory_alloc()421 (rx_ring->Fbr1NumEntries / FBR_CHUNKS); index++) { in et131x_rx_dma_memory_free()431 (rx_ring->Fbr1BufferSize * FBR_CHUNKS) + in et131x_rx_dma_memory_free()[all …]