diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-08 14:31:16 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-08 14:31:16 -0400 |
| commit | 3f17ea6dea8ba5668873afa54628a91aaa3fb1c0 (patch) | |
| tree | afbeb2accd4c2199ddd705ae943995b143a0af02 /include/linux/platform_data/edma.h | |
| parent | 1860e379875dfe7271c649058aeddffe5afd9d0d (diff) | |
| parent | 1a5700bc2d10cd379a795fd2bb377a190af5acd4 (diff) | |
Merge branch 'next' (accumulated 3.16 merge window patches) into master
Now that 3.15 is released, this merges the 'next' branch into 'master',
bringing us to the normal situation where my 'master' branch is the
merge window.
* accumulated work in next: (6809 commits)
ufs: sb mutex merge + mutex_destroy
powerpc: update comments for generic idle conversion
cris: update comments for generic idle conversion
idle: remove cpu_idle() forward declarations
nbd: zero from and len fields in NBD_CMD_DISCONNECT.
mm: convert some level-less printks to pr_*
MAINTAINERS: adi-buildroot-devel is moderated
MAINTAINERS: add linux-api for review of API/ABI changes
mm/kmemleak-test.c: use pr_fmt for logging
fs/dlm/debug_fs.c: replace seq_printf by seq_puts
fs/dlm/lockspace.c: convert simple_str to kstr
fs/dlm/config.c: convert simple_str to kstr
mm: mark remap_file_pages() syscall as deprecated
mm: memcontrol: remove unnecessary memcg argument from soft limit functions
mm: memcontrol: clean up memcg zoneinfo lookup
mm/memblock.c: call kmemleak directly from memblock_(alloc|free)
mm/mempool.c: update the kmemleak stack trace for mempool allocations
lib/radix-tree.c: update the kmemleak stack trace for radix tree allocations
mm: introduce kmemleak_update_trace()
mm/kmemleak.c: use %u to print ->checksum
...
Diffstat (limited to 'include/linux/platform_data/edma.h')
| -rw-r--r-- | include/linux/platform_data/edma.h | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/include/linux/platform_data/edma.h b/include/linux/platform_data/edma.h index f50821cb64be..eb8d5627d080 100644 --- a/include/linux/platform_data/edma.h +++ b/include/linux/platform_data/edma.h | |||
| @@ -43,15 +43,15 @@ | |||
| 43 | 43 | ||
| 44 | /* PaRAM slots are laid out like this */ | 44 | /* PaRAM slots are laid out like this */ |
| 45 | struct edmacc_param { | 45 | struct edmacc_param { |
| 46 | unsigned int opt; | 46 | u32 opt; |
| 47 | unsigned int src; | 47 | u32 src; |
| 48 | unsigned int a_b_cnt; | 48 | u32 a_b_cnt; |
| 49 | unsigned int dst; | 49 | u32 dst; |
| 50 | unsigned int src_dst_bidx; | 50 | u32 src_dst_bidx; |
| 51 | unsigned int link_bcntrld; | 51 | u32 link_bcntrld; |
| 52 | unsigned int src_dst_cidx; | 52 | u32 src_dst_cidx; |
| 53 | unsigned int ccnt; | 53 | u32 ccnt; |
| 54 | }; | 54 | } __packed; |
| 55 | 55 | ||
| 56 | /* fields in edmacc_param.opt */ | 56 | /* fields in edmacc_param.opt */ |
| 57 | #define SAM BIT(0) | 57 | #define SAM BIT(0) |
| @@ -130,7 +130,7 @@ void edma_set_src(unsigned slot, dma_addr_t src_port, | |||
| 130 | enum address_mode mode, enum fifo_width); | 130 | enum address_mode mode, enum fifo_width); |
| 131 | void edma_set_dest(unsigned slot, dma_addr_t dest_port, | 131 | void edma_set_dest(unsigned slot, dma_addr_t dest_port, |
| 132 | enum address_mode mode, enum fifo_width); | 132 | enum address_mode mode, enum fifo_width); |
| 133 | void edma_get_position(unsigned slot, dma_addr_t *src, dma_addr_t *dst); | 133 | dma_addr_t edma_get_position(unsigned slot, bool dst); |
| 134 | void edma_set_src_index(unsigned slot, s16 src_bidx, s16 src_cidx); | 134 | void edma_set_src_index(unsigned slot, s16 src_bidx, s16 src_cidx); |
| 135 | void edma_set_dest_index(unsigned slot, s16 dest_bidx, s16 dest_cidx); | 135 | void edma_set_dest_index(unsigned slot, s16 dest_bidx, s16 dest_cidx); |
| 136 | void edma_set_transfer_params(unsigned slot, u16 acnt, u16 bcnt, u16 ccnt, | 136 | void edma_set_transfer_params(unsigned slot, u16 acnt, u16 bcnt, u16 ccnt, |
| @@ -158,13 +158,6 @@ struct edma_rsv_info { | |||
| 158 | 158 | ||
| 159 | /* platform_data for EDMA driver */ | 159 | /* platform_data for EDMA driver */ |
| 160 | struct edma_soc_info { | 160 | struct edma_soc_info { |
| 161 | |||
| 162 | /* how many dma resources of each type */ | ||
| 163 | unsigned n_channel; | ||
| 164 | unsigned n_region; | ||
| 165 | unsigned n_slot; | ||
| 166 | unsigned n_tc; | ||
| 167 | unsigned n_cc; | ||
| 168 | /* | 161 | /* |
| 169 | * Default queue is expected to be a low-priority queue. | 162 | * Default queue is expected to be a low-priority queue. |
| 170 | * This way, long transfers on the default queue started | 163 | * This way, long transfers on the default queue started |
| @@ -175,7 +168,6 @@ struct edma_soc_info { | |||
| 175 | /* Resource reservation for other cores */ | 168 | /* Resource reservation for other cores */ |
| 176 | struct edma_rsv_info *rsv; | 169 | struct edma_rsv_info *rsv; |
| 177 | 170 | ||
| 178 | s8 (*queue_tc_mapping)[2]; | ||
| 179 | s8 (*queue_priority_mapping)[2]; | 171 | s8 (*queue_priority_mapping)[2]; |
| 180 | const s16 (*xbar_chans)[2]; | 172 | const s16 (*xbar_chans)[2]; |
| 181 | }; | 173 | }; |
