Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/proc_fs.h>
#include <linux/list.h>
#include <linux/platform_device.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <asm/dma.h>
Go to the source code of this file.
DEFINE_SPINLOCK | ( | dma_spin_lock | ) |
EXPORT_SYMBOL | ( | get_dma_info | ) |
EXPORT_SYMBOL | ( | get_dma_info_by_name | ) |
EXPORT_SYMBOL | ( | get_dma_channel | ) |
EXPORT_SYMBOL | ( | get_dma_residue | ) |
EXPORT_SYMBOL | ( | request_dma_bycap | ) |
EXPORT_SYMBOL | ( | request_dma | ) |
EXPORT_SYMBOL | ( | free_dma | ) |
EXPORT_SYMBOL | ( | dma_wait_for_completion | ) |
EXPORT_SYMBOL | ( | register_chan_caps | ) |
EXPORT_SYMBOL | ( | dma_configure_channel | ) |
EXPORT_SYMBOL | ( | dma_xfer | ) |
EXPORT_SYMBOL | ( | dma_extend | ) |
EXPORT_SYMBOL | ( | register_dmac | ) |
EXPORT_SYMBOL | ( | unregister_dmac | ) |
|
read |
MODULE_AUTHOR | ( | "Paul Mundt <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "DMA API for SuperH" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
request_dma_bycap - Allocate a DMA channel based on its capabilities : List of DMA controllers to search : List of capabilities
Search all channels of all DMA controllers to find a channel which matches the requested capabilities. The result is the channel number if a match is found, or %-ENODEV if no match is found.
Note that not all DMA controllers export capabilities, in which case they can never be allocated using this API, and so request_dma() must be used specifying the channel number.
subsys_initcall | ( | dma_api_init | ) |