Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Drt715.c135 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt715_set_amp_gain_put() local
173 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); in rt715_set_amp_gain_put()
174 if (val_lr > mc->max) in rt715_set_amp_gain_put()
175 val_lr = mc->max; in rt715_set_amp_gain_put()
177 val_lr |= read_rl & 0x80; in rt715_set_amp_gain_put()
181 if (val_ll == val_lr) { in rt715_set_amp_gain_put()
196 (val_h << 8) | val_lr); in rt715_set_amp_gain_put()
206 if (read_rl == val_lr && read_ll == val_ll) in rt715_set_amp_gain_put()
264 unsigned int addr_h, addr_l, val_h = 0x0, val_ll, val_lr; in rt715_set_main_switch_put() local
295 val_lr = (!ucontrol->value.integer.value[j * 2 + 1]) << 7; in rt715_set_main_switch_put()
[all …]
H A Drt700.c371 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt700_set_amp_gain_put() local
409 val_lr = (mc->max - ucontrol->value.integer.value[1]) << 7; in rt700_set_amp_gain_put()
412 val_lr |= read_rl; in rt700_set_amp_gain_put()
415 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); in rt700_set_amp_gain_put()
416 if (val_lr > mc->max) in rt700_set_amp_gain_put()
417 val_lr = mc->max; in rt700_set_amp_gain_put()
420 val_lr |= read_rl; in rt700_set_amp_gain_put()
424 if (val_ll == val_lr) { in rt700_set_amp_gain_put()
440 addr_l, (val_h << 8 | val_lr)); in rt700_set_amp_gain_put()
450 if (read_rl == val_lr && read_ll == val_ll) in rt700_set_amp_gain_put()
H A Drt711.c513 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt711_set_amp_gain_put() local
554 val_lr = (mc->max - ucontrol->value.integer.value[1]) in rt711_set_amp_gain_put()
558 val_lr |= read_rl; in rt711_set_amp_gain_put()
561 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); in rt711_set_amp_gain_put()
562 if (val_lr > mc->max) in rt711_set_amp_gain_put()
563 val_lr = mc->max; in rt711_set_amp_gain_put()
566 val_lr |= read_rl; in rt711_set_amp_gain_put()
571 if (val_ll == val_lr) { in rt711_set_amp_gain_put()
587 addr_l, (val_h << 8 | val_lr)); in rt711_set_amp_gain_put()
597 if (read_rl == val_lr && read_ll == val_ll) in rt711_set_amp_gain_put()