Lines Matching refs:read_r
562 unsigned int read_l, read_r, gain_l_val, gain_r_val; in rt711_sdca_set_gain_put() local
600 read_r = gain_r_val; in rt711_sdca_set_gain_put()
611 if (!(adc_vol_flag && read_r > mc->shift)) { in rt711_sdca_set_gain_put()
631 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_put()
632 if (read_r == gain_r_val && read_l == gain_l_val) in rt711_sdca_set_gain_put()
646 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt711_sdca_set_gain_get() local
654 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_get()
677 if (read_l != read_r) { in rt711_sdca_set_gain_get()
679 ctl_r = (read_r >> mc->shift) / 10; in rt711_sdca_set_gain_get()
681 ctl_r = read_r; in rt711_sdca_set_gain_get()
682 if (read_r & BIT(15)) { in rt711_sdca_set_gain_get()
683 ctl_r = 0xffff & ~(read_r - 1); in rt711_sdca_set_gain_get()