Home
last modified time | relevance | path

Searched refs:ctl_r (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Drt711-sdca.c646 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()
[all …]
Drt1320-sdw.c3947 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt1320_set_gain_get() local
3956 ctl_r = mc->max - (((0 - read_r) & 0xffff) / interval_offset); in rt1320_set_gain_get()
3958 ctl_r = ctl_l; in rt1320_set_gain_get()
3961 ucontrol->value.integer.value[1] = ctl_r; in rt1320_set_gain_get()
Drt722-sdca.c424 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt722_sdca_set_gain_get() local
447 ctl_r = read_r / tendB; in rt722_sdca_set_gain_get()
450 ctl_r = mc->max - (((0x1e00 - read_r) & 0xffff) / interval_offset); in rt722_sdca_set_gain_get()
452 ctl_r = mc->max - (((0 - read_r) & 0xffff) / interval_offset); in rt722_sdca_set_gain_get()
455 ctl_r = ctl_l; in rt722_sdca_set_gain_get()
459 ucontrol->value.integer.value[1] = ctl_r; in rt722_sdca_set_gain_get()
Drt712-sdca.c562 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt712_sdca_set_gain_get() local
584 ctl_r = read_r / tendB; in rt712_sdca_set_gain_get()
587 ctl_r = mc->max - (((0x1e00 - read_r) & 0xffff) / interval_offset); in rt712_sdca_set_gain_get()
589 ctl_r = mc->max - (((0 - read_r) & 0xffff) / interval_offset); in rt712_sdca_set_gain_get()
592 ctl_r = ctl_l; in rt712_sdca_set_gain_get()
595 ucontrol->value.integer.value[1] = ctl_r; in rt712_sdca_set_gain_get()