Lines Matching +full:0 +full:x3c
37 MAX98373_GLOBAL_EN_MASK, 0); in max98373_dac_event()
42 return 0; in max98373_dac_event()
44 return 0; in max98373_dac_event()
59 SOC_DAPM_SINGLE("Switch", MAX98373_R202C_PCM_TX_EN, 0, 1, 0);
62 SOC_DAPM_SINGLE("Switch", MAX98373_R2043_AMP_EN, 1, 1, 0);
66 MAX98373_R202B_PCM_RX_EN, 0, 0, max98373_dac_event,
68 SND_SOC_DAPM_MUX("DAI Sel Mux", SND_SOC_NOPM, 0, 0,
71 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0,
72 MAX98373_R2047_IV_SENSE_ADC_EN, 0, 0),
73 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0,
74 MAX98373_R2047_IV_SENSE_ADC_EN, 1, 0),
75 SND_SOC_DAPM_AIF_OUT("Speaker FB Sense", "HiFi Capture", 0,
76 SND_SOC_NOPM, 0, 0),
77 SND_SOC_DAPM_SWITCH("VI Sense", SND_SOC_NOPM, 0, 0,
79 SND_SOC_DAPM_SWITCH("SpkFB Sense", SND_SOC_NOPM, 0, 0,
88 0, 8, TLV_DB_SCALE_ITEM(0, 50, 0),
89 9, 10, TLV_DB_SCALE_ITEM(500, 100, 0),
92 0, 9, TLV_DB_SCALE_ITEM(800, 100, 0),
95 0, 1, TLV_DB_SCALE_ITEM(25, 25, 0),
96 2, 4, TLV_DB_SCALE_ITEM(100, 100, 0),
99 0, 9, TLV_DB_SCALE_ITEM(800, 100, 0),
102 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0),
103 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0),
104 5, 6, TLV_DB_SCALE_ITEM(-1500, 300, 0),
105 7, 9, TLV_DB_SCALE_ITEM(-1000, 200, 0),
106 10, 13, TLV_DB_SCALE_ITEM(-500, 100, 0),
107 14, 15, TLV_DB_SCALE_ITEM(-100, 50, 0),
110 0, 15, TLV_DB_SCALE_ITEM(-1500, 100, 0),
114 0, 60, TLV_DB_SCALE_ITEM(-1500, 25, 0),
123 MAX98373_R203E_AMP_PATH_GAIN, 0,
132 MAX98373_R20D2_DHT_ATTACK_CFG, 0,
141 MAX98373_R20D3_DHT_RELEASE_CFG, 0,
163 MAX98373_R20E1_LIMITER_ATK_REL_RATES, 0,
171 MAX98373_R2051_MEAS_ADC_SAMPLING_RATE, 0,
188 for (i = 0; i < max98373->cache_num; i++) { in max98373_feedback_get()
190 ucontrol->value.integer.value[0] = max98373->cache[i].val; in max98373_feedback_get()
191 return 0; in max98373_feedback_get()
201 MAX98373_AMP_VOL_SEL_SHIFT, 1, 0),
203 MAX98373_AMP_VOL_SEL_SHIFT, 1, 0),
205 MAX98373_AMP_DSP_CFG_RMP_UP_SHIFT, 1, 0),
207 MAX98373_AMP_DSP_CFG_RMP_DN_SHIFT, 1, 0),
210 MAX98373_OVC_AUTORESTART_SHIFT, 1, 0),
213 MAX98373_THERM_AUTORESTART_SHIFT, 1, 0),
216 MAX98373_CMON_AUTORESTART_SHIFT, 1, 0),
218 MAX98373_CLOCK_MON_SHIFT, 1, 0),
220 MAX98373_AMP_DSP_CFG_DITH_SHIFT, 1, 0),
222 MAX98373_AMP_DSP_CFG_DCBLK_SHIFT, 1, 0),
224 0, 0x7F, 1, max98373_digital_tlv),
226 MAX98373_SPK_DIGI_GAIN_SHIFT, 10, 0, max98373_spk_tlv),
228 MAX98373_FS_GAIN_MAX_SHIFT, 9, 0, max98373_spkgain_max_tlv),
232 MAX98373_DHT_EN_SHIFT, 1, 0),
234 MAX98373_DHT_SPK_GAIN_MIN_SHIFT, 9, 0, max98373_dht_spkgain_min_tlv),
238 MAX98373_DHT_ATTACK_STEP_SHIFT, 4, 0, max98373_dht_step_size_tlv),
240 MAX98373_DHT_RELEASE_STEP_SHIFT, 4, 0, max98373_dht_step_size_tlv),
244 SOC_SINGLE("ADC PVDD CH Switch", MAX98373_R2056_MEAS_ADC_PVDD_CH_EN, 0, 1, 0),
246 MAX98373_FLT_EN_SHIFT, 1, 0),
248 MAX98373_FLT_EN_SHIFT, 1, 0),
249 SOC_SINGLE_EXT("ADC PVDD", MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK, 0, 0xFF, 0,
251 SOC_SINGLE_EXT("ADC TEMP", MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK, 0, 0xFF, 0,
254 0, 0x3, 0),
256 0, 0x3, 0),
259 SOC_SINGLE("BDE Switch", MAX98373_R20B5_BDE_EN, MAX98373_BDE_EN_SHIFT, 1, 0),
261 MAX98373_LVL4_MUTE_EN_SHIFT, 1, 0),
263 MAX98373_LVL4_HOLD_EN_SHIFT, 1, 0),
264 SOC_SINGLE("BDE LVL1 Thresh", MAX98373_R2097_BDE_L1_THRESH, 0, 0xFF, 0),
265 SOC_SINGLE("BDE LVL2 Thresh", MAX98373_R2098_BDE_L2_THRESH, 0, 0xFF, 0),
266 SOC_SINGLE("BDE LVL3 Thresh", MAX98373_R2099_BDE_L3_THRESH, 0, 0xFF, 0),
267 SOC_SINGLE("BDE LVL4 Thresh", MAX98373_R209A_BDE_L4_THRESH, 0, 0xFF, 0),
268 SOC_SINGLE_EXT("BDE Active Level", MAX98373_R20B6_BDE_CUR_STATE_READBACK, 0, 8, 0,
270 SOC_SINGLE("BDE Clip Mode Switch", MAX98373_R2092_BDE_CLIPPER_MODE, 0, 1, 0),
271 SOC_SINGLE("BDE Thresh Hysteresis", MAX98373_R209B_BDE_THRESH_HYST, 0, 0xFF, 0),
272 SOC_SINGLE("BDE Hold Time", MAX98373_R2090_BDE_LVL_HOLD, 0, 0xFF, 0),
273 SOC_SINGLE("BDE Attack Rate", MAX98373_R2091_BDE_GAIN_ATK_REL_RATE, 4, 0xF, 0),
274 SOC_SINGLE("BDE Release Rate", MAX98373_R2091_BDE_GAIN_ATK_REL_RATE, 0, 0xF, 0),
276 0, 0x3C, 1, max98373_bde_gain_tlv),
278 0, 0x3C, 1, max98373_bde_gain_tlv),
280 0, 0x3C, 1, max98373_bde_gain_tlv),
282 0, 0x3C, 1, max98373_bde_gain_tlv),
284 0, 0x3C, 1, max98373_bde_gain_tlv),
286 0, 0x3C, 1, max98373_bde_gain_tlv),
288 0, 0x3C, 1, max98373_bde_gain_tlv),
290 0, 0x3C, 1, max98373_bde_gain_tlv),
292 0, 0xF, 1, max98373_limiter_thresh_tlv),
294 0, 0xF, 1, max98373_limiter_thresh_tlv),
296 0, 0xF, 1, max98373_limiter_thresh_tlv),
298 0, 0xF, 1, max98373_limiter_thresh_tlv),
301 MAX98373_LIMITER_EN_SHIFT, 1, 0),
303 MAX98373_LIMITER_THRESH_SRC_SHIFT, 1, 0),
305 MAX98373_LIMITER_THRESH_SHIFT, 15, 0, max98373_limiter_thresh_tlv),
337 count = 0; in max98373_reset()
363 0xFF); in max98373_probe()
366 0xFF); in max98373_probe()
370 0x80); in max98373_probe()
373 0x1); in max98373_probe()
377 0x3); in max98373_probe()
381 0x7); in max98373_probe()
386 max98373->v_slot) & 0xFF); in max98373_probe()
390 1 << max98373->v_slot, 0); in max98373_probe()
394 1 << (max98373->v_slot - 8), 0); in max98373_probe()
399 1 << max98373->i_slot, 0); in max98373_probe()
403 1 << (max98373->i_slot - 8), 0); in max98373_probe()
408 0xF); in max98373_probe()
413 max98373->spkfb_slot & 0xFF); in max98373_probe()
427 return 0; in max98373_probe()
448 if (ret < 0 && ret != -EACCES) in max98373_sdw_probe()
451 return 0; in max98373_sdw_probe()
473 max98373->v_slot = value & 0xF; in max98373_slot_config()
475 max98373->v_slot = 0; in max98373_slot_config()
478 max98373->i_slot = value & 0xF; in max98373_slot_config()
483 "maxim,reset-gpio", 0); in max98373_slot_config()
498 max98373->spkfb_slot = value & 0xF; in max98373_slot_config()