Searched refs:ctl_r (Results 1 – 3 of 3) sorted by relevance
626 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt711_sdca_set_gain_get() local659 ctl_r = (read_r >> mc->shift) / 10; in rt711_sdca_set_gain_get()661 ctl_r = read_r; in rt711_sdca_set_gain_get()663 ctl_r = 0xffff & ~(read_r - 1); in rt711_sdca_set_gain_get()666 ctl_r *= 100; in rt711_sdca_set_gain_get()667 ctl_r >>= 8; in rt711_sdca_set_gain_get()670 ctl_r = mc->shift - (ctl_r / 75); in rt711_sdca_set_gain_get()672 ctl_r = mc->shift + (ctl_r / 75); in rt711_sdca_set_gain_get()674 ctl_r = mc->max - (ctl_r / 75); in rt711_sdca_set_gain_get()677 ctl_r = ctl_l; in rt711_sdca_set_gain_get()[all …]
554 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt712_sdca_set_gain_get() local576 ctl_r = read_r / tendB; in rt712_sdca_set_gain_get()579 ctl_r = mc->max - (((0x1e00 - read_r) & 0xffff) / interval_offset); in rt712_sdca_set_gain_get()581 ctl_r = mc->max - (((0 - read_r) & 0xffff) / interval_offset); in rt712_sdca_set_gain_get()584 ctl_r = ctl_l; in rt712_sdca_set_gain_get()587 ucontrol->value.integer.value[1] = ctl_r; in rt712_sdca_set_gain_get()
424 unsigned int read_l, read_r, ctl_l = 0, ctl_r = 0; in rt722_sdca_set_gain_get() local447 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()