Lines Matching refs:reg_val
454 static int da9055_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) in da9055_get_alc_data() argument
463 snd_soc_write(codec, DA9055_ALC_CIC_OP_LVL_CTRL, reg_val); in da9055_get_alc_data()
467 reg_val | DA9055_ALC_DATA_MIDDLE); in da9055_get_alc_data()
472 reg_val | DA9055_ALC_DATA_TOP); in da9055_get_alc_data()
485 u8 reg_val, adc_left, adc_right, mic_left, mic_right; in da9055_put_alc_sw() local
526 reg_val = (offset_l & DA9055_ALC_OFFSET_15_8) >> 8; in da9055_put_alc_sw()
527 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2M_L, reg_val); in da9055_put_alc_sw()
528 reg_val = (offset_l & DA9055_ALC_OFFSET_17_16) >> 16; in da9055_put_alc_sw()
529 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2U_L, reg_val); in da9055_put_alc_sw()
531 reg_val = (offset_r & DA9055_ALC_OFFSET_15_8) >> 8; in da9055_put_alc_sw()
532 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2M_R, reg_val); in da9055_put_alc_sw()
533 reg_val = (offset_r & DA9055_ALC_OFFSET_17_16) >> 16; in da9055_put_alc_sw()
534 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2U_R, reg_val); in da9055_put_alc_sw()