Lines Matching +full:out +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 /* ----- ----- ------- --- --- ----- */
46 #define MASK_EMODESEL (0x3 << 22) /* Send info out on which frame? */
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 /* ------- - --- ----- - ------ */
91 /* Address 1 Bit Masks */
92 /* ------- - --- ----- */
105 #define MASK_PAROUT (0x3 << 10) /* Parallel Out (???) */
106 #define MASK_PAROUT0 (0x1 << 10) /* Parallel Out (???) */
107 #define MASK_PAROUT1 (0x1 << 11) /* Parallel Out (enable speaker) */
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 */
149 #define MASK_LOCONN 4 /* line-out plugged in */
150 #define MASK_LICONN 2 /* line-in plugged in */
152 #define MASK_LICONN_IMAC 8 /* line-in 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 /* ------- ----- */