Searched refs:ctl_l (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 658 ctl_l = (read_l >> mc->shift) / 10; in rt711_sdca_set_gain_get() 660 ctl_l = read_l; in rt711_sdca_set_gain_get() 662 ctl_l = 0xffff & ~(read_l - 1); in rt711_sdca_set_gain_get() 665 ctl_l *= 100; in rt711_sdca_set_gain_get() 666 ctl_l >>= 8; in rt711_sdca_set_gain_get() 669 ctl_l = mc->shift - (ctl_l / 75); in rt711_sdca_set_gain_get() 671 ctl_l = mc->shift + (ctl_l / 75); in rt711_sdca_set_gain_get() 673 ctl_l = mc->max - (ctl_l / 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 3953 ctl_l = mc->max - (((0 - read_l) & 0xffff) / interval_offset); in rt1320_set_gain_get() 3958 ctl_r = ctl_l; in rt1320_set_gain_get() 3960 ucontrol->value.integer.value[0] = ctl_l; 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 437 ctl_l = read_l / tendB; in rt722_sdca_set_gain_get() 440 ctl_l = mc->max - (((0x1e00 - read_l) & 0xffff) / interval_offset); in rt722_sdca_set_gain_get() 442 ctl_l = mc->max - (((0 - read_l) & 0xffff) / interval_offset); in rt722_sdca_set_gain_get() 455 ctl_r = ctl_l; in rt722_sdca_set_gain_get() 458 ucontrol->value.integer.value[0] = ctl_l; 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 574 ctl_l = read_l / tendB; in rt712_sdca_set_gain_get() 577 ctl_l = mc->max - (((0x1e00 - read_l) & 0xffff) / interval_offset); in rt712_sdca_set_gain_get() 579 ctl_l = mc->max - (((0 - read_l) & 0xffff) / interval_offset); in rt712_sdca_set_gain_get() 592 ctl_r = ctl_l; in rt712_sdca_set_gain_get() 594 ucontrol->value.integer.value[0] = ctl_l; in rt712_sdca_set_gain_get()
|