Lines Matching +full:controller +full:- +full:dependent
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Definitions for using the Apple Descriptor-Based DMA controller
13 * DBDMA control/status registers. All little-endian.
43 * DBDMA command structure. These fields are all little-endian!
47 __le16 command; /* command word (has bit-fields) */
49 __le32 cmd_dep; /* command-dependent field */
67 #define KEY_STREAM2 0x200 /* device-dependent stream */
68 #define KEY_STREAM3 0x300 /* device-dependent stream */
70 #define KEY_SYSTEM 0x600 /* system memory-mapped space */
71 #define KEY_DEVICE 0x700 /* device memory-mapped space */
92 #define DBDMA_ALIGN(x) (((unsigned long)(x) + sizeof(struct dbdma_cmd) - 1) \
93 & -sizeof(struct dbdma_cmd))
97 out_le32(&((regs)->control), (RUN|FLUSH)<<16); \
98 while(in_le32(&((regs)->status)) & (ACTIVE|FLUSH)) \
103 out_le32(&((regs)->control), (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16);\
104 while(in_le32(&((regs)->status)) & (RUN)) \