Searched refs:ctl_r (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | rt711-sdca.c | 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() [all …]
|
D | rt1320-sdw.c | 3947 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()
|
D | rt722-sdca.c | 424 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()
|
D | rt712-sdca.c | 562 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()
|