• Home
  • Raw
  • Download

Lines Matching full:mapping

2 Dynamic DMA mapping Guide
53 | | mapping | | by host | |
59 | | Virtual |Buffer| Mapping | |
61 | | mapping | RAM | by IOMMU
86 mapping and returns the DMA address Z. The driver then tells the device to
90 So that Linux can use the dynamic DMA mapping, it needs some help from the
105 #include <linux/dma-mapping.h>
109 everywhere you hold a DMA address returned from the DMA mapping functions.
115 be used with the DMA mapping facilities. There has been an unwritten
337 The interfaces for using this type of mapping were designed in
342 Neither type of DMA mapping has alignment restrictions that come from
368 The consistent DMA mapping interfaces, will by default return a DMA address
496 The streaming DMA mapping routines can be called from interrupt
511 * reduce current DMA mapping usage,
523 error. Doing so will ensure that the mapping code will work correctly on all
547 * reduce current DMA mapping usage,
579 into one (e.g. if DMA mapping is done with PAGE_SIZE granularity, any
652 dma_addr_t mapping;
654 mapping = dma_map_single(cp->dev, buffer, len, DMA_FROM_DEVICE);
655 if (dma_mapping_error(cp->dev, mapping)) {
657 * reduce current DMA mapping usage,
666 cp->rx_dma = mapping;
702 * for DMA_BIDIRECTIONAL mapping if
713 dynamic DMA mapping scheme - you have to always store the DMA addresses
716 supports dynamic DMA mapping in hardware) in your driver structures and/or
740 * reduce current DMA mapping usage,
747 - unmap pages that are already mapped, when mapping error occurs in the middle
748 of a multiple page mapping attempt. These example are applicable to
759 * reduce current DMA mapping usage,
768 * reduce current DMA mapping usage,
785 * mapping error is detected in the middle
799 * reduce current DMA mapping usage,
821 and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
825 SCSI drivers must return SCSI_MLQUEUE_HOST_BUSY if the DMA mapping
833 Therefore, keeping track of the mapping address and length is a waste
846 dma_addr_t mapping;
854 DEFINE_DMA_UNMAP_ADDR(mapping);
861 ringp->mapping = FOO;
866 dma_unmap_addr_set(ringp, mapping, FOO);
872 dma_unmap_single(dev, ringp->mapping, ringp->len,
878 dma_unmap_addr(ringp, mapping),