diff options
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r-- | include/linux/dmaengine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index d18d37d1015d..b466f02e2433 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -182,6 +182,7 @@ struct dma_chan_percpu { | |||
182 | * @device_node: used to add this to the device chan list | 182 | * @device_node: used to add this to the device chan list |
183 | * @local: per-cpu pointer to a struct dma_chan_percpu | 183 | * @local: per-cpu pointer to a struct dma_chan_percpu |
184 | * @client-count: how many clients are using this channel | 184 | * @client-count: how many clients are using this channel |
185 | * @table_count: number of appearances in the mem-to-mem allocation table | ||
185 | */ | 186 | */ |
186 | struct dma_chan { | 187 | struct dma_chan { |
187 | struct dma_device *device; | 188 | struct dma_device *device; |
@@ -198,6 +199,7 @@ struct dma_chan { | |||
198 | struct list_head device_node; | 199 | struct list_head device_node; |
199 | struct dma_chan_percpu *local; | 200 | struct dma_chan_percpu *local; |
200 | int client_count; | 201 | int client_count; |
202 | int table_count; | ||
201 | }; | 203 | }; |
202 | 204 | ||
203 | #define to_dma_chan(p) container_of(p, struct dma_chan, dev) | 205 | #define to_dma_chan(p) container_of(p, struct dma_chan, dev) |
@@ -468,6 +470,7 @@ static inline enum dma_status dma_wait_for_async_tx(struct dma_async_tx_descript | |||
468 | int dma_async_device_register(struct dma_device *device); | 470 | int dma_async_device_register(struct dma_device *device); |
469 | void dma_async_device_unregister(struct dma_device *device); | 471 | void dma_async_device_unregister(struct dma_device *device); |
470 | void dma_run_dependencies(struct dma_async_tx_descriptor *tx); | 472 | void dma_run_dependencies(struct dma_async_tx_descriptor *tx); |
473 | struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type); | ||
471 | 474 | ||
472 | /* --- Helper iov-locking functions --- */ | 475 | /* --- Helper iov-locking functions --- */ |
473 | 476 | ||