Home
last modified time | relevance | path

Searched refs:val_ll (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Drt715.c133 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt715_set_amp_gain_put() local
162 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt715_set_amp_gain_put()
163 if (val_ll > mc->max) in rt715_set_amp_gain_put()
164 val_ll = mc->max; in rt715_set_amp_gain_put()
166 val_ll |= read_ll & 0x80; in rt715_set_amp_gain_put()
179 if (val_ll == val_lr) { in rt715_set_amp_gain_put()
183 (val_h << 8) | val_ll); in rt715_set_amp_gain_put()
185 (val_h << 8) | val_ll); in rt715_set_amp_gain_put()
190 (val_h << 8) | val_ll); in rt715_set_amp_gain_put()
204 if (read_rl == val_lr && read_ll == val_ll) in rt715_set_amp_gain_put()
[all …]
Drt700.c371 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt700_set_amp_gain_put() local
388 val_ll = (mc->max - ucontrol->value.integer.value[0]) << 7; in rt700_set_amp_gain_put()
391 val_ll |= read_ll; in rt700_set_amp_gain_put()
394 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt700_set_amp_gain_put()
395 if (val_ll > mc->max) in rt700_set_amp_gain_put()
396 val_ll = mc->max; in rt700_set_amp_gain_put()
399 val_ll |= read_ll; in rt700_set_amp_gain_put()
424 if (val_ll == val_lr) { in rt700_set_amp_gain_put()
428 addr_h, (val_h << 8 | val_ll)); in rt700_set_amp_gain_put()
430 addr_l, (val_h << 8 | val_ll)); in rt700_set_amp_gain_put()
[all …]
Drt711.c513 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt711_set_amp_gain_put() local
532 val_ll = (mc->max - ucontrol->value.integer.value[0]) in rt711_set_amp_gain_put()
536 val_ll |= read_ll; in rt711_set_amp_gain_put()
539 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt711_set_amp_gain_put()
540 if (val_ll > mc->max) in rt711_set_amp_gain_put()
541 val_ll = mc->max; in rt711_set_amp_gain_put()
544 val_ll |= read_ll; in rt711_set_amp_gain_put()
571 if (val_ll == val_lr) { in rt711_set_amp_gain_put()
575 addr_h, (val_h << 8 | val_ll)); in rt711_set_amp_gain_put()
577 addr_l, (val_h << 8 | val_ll)); in rt711_set_amp_gain_put()
[all …]