Lines Matching refs:ctl_r
646 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt711_sdca_set_gain_get() local
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()
683 ctl_r = 0xffff & ~(read_r - 1); in rt711_sdca_set_gain_get()
686 ctl_r *= 100; in rt711_sdca_set_gain_get()
687 ctl_r >>= 8; in rt711_sdca_set_gain_get()
690 ctl_r = mc->shift - (ctl_r / 75); in rt711_sdca_set_gain_get()
692 ctl_r = mc->shift + (ctl_r / 75); in rt711_sdca_set_gain_get()
694 ctl_r = mc->max - (ctl_r / 75); in rt711_sdca_set_gain_get()
697 ctl_r = ctl_l; in rt711_sdca_set_gain_get()
700 ucontrol->value.integer.value[1] = ctl_r; in rt711_sdca_set_gain_get()