Lines Matching refs:dmaaddr

37 static u32 b43_dma_address(struct b43_dma *dma, dma_addr_t dmaaddr,  in b43_dma_address()  argument
44 addr = lower_32_bits(dmaaddr); in b43_dma_address()
51 addr = upper_32_bits(dmaaddr); in b43_dma_address()
59 addr = lower_32_bits(dmaaddr); in b43_dma_address()
61 addr = upper_32_bits(dmaaddr); in b43_dma_address()
87 dma_addr_t dmaaddr, u16 bufsize, in op32_fill_descriptor() argument
99 addr = b43_dma_address(&ring->dev->dma, dmaaddr, B43_DMA_ADDR_LOW); in op32_fill_descriptor()
100 addrext = b43_dma_address(&ring->dev->dma, dmaaddr, B43_DMA_ADDR_EXT); in op32_fill_descriptor()
179 dma_addr_t dmaaddr, u16 bufsize, in op64_fill_descriptor() argument
191 addrlo = b43_dma_address(&ring->dev->dma, dmaaddr, B43_DMA_ADDR_LOW); in op64_fill_descriptor()
192 addrhi = b43_dma_address(&ring->dev->dma, dmaaddr, B43_DMA_ADDR_HIGH); in op64_fill_descriptor()
193 addrext = b43_dma_address(&ring->dev->dma, dmaaddr, B43_DMA_ADDR_EXT); in op64_fill_descriptor()
350 dma_addr_t dmaaddr; in map_descbuffer() local
353 dmaaddr = dma_map_single(ring->dev->dev->dma_dev, in map_descbuffer()
356 dmaaddr = dma_map_single(ring->dev->dev->dma_dev, in map_descbuffer()
360 return dmaaddr; in map_descbuffer()
596 dma_addr_t dmaaddr; in setup_rx_descbuffer() local
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()
616 dmaaddr = map_descbuffer(ring, skb->data, in setup_rx_descbuffer()
618 if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) { in setup_rx_descbuffer()
626 meta->dmaaddr = dmaaddr; in setup_rx_descbuffer()
627 ring->ops->fill_descriptor(ring, desc, dmaaddr, in setup_rx_descbuffer()
662 unmap_descbuffer(ring, meta->dmaaddr, ring->rx_buffersize, 0); in alloc_initial_descbuffers()
790 unmap_descbuffer(ring, meta->dmaaddr, in free_all_descbuffers()
793 unmap_descbuffer(ring, meta->dmaaddr, in free_all_descbuffers()
1227 meta_hdr->dmaaddr = map_descbuffer(ring, (unsigned char *)header, in dma_tx_fragment()
1229 if (b43_dma_mapping_error(ring, meta_hdr->dmaaddr, hdrsize, 1)) { in dma_tx_fragment()
1234 ops->fill_descriptor(ring, desc, meta_hdr->dmaaddr, in dma_tx_fragment()
1246 meta->dmaaddr = map_descbuffer(ring, skb->data, skb->len, 1); in dma_tx_fragment()
1248 if (b43_dma_mapping_error(ring, meta->dmaaddr, skb->len, 1)) { in dma_tx_fragment()
1258 meta->dmaaddr = map_descbuffer(ring, priv_info->bouncebuffer, skb->len, 1); in dma_tx_fragment()
1259 if (b43_dma_mapping_error(ring, meta->dmaaddr, skb->len, 1)) { in dma_tx_fragment()
1269 ops->fill_descriptor(ring, desc, meta->dmaaddr, skb->len, 0, 1, 1); in dma_tx_fragment()
1283 unmap_descbuffer(ring, meta_hdr->dmaaddr, in dma_tx_fragment()
1489 unmap_descbuffer(ring, meta->dmaaddr, in b43_dma_handle_txstatus()
1494 unmap_descbuffer(ring, meta->dmaaddr, in b43_dma_handle_txstatus()
1591 dma_addr_t dmaaddr; in dma_rx() local
1595 sync_descbuffer_for_cpu(ring, meta->dmaaddr, ring->rx_buffersize); in dma_rx()
1609 dmaaddr = meta->dmaaddr; in dma_rx()
1617 dmaaddr = meta->dmaaddr; in dma_rx()
1633 sync_descbuffer_for_device(ring, meta->dmaaddr, in dma_rx()
1647 dmaaddr = meta->dmaaddr; 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()