Lines Matching +full:i2s +full:- +full:rx
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ALSA I2S interface for the Loongson platform
15 /* I2S Common Registers */
16 #define LS_I2S_VER 0x00 /* I2S Version */
17 #define LS_I2S_CFG 0x04 /* I2S Config */
18 #define LS_I2S_CTRL 0x08 /* I2S Control */
19 #define LS_I2S_RX_DATA 0x0C /* I2S DMA RX Address */
20 #define LS_I2S_TX_DATA 0x10 /* I2S DMA TX Address */
22 /* 2K2000 I2S Specify Registers */
23 #define LS_I2S_CFG1 0x14 /* I2S Config1 */
25 /* 7A2000 I2S Specify Registers */
27 #define LS_I2S_RX_ORDER 0x110 /* RX DMA Order */
29 /* Loongson I2S Control Register */
33 #define I2S_CTRL_RX_EN BIT(13) /* RX enable */
35 #define I2S_CTRL_RX_DMA_EN BIT(11) /* DMA RX enable */
40 #define I2S_CTRL_RX_INT_EN BIT(1) /* RX interrupt enable */
43 #define LS_I2S_DRVNAME "loongson-i2s"