Lines Matching +full:6 +full:- +full:bit
1 // SPDX-License-Identifier: GPL-2.0
3 * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier
5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
57 #define TAS6424_RESET BIT(7)
60 #define TAS6424_SAP_RATE_MASK GENMASK(7, 6)
61 #define TAS6424_SAP_RATE_44100 (0x00 << 6)
62 #define TAS6424_SAP_RATE_48000 (0x01 << 6)
63 #define TAS6424_SAP_RATE_96000 (0x02 << 6)
64 #define TAS6424_SAP_TDM_SLOT_LAST BIT(5)
65 #define TAS6424_SAP_TDM_SLOT_SZ_16 BIT(4)
66 #define TAS6424_SAP_TDM_SLOT_SWAP BIT(3)
77 #define TAS6424_CH1_STATE_MASK GENMASK(7, 6)
78 #define TAS6424_CH1_STATE_PLAY (0x00 << 6)
79 #define TAS6424_CH1_STATE_HIZ (0x01 << 6)
80 #define TAS6424_CH1_STATE_MUTE (0x02 << 6)
81 #define TAS6424_CH1_STATE_DIAG (0x03 << 6)
116 #define TAS6424_LDGBYPASS_MASK BIT(TAS6424_LDGBYPASS_SHIFT)
119 #define TAS6424_FAULT_OC_CH1 BIT(7)
120 #define TAS6424_FAULT_OC_CH2 BIT(6)
121 #define TAS6424_FAULT_OC_CH3 BIT(5)
122 #define TAS6424_FAULT_OC_CH4 BIT(4)
123 #define TAS6424_FAULT_DC_CH1 BIT(3)
124 #define TAS6424_FAULT_DC_CH2 BIT(2)
125 #define TAS6424_FAULT_DC_CH3 BIT(1)
126 #define TAS6424_FAULT_DC_CH4 BIT(0)
129 #define TAS6424_FAULT_CLOCK BIT(4)
130 #define TAS6424_FAULT_PVDD_OV BIT(3)
131 #define TAS6424_FAULT_VBAT_OV BIT(2)
132 #define TAS6424_FAULT_PVDD_UV BIT(1)
133 #define TAS6424_FAULT_VBAT_UV BIT(0)
136 #define TAS6424_FAULT_OTSD BIT(4)
137 #define TAS6424_FAULT_OTSD_CH1 BIT(3)
138 #define TAS6424_FAULT_OTSD_CH2 BIT(2)
139 #define TAS6424_FAULT_OTSD_CH3 BIT(1)
140 #define TAS6424_FAULT_OTSD_CH4 BIT(0)
143 #define TAS6424_WARN_VDD_UV BIT(6)
144 #define TAS6424_WARN_VDD_POR BIT(5)
145 #define TAS6424_WARN_VDD_OTW BIT(4)
146 #define TAS6424_WARN_VDD_OTW_CH1 BIT(3)
147 #define TAS6424_WARN_VDD_OTW_CH2 BIT(2)
148 #define TAS6424_WARN_VDD_OTW_CH3 BIT(1)
149 #define TAS6424_WARN_VDD_OTW_CH4 BIT(0)
152 #define TAS6424_CLEAR_FAULT BIT(7)
153 #define TAS6424_PBTL_CH_SEL BIT(6)
154 #define TAS6424_MASK_CBC_WARN BIT(5)
155 #define TAS6424_MASK_VDD_UV BIT(4)
156 #define TAS6424_OTSD_AUTO_RECOVERY BIT(3)