diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2011-06-21 04:59:05 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-21 04:59:05 -0400 |
| commit | f448e9c9dad6fb919ec74cd1b2c189efe952886f (patch) | |
| tree | ebc7eafdef4ed53eec1679f6607ef825c08bf201 /include/linux | |
| parent | 9dd056e9eba106ef622795b566f769a9ab0a49a8 (diff) | |
| parent | 260bf2c5f69f419b04b6861ca91565b5fb16ce48 (diff) | |
Merge branch 'common/dma' into sh-latest
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sh_dma.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sh_dma.h b/include/linux/sh_dma.h index b08cd4efa15c..cb2dd118cc0f 100644 --- a/include/linux/sh_dma.h +++ b/include/linux/sh_dma.h | |||
| @@ -62,6 +62,12 @@ struct sh_dmae_pdata { | |||
| 62 | const unsigned int *ts_shift; | 62 | const unsigned int *ts_shift; |
| 63 | int ts_shift_num; | 63 | int ts_shift_num; |
| 64 | u16 dmaor_init; | 64 | u16 dmaor_init; |
| 65 | unsigned int chcr_offset; | ||
| 66 | u32 chcr_ie_bit; | ||
| 67 | |||
| 68 | unsigned int dmaor_is_32bit:1; | ||
| 69 | unsigned int needs_tend_set:1; | ||
| 70 | unsigned int no_dmars:1; | ||
| 65 | }; | 71 | }; |
| 66 | 72 | ||
| 67 | /* DMA register */ | 73 | /* DMA register */ |
| @@ -71,6 +77,8 @@ struct sh_dmae_pdata { | |||
| 71 | #define CHCR 0x0C | 77 | #define CHCR 0x0C |
| 72 | #define DMAOR 0x40 | 78 | #define DMAOR 0x40 |
| 73 | 79 | ||
| 80 | #define TEND 0x18 /* USB-DMAC */ | ||
| 81 | |||
| 74 | /* DMAOR definitions */ | 82 | /* DMAOR definitions */ |
| 75 | #define DMAOR_AE 0x00000004 | 83 | #define DMAOR_AE 0x00000004 |
| 76 | #define DMAOR_NMIF 0x00000002 | 84 | #define DMAOR_NMIF 0x00000002 |
