Lines Matching full:api

7 This document describes the DMA API.  For a more gentle introduction
8 of the API (and actual examples), see Documentation/core-api/dma-api-howto.rst.
10 This API is split into two pieces. Part I describes the basic API.
14 should only use the API described in part I.
16 Part I - DMA API
19 To get the DMA API, you must #include <linux/dma-mapping.h>. This
77 To get this part of the DMA API, you must #include <linux/dmapool.h>
135 This API returns the mask that the platform requires to
216 The DMA API uses a strongly typed enumerator for its direction:
228 physical memory. Since this API does not provide any scatter/gather
231 this API should be obtained from sources which guarantee it to be
237 line width. In order for memory mapped by this API to operate
241 may not be known at compile time, the API will not enforce this
288 API for mapping and unmapping for pages. All the notes and warnings
304 API for mapping and unmapping for MMIO resources. All the notes and
305 warnings for the other mapping APIs apply here. The API should only be
367 API.
395 and device. With the sync_sg API, all the parameters must be the same
396 as those passed into the sg mapping API. With the sync_single API,
398 those passed into the single mapping API to do a partial sync.
442 Documentation/core-api/dma-attributes.rst.
455 * documented in Documentation/core-api/dma-attributes.rst */
492 false this API can't be used for the given device and the normal streaming
493 DMA mapping API should be used. The ``struct dma_iova_state`` is allocated
500 Can be used by the driver to check if the IOVA-based API is used after a
558 an I/O device, you should not be using this part of the API.
717 This API may return a number *larger* than the actual cache
723 Part III - Debug drivers use of the DMA API
726 The DMA API as described above has some constraints. DMA addresses must be
732 To debug drivers and find bugs in the usage of the DMA API checking code can
735 debugging of DMA API usage" option in your kernel configuration. Enabling this
746 forcedeth 0000:00:08.0: DMA-API: device driver frees DMA memory with wrong
774 of the DMA API call which caused this warning.
782 The debugfs directory for the DMA API debugging code is called dma-api/. In
786 dma-api/all_errors This file contains a numeric value. If this
792 dma-api/disabled This read-only file contains the character 'Y'
797 dma-api/dump This read-only file contains current DMA
800 dma-api/error_count This file is read-only and shows the total
803 dma-api/num_errors The number in this file shows how many
809 dma-api/min_free_entries This read-only file can be read to get the
815 dma-api/num_free_entries The current number of free dma_debug_entries
818 dma-api/nr_total_entries The total number of dma_debug_entries in the
821 dma-api/driver_filter You can write a name of a driver into this file
830 'dma_debug=off' as a boot parameter. This will disable DMA API debugging.