Lines Matching refs:reg_val
457 static int da9055_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) in da9055_get_alc_data() argument
466 snd_soc_write(codec, DA9055_ALC_CIC_OP_LVL_CTRL, reg_val); in da9055_get_alc_data()
470 reg_val | DA9055_ALC_DATA_MIDDLE); in da9055_get_alc_data()
475 reg_val | DA9055_ALC_DATA_TOP); in da9055_get_alc_data()
488 u8 reg_val, adc_left, adc_right, mic_left, mic_right; in da9055_put_alc_sw() local
529 reg_val = (offset_l & DA9055_ALC_OFFSET_15_8) >> 8; in da9055_put_alc_sw()
530 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2M_L, reg_val); in da9055_put_alc_sw()
531 reg_val = (offset_l & DA9055_ALC_OFFSET_17_16) >> 16; in da9055_put_alc_sw()
532 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2U_L, reg_val); in da9055_put_alc_sw()
534 reg_val = (offset_r & DA9055_ALC_OFFSET_15_8) >> 8; in da9055_put_alc_sw()
535 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2M_R, reg_val); in da9055_put_alc_sw()
536 reg_val = (offset_r & DA9055_ALC_OFFSET_17_16) >> 16; in da9055_put_alc_sw()
537 snd_soc_write(codec, DA9055_ALC_OFFSET_OP2U_R, reg_val); in da9055_put_alc_sw()