diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dmaengine.h | 15 | ||||
| -rw-r--r-- | include/linux/platform_data/dma-imx-sdma.h | 5 | ||||
| -rw-r--r-- | include/linux/platform_data/dma-imx.h | 1 | ||||
| -rw-r--r-- | include/linux/platform_data/dma-mmp_tdma.h | 8 | ||||
| -rw-r--r-- | include/linux/platform_data/dma-mv_xor.h | 6 |
5 files changed, 18 insertions, 17 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 6fd9390ccf91..c5c92d59e531 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
| @@ -257,7 +257,7 @@ struct dma_chan_percpu { | |||
| 257 | * @dev: class device for sysfs | 257 | * @dev: class device for sysfs |
| 258 | * @device_node: used to add this to the device chan list | 258 | * @device_node: used to add this to the device chan list |
| 259 | * @local: per-cpu pointer to a struct dma_chan_percpu | 259 | * @local: per-cpu pointer to a struct dma_chan_percpu |
| 260 | * @client-count: how many clients are using this channel | 260 | * @client_count: how many clients are using this channel |
| 261 | * @table_count: number of appearances in the mem-to-mem allocation table | 261 | * @table_count: number of appearances in the mem-to-mem allocation table |
| 262 | * @private: private data for certain client-channel associations | 262 | * @private: private data for certain client-channel associations |
| 263 | */ | 263 | */ |
| @@ -279,10 +279,10 @@ struct dma_chan { | |||
| 279 | 279 | ||
| 280 | /** | 280 | /** |
| 281 | * struct dma_chan_dev - relate sysfs device node to backing channel device | 281 | * struct dma_chan_dev - relate sysfs device node to backing channel device |
| 282 | * @chan - driver channel device | 282 | * @chan: driver channel device |
| 283 | * @device - sysfs device | 283 | * @device: sysfs device |
| 284 | * @dev_id - parent dma_device dev_id | 284 | * @dev_id: parent dma_device dev_id |
| 285 | * @idr_ref - reference count to gate release of dma_device dev_id | 285 | * @idr_ref: reference count to gate release of dma_device dev_id |
| 286 | */ | 286 | */ |
| 287 | struct dma_chan_dev { | 287 | struct dma_chan_dev { |
| 288 | struct dma_chan *chan; | 288 | struct dma_chan *chan; |
| @@ -306,9 +306,8 @@ enum dma_slave_buswidth { | |||
| 306 | /** | 306 | /** |
| 307 | * struct dma_slave_config - dma slave channel runtime config | 307 | * struct dma_slave_config - dma slave channel runtime config |
| 308 | * @direction: whether the data shall go in or out on this slave | 308 | * @direction: whether the data shall go in or out on this slave |
| 309 | * channel, right now. DMA_TO_DEVICE and DMA_FROM_DEVICE are | 309 | * channel, right now. DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are |
| 310 | * legal values, DMA_BIDIRECTIONAL is not acceptable since we | 310 | * legal values. |
| 311 | * need to differentiate source and target addresses. | ||
| 312 | * @src_addr: this is the physical address where DMA slave data | 311 | * @src_addr: this is the physical address where DMA slave data |
| 313 | * should be read (RX), if the source is memory this argument is | 312 | * should be read (RX), if the source is memory this argument is |
| 314 | * ignored. | 313 | * ignored. |
diff --git a/include/linux/platform_data/dma-imx-sdma.h b/include/linux/platform_data/dma-imx-sdma.h index 3a3942823c20..eabac4e2fc99 100644 --- a/include/linux/platform_data/dma-imx-sdma.h +++ b/include/linux/platform_data/dma-imx-sdma.h | |||
| @@ -43,6 +43,11 @@ struct sdma_script_start_addrs { | |||
| 43 | s32 dptc_dvfs_addr; | 43 | s32 dptc_dvfs_addr; |
| 44 | s32 utra_addr; | 44 | s32 utra_addr; |
| 45 | s32 ram_code_start_addr; | 45 | s32 ram_code_start_addr; |
| 46 | /* End of v1 array */ | ||
| 47 | s32 mcu_2_ssish_addr; | ||
| 48 | s32 ssish_2_mcu_addr; | ||
| 49 | s32 hdmi_dma_addr; | ||
| 50 | /* End of v2 array */ | ||
| 46 | }; | 51 | }; |
| 47 | 52 | ||
| 48 | /** | 53 | /** |
diff --git a/include/linux/platform_data/dma-imx.h b/include/linux/platform_data/dma-imx.h index beac6b8b6a7b..bcbc6c3c14c0 100644 --- a/include/linux/platform_data/dma-imx.h +++ b/include/linux/platform_data/dma-imx.h | |||
| @@ -39,6 +39,7 @@ enum sdma_peripheral_type { | |||
| 39 | IMX_DMATYPE_IPU_MEMORY, /* IPU Memory */ | 39 | IMX_DMATYPE_IPU_MEMORY, /* IPU Memory */ |
| 40 | IMX_DMATYPE_ASRC, /* ASRC */ | 40 | IMX_DMATYPE_ASRC, /* ASRC */ |
| 41 | IMX_DMATYPE_ESAI, /* ESAI */ | 41 | IMX_DMATYPE_ESAI, /* ESAI */ |
| 42 | IMX_DMATYPE_SSI_DUAL, /* SSI Dual FIFO */ | ||
| 42 | }; | 43 | }; |
| 43 | 44 | ||
| 44 | enum imx_dma_prio { | 45 | enum imx_dma_prio { |
diff --git a/include/linux/platform_data/dma-mmp_tdma.h b/include/linux/platform_data/dma-mmp_tdma.h index 239e0fc1bb1f..66574ea39f97 100644 --- a/include/linux/platform_data/dma-mmp_tdma.h +++ b/include/linux/platform_data/dma-mmp_tdma.h | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * linux/arch/arm/mach-mmp/include/mach/sram.h | ||
| 3 | * | ||
| 4 | * SRAM Memory Management | 2 | * SRAM Memory Management |
| 5 | * | 3 | * |
| 6 | * Copyright (c) 2011 Marvell Semiconductors Inc. | 4 | * Copyright (c) 2011 Marvell Semiconductors Inc. |
| @@ -11,8 +9,8 @@ | |||
| 11 | * | 9 | * |
| 12 | */ | 10 | */ |
| 13 | 11 | ||
| 14 | #ifndef __ASM_ARCH_SRAM_H | 12 | #ifndef __DMA_MMP_TDMA_H |
| 15 | #define __ASM_ARCH_SRAM_H | 13 | #define __DMA_MMP_TDMA_H |
| 16 | 14 | ||
| 17 | #include <linux/genalloc.h> | 15 | #include <linux/genalloc.h> |
| 18 | 16 | ||
| @@ -32,4 +30,4 @@ struct sram_platdata { | |||
| 32 | 30 | ||
| 33 | extern struct gen_pool *sram_get_gpool(char *pool_name); | 31 | extern struct gen_pool *sram_get_gpool(char *pool_name); |
| 34 | 32 | ||
| 35 | #endif /* __ASM_ARCH_SRAM_H */ | 33 | #endif /* __DMA_MMP_TDMA_H */ |
diff --git a/include/linux/platform_data/dma-mv_xor.h b/include/linux/platform_data/dma-mv_xor.h index 8ec18f64e396..92ffd3245f76 100644 --- a/include/linux/platform_data/dma-mv_xor.h +++ b/include/linux/platform_data/dma-mv_xor.h | |||
| @@ -1,11 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * arch/arm/plat-orion/include/plat/mv_xor.h | ||
| 3 | * | ||
| 4 | * Marvell XOR platform device data definition file. | 2 | * Marvell XOR platform device data definition file. |
| 5 | */ | 3 | */ |
| 6 | 4 | ||
| 7 | #ifndef __PLAT_MV_XOR_H | 5 | #ifndef __DMA_MV_XOR_H |
| 8 | #define __PLAT_MV_XOR_H | 6 | #define __DMA_MV_XOR_H |
| 9 | 7 | ||
| 10 | #include <linux/dmaengine.h> | 8 | #include <linux/dmaengine.h> |
| 11 | #include <linux/mbus.h> | 9 | #include <linux/mbus.h> |
