Lines Matching +full:in +full:- +full:masks

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
25 unsigned byteswap; /* Data is little-endian if 1 */
29 /* Audio Bit Masks */
32 /* Audio Control Reg Bit Masks */
33 /* ----- ------- --- --- ----- */
43 /* Audio Codec Control Reg Bit Masks */
44 /* ----- ----- ------- --- --- ----- */
47 #define MASK_EXMODEADDR (0x3ff << 12) /* Extended Mode Address -- 10 bits */
48 #define MASK_EXMODEDATA (0xfff) /* Extended Mode Data -- 12 bits */
50 /* Audio Codec Control Address Values / Masks */
51 /* ----- ----- ------- ------- ------ - ----- */
61 #define MASK_ADDR_VOLA MASK_ADDR2 /* Volume Control A -- Headphones */
65 #define MASK_ADDR_VOLC MASK_ADDR4 /* Volume Control C -- Speaker */
73 /* Address 0 Bit Masks & Macros */
74 /* ------- - --- ----- - ------ */
79 #define MASK_MUX_CD (0x1 << 9) /* Select CD in MUX */
80 #define MASK_MUX_MIC (0x1 << 10) /* Select Mic in MUX */
81 #define MASK_MUX_AUDIN (0x1 << 11) /* Select Audio In in MUX */
91 /* Address 1 Bit Masks */
92 /* ------- - --- ----- */
121 /* Address 2 & 4 Bit Masks & Macros */
122 /* ------- - - - --- ----- - ------ */
137 /* Audio Codec Status Reg Bit Masks */
138 /* ----- ----- ------ --- --- ----- */
146 #define MASK_CODSTATRES (0xf << 4) /* bits 4 - 7 reserved */
148 #define MASK_HDPCONN 8 /* headphone plugged in */
149 #define MASK_LOCONN 4 /* line-out plugged in */
150 #define MASK_LICONN 2 /* line-in plugged in */
151 #define MASK_MICCONN 1 /* microphone plugged in */
152 #define MASK_LICONN_IMAC 8 /* line-in plugged in */
153 #define MASK_HDPRCONN_IMAC 4 /* headphone right plugged in */
154 #define MASK_HDPLCONN_IMAC 2 /* headphone left plugged in */
155 #define MASK_LOCONN_IMAC 1 /* line-out plugged in */
157 /* Clipping Count Reg Bit Masks */
158 /* -------- ----- --- --- ----- */
162 /* DBDMA ChannelStatus Bit Masks */
163 /* ----- ------------- --- ----- */
165 #define MASK_EOI (0x1 << 6) /* End of Input --
167 #define MASK_CSUNUSED (0x1f << 1) /* bits 1-5 not used */
171 /* ------- ----- */