~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sh/include/asm/dma-register.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0
  2  *
  3  * Common header for the legacy SH DMA driver and the new dmaengine driver
  4  *
  5  * extracted from arch/sh/include/asm/dma-sh.h:
  6  *
  7  * Copyright (C) 2000  Takashi YOSHII
  8  * Copyright (C) 2003  Paul Mundt
  9  */
 10 #ifndef DMA_REGISTER_H
 11 #define DMA_REGISTER_H
 12 
 13 /* DMA registers */
 14 #define SAR     0x00    /* Source Address Register */
 15 #define DAR     0x04    /* Destination Address Register */
 16 #define TCR     0x08    /* Transfer Count Register */
 17 #define CHCR    0x0C    /* Channel Control Register */
 18 #define DMAOR   0x40    /* DMA Operation Register */
 19 
 20 /* DMAOR definitions */
 21 #define DMAOR_AE        0x00000004      /* Address Error Flag */
 22 #define DMAOR_NMIF      0x00000002
 23 #define DMAOR_DME       0x00000001      /* DMA Master Enable */
 24 
 25 /* Definitions for the SuperH DMAC */
 26 #define REQ_L   0x00000000
 27 #define REQ_E   0x00080000
 28 #define RACK_H  0x00000000
 29 #define RACK_L  0x00040000
 30 #define ACK_R   0x00000000
 31 #define ACK_W   0x00020000
 32 #define ACK_H   0x00000000
 33 #define ACK_L   0x00010000
 34 #define DM_INC  0x00004000      /* Destination addresses are incremented */
 35 #define DM_DEC  0x00008000      /* Destination addresses are decremented */
 36 #define DM_FIX  0x0000c000      /* Destination address is fixed */
 37 #define SM_INC  0x00001000      /* Source addresses are incremented */
 38 #define SM_DEC  0x00002000      /* Source addresses are decremented */
 39 #define SM_FIX  0x00003000      /* Source address is fixed */
 40 #define RS_IN   0x00000200
 41 #define RS_OUT  0x00000300
 42 #define RS_AUTO 0x00000400      /* Auto Request */
 43 #define RS_ERS  0x00000800      /* DMA extended resource selector */
 44 #define TS_BLK  0x00000040
 45 #define TM_BUR  0x00000020
 46 #define CHCR_DE 0x00000001      /* DMA Enable */
 47 #define CHCR_TE 0x00000002      /* Transfer End Flag */
 48 #define CHCR_IE 0x00000004      /* Interrupt Enable */
 49 
 50 #endif
 51 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php