Lines Matching refs:rx_buffersize
605 B43_WARN_ON(ring->rx_buffersize < ring->frameoffset + sizeof(struct b43_plcp_hdr6) + 2); in b43_poison_rx_buffer()
619 skb = __dev_alloc_skb(ring->rx_buffersize, gfp_flags); in setup_rx_descbuffer()
623 dmaaddr = map_descbuffer(ring, skb->data, ring->rx_buffersize, 0); in setup_rx_descbuffer()
624 if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) { in setup_rx_descbuffer()
630 skb = __dev_alloc_skb(ring->rx_buffersize, gfp_flags); in setup_rx_descbuffer()
635 ring->rx_buffersize, 0); in setup_rx_descbuffer()
636 if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) { in setup_rx_descbuffer()
646 ring->rx_buffersize, 0, 0, 0); in setup_rx_descbuffer()
680 unmap_descbuffer(ring, meta->dmaaddr, ring->rx_buffersize, 0); in alloc_initial_descbuffers()
812 ring->rx_buffersize, 0); in free_all_descbuffers()
902 ring->rx_buffersize = B43_DMA0_RX_FW598_BUFSIZE; in b43_setup_dmaring()
907 ring->rx_buffersize = B43_DMA0_RX_FW351_BUFSIZE; in b43_setup_dmaring()
1663 sync_descbuffer_for_cpu(ring, meta->dmaaddr, ring->rx_buffersize); in dma_rx()
1688 if (unlikely(len + ring->frameoffset > ring->rx_buffersize)) { in dma_rx()
1702 ring->rx_buffersize); in dma_rx()
1705 tmp -= ring->rx_buffersize; in dma_rx()
1711 len, ring->rx_buffersize, cnt); in dma_rx()
1722 unmap_descbuffer(ring, dmaaddr, ring->rx_buffersize, 0); in dma_rx()
1733 sync_descbuffer_for_device(ring, dmaaddr, ring->rx_buffersize); in dma_rx()