mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
dmaengine: shdma: add .needs_tend_set / .no_dmars flags
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
e76c3af873
commit
260bf2c5f6
2 changed files with 10 additions and 0 deletions
|
@ -66,6 +66,8 @@ struct sh_dmae_pdata {
|
|||
u32 chcr_ie_bit;
|
||||
|
||||
unsigned int dmaor_is_32bit:1;
|
||||
unsigned int needs_tend_set:1;
|
||||
unsigned int no_dmars:1;
|
||||
};
|
||||
|
||||
/* DMA register */
|
||||
|
@ -75,6 +77,8 @@ struct sh_dmae_pdata {
|
|||
#define CHCR 0x0C
|
||||
#define DMAOR 0x40
|
||||
|
||||
#define TEND 0x18 /* USB-DMAC */
|
||||
|
||||
/* DMAOR definitions */
|
||||
#define DMAOR_AE 0x00000004
|
||||
#define DMAOR_NMIF 0x00000002
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue