|
Linux Kernel
3.7.1
|
#include <shdma-base.h>
Data Fields | |
| bool(* | desc_completed )(struct shdma_chan *, struct shdma_desc *) |
| void(* | halt_channel )(struct shdma_chan *) |
| bool(* | channel_busy )(struct shdma_chan *) |
| dma_addr_t(* | slave_addr )(struct shdma_chan *) |
| int(* | desc_setup )(struct shdma_chan *, struct shdma_desc *, dma_addr_t, dma_addr_t, size_t *) |
| int(* | set_slave )(struct shdma_chan *, int, bool) |
| void(* | setup_xfer )(struct shdma_chan *, int) |
| void(* | start_xfer )(struct shdma_chan *, struct shdma_desc *) |
| struct shdma_desc *(* | embedded_desc )(void *, int) |
| bool(* | chan_irq )(struct shdma_chan *, int) |
| size_t(* | get_partial )(struct shdma_chan *, struct shdma_desc *) |
struct shdma_ops - simple DMA driver operations desc_completed: return true, if this is the descriptor, that just has completed (atomic) halt_channel: stop DMA channel operation (atomic) channel_busy: return true, if the channel is busy (atomic) slave_addr: return slave DMA address desc_setup: set up the hardware specific descriptor portion (atomic) set_slave: bind channel to a slave setup_xfer: configure channel hardware for operation (atomic) start_xfer: start the DMA transfer (atomic) embedded_desc: return Nth struct shdma_desc pointer from the descriptor array chan_irq: process channel IRQ, return true if a transfer has completed (atomic)
Definition at line 90 of file shdma-base.h.
| bool(* chan_irq)(struct shdma_chan *, int) |
Definition at line 101 of file shdma-base.h.
| bool(* channel_busy)(struct shdma_chan *) |
Definition at line 93 of file shdma-base.h.
| bool(* desc_completed)(struct shdma_chan *, struct shdma_desc *) |
Definition at line 91 of file shdma-base.h.
| int(* desc_setup)(struct shdma_chan *, struct shdma_desc *, dma_addr_t, dma_addr_t, size_t *) |
Definition at line 95 of file shdma-base.h.
|
read |
Definition at line 100 of file shdma-base.h.
| size_t(* get_partial)(struct shdma_chan *, struct shdma_desc *) |
Definition at line 102 of file shdma-base.h.
| void(* halt_channel)(struct shdma_chan *) |
Definition at line 92 of file shdma-base.h.
| int(* set_slave)(struct shdma_chan *, int, bool) |
Definition at line 97 of file shdma-base.h.
| void(* setup_xfer)(struct shdma_chan *, int) |
Definition at line 98 of file shdma-base.h.
| dma_addr_t(* slave_addr)(struct shdma_chan *) |
Definition at line 94 of file shdma-base.h.
| void(* start_xfer)(struct shdma_chan *, struct shdma_desc *) |
Definition at line 99 of file shdma-base.h.
1.8.2