Searched refs:val_ll (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/sound/soc/codecs/ |
D | rt715.c | 83 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt715_set_amp_gain_put() local 112 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt715_set_amp_gain_put() 113 if (val_ll > mc->max) in rt715_set_amp_gain_put() 114 val_ll = mc->max; in rt715_set_amp_gain_put() 116 val_ll |= read_ll & 0x80; in rt715_set_amp_gain_put() 129 if (val_ll == val_lr) { in rt715_set_amp_gain_put() 133 (val_h << 8) | val_ll); in rt715_set_amp_gain_put() 135 (val_h << 8) | val_ll); in rt715_set_amp_gain_put() 140 (val_h << 8) | val_ll); in rt715_set_amp_gain_put() 154 if (read_rl == val_lr && read_ll == val_ll) in rt715_set_amp_gain_put() [all …]
|
D | rt700.c | 366 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt700_set_amp_gain_put() local 383 val_ll = (mc->max - ucontrol->value.integer.value[0]) << 7; in rt700_set_amp_gain_put() 386 val_ll |= read_ll; in rt700_set_amp_gain_put() 389 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt700_set_amp_gain_put() 390 if (val_ll > mc->max) in rt700_set_amp_gain_put() 391 val_ll = mc->max; in rt700_set_amp_gain_put() 394 val_ll |= read_ll; in rt700_set_amp_gain_put() 419 if (val_ll == val_lr) { in rt700_set_amp_gain_put() 423 addr_h, (val_h << 8 | val_ll)); in rt700_set_amp_gain_put() 425 addr_l, (val_h << 8 | val_ll)); in rt700_set_amp_gain_put() [all …]
|
D | rt711.c | 508 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt711_set_amp_gain_put() local 527 val_ll = (mc->max - ucontrol->value.integer.value[0]) in rt711_set_amp_gain_put() 531 val_ll |= read_ll; in rt711_set_amp_gain_put() 534 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt711_set_amp_gain_put() 535 if (val_ll > mc->max) in rt711_set_amp_gain_put() 536 val_ll = mc->max; in rt711_set_amp_gain_put() 539 val_ll |= read_ll; in rt711_set_amp_gain_put() 566 if (val_ll == val_lr) { in rt711_set_amp_gain_put() 570 addr_h, (val_h << 8 | val_ll)); in rt711_set_amp_gain_put() 572 addr_l, (val_h << 8 | val_ll)); in rt711_set_amp_gain_put() [all …]
|