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
694 dma_addr_t mapping;
696 mapping = dma_map_single(cp->dev, buffer, len, DMA_FROM_DEVICE);
699 * reduce current DMA mapping usage,
708 cp->rx_dma = mapping;
744 * for DMA_BIDIRECTIONAL mapping if
755 dynamic DMA mapping scheme - you have to always store the DMA addresses
758 supports dynamic DMA mapping in hardware) in your driver structures and/or
781 * reduce current DMA mapping usage,
788 - unmap pages that are already mapped, when mapping error occurs in the middle
789 of a multiple page mapping attempt. These example are applicable to
799 * reduce current DMA mapping usage,
808 * reduce current DMA mapping usage,
822 mapping error is detected in the middle)
835 * reduce current DMA mapping usage,
857 and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
861 SCSI drivers must return SCSI_MLQUEUE_HOST_BUSY if the DMA mapping
868 Therefore, keeping track of the mapping address and length is a waste
881 dma_addr_t mapping;
889 DEFINE_DMA_UNMAP_ADDR(mapping);
896 ringp->mapping = FOO;
901 dma_unmap_addr_set(ringp, mapping, FOO);
907 dma_unmap_single(dev, ringp->mapping, ringp->len,
913 dma_unmap_addr(ringp, mapping),
952 can use include/linux/asm-generic/dma-mapping-common.h. It's a