Lines Matching refs:rx_buffersize
587 B43_WARN_ON(ring->rx_buffersize < ring->frameoffset + sizeof(struct b43_plcp_hdr6) + 2); in b43_poison_rx_buffer()
601 skb = __dev_alloc_skb(ring->rx_buffersize, gfp_flags); in setup_rx_descbuffer()
605 dmaaddr = map_descbuffer(ring, skb->data, ring->rx_buffersize, 0); in setup_rx_descbuffer()
606 if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) { in setup_rx_descbuffer()
612 skb = __dev_alloc_skb(ring->rx_buffersize, gfp_flags); in setup_rx_descbuffer()
617 ring->rx_buffersize, 0); in setup_rx_descbuffer()
618 if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) { in setup_rx_descbuffer()
628 ring->rx_buffersize, 0, 0, 0); in setup_rx_descbuffer()
662 unmap_descbuffer(ring, meta->dmaaddr, ring->rx_buffersize, 0); in alloc_initial_descbuffers()
794 ring->rx_buffersize, 0); in free_all_descbuffers()
871 ring->rx_buffersize = B43_DMA0_RX_FW598_BUFSIZE; in b43_setup_dmaring()
876 ring->rx_buffersize = B43_DMA0_RX_FW351_BUFSIZE; in b43_setup_dmaring()
1595 sync_descbuffer_for_cpu(ring, meta->dmaaddr, ring->rx_buffersize); in dma_rx()
1620 if (unlikely(len + ring->frameoffset > ring->rx_buffersize)) { in dma_rx()
1634 ring->rx_buffersize); in dma_rx()
1637 tmp -= ring->rx_buffersize; in dma_rx()
1643 len, ring->rx_buffersize, cnt); in dma_rx()
1654 unmap_descbuffer(ring, dmaaddr, ring->rx_buffersize, 0); in dma_rx()
1665 sync_descbuffer_for_device(ring, dmaaddr, ring->rx_buffersize); in dma_rx()