Lines Matching refs:mapping

1 		     Dynamic DMA mapping Guide
51 | | mapping | | by host | |
59 | | mapping | RAM | by IOMMU
84 mapping and returns the DMA address Z. The driver then tells the device to
88 So that Linux can use the dynamic DMA mapping, it needs some help from the
103 #include <linux/dma-mapping.h>
107 everywhere you hold a DMA address returned from the DMA mapping functions.
112 be used with the DMA mapping facilities. There has been an unwritten
369 The interfaces for using this type of mapping were designed in
374 Neither type of DMA mapping has alignment restrictions that come from
399 The consistent DMA mapping interfaces, for non-NULL dev, will by
526 The streaming DMA mapping routines can be called from interrupt
541 * reduce current DMA mapping usage,
555 will invoke the generic mapping error check interface. Doing so will ensure
556 that the mapping code will work correctly on all DMA implementations without
598 * reduce current DMA mapping usage,
630 into one (e.g. if DMA mapping is done with PAGE_SIZE granularity, any
699 dma_addr_t mapping;
701 mapping = dma_map_single(cp->dev, buffer, len, DMA_FROM_DEVICE);
704 * reduce current DMA mapping usage,
713 cp->rx_dma = mapping;
749 * for DMA_BIDIRECTIONAL mapping if
760 dynamic DMA mapping scheme - you have to always store the DMA addresses
763 supports dynamic DMA mapping in hardware) in your driver structures and/or
786 * reduce current DMA mapping usage,
793 - unmap pages that are already mapped, when mapping error occurs in the middle
794 of a multiple page mapping attempt. These example are applicable to
804 * reduce current DMA mapping usage,
813 * reduce current DMA mapping usage,
827 mapping error is detected in the middle)
840 * reduce current DMA mapping usage,
862 and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
866 SCSI drivers must return SCSI_MLQUEUE_HOST_BUSY if the DMA mapping
873 Therefore, keeping track of the mapping address and length is a waste
886 dma_addr_t mapping;
894 DEFINE_DMA_UNMAP_ADDR(mapping);
901 ringp->mapping = FOO;
906 dma_unmap_addr_set(ringp, mapping, FOO);
912 dma_unmap_single(dev, ringp->mapping, ringp->len,
918 dma_unmap_addr(ringp, mapping),
957 can use include/linux/asm-generic/dma-mapping-common.h. It's a