Home
last modified time | relevance | path

Searched refs:right_reg (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/
Dak4531_codec.c113 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument
117 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<…
118 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument
124 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<…
142 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_get_double() local
151 right = (ak4531->regs[right_reg] >> right_shift) & mask; in snd_ak4531_get_double()
166 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_put_double() local
183 if (left_reg == right_reg) { in snd_ak4531_put_double()
189 right = (ak4531->regs[right_reg] & ~(mask << right_shift)) | right; in snd_ak4531_put_double()
190 change = left != ak4531->regs[left_reg] || right != ak4531->regs[right_reg]; in snd_ak4531_put_double()
[all …]
Des1938.c1195 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument
1201 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1203 #define ES1938_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1207 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1226 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1938_get_double() local
1234 if (left_reg != right_reg) in snd_es1938_get_double()
1235 right = snd_es1938_reg_read(chip, right_reg); in snd_es1938_get_double()
1252 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1938_put_double() local
1270 if (left_reg != right_reg) { in snd_es1938_put_double()
1274 if (snd_es1938_reg_bits(chip, right_reg, mask2, val2) != val2) in snd_es1938_put_double()
Dsonicvibes.c983 #define SONICVIBES_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument
987 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1004 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sonicvibes_get_double() local
1012 ucontrol->value.integer.value[1] = (snd_sonicvibes_in1(sonic, right_reg) >> shift_right) & mask; in snd_sonicvibes_get_double()
1025 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sonicvibes_put_double() local
1043 oval2 = snd_sonicvibes_in1(sonic, right_reg); in snd_sonicvibes_put_double()
1048 snd_sonicvibes_out1(sonic, right_reg, val2); in snd_sonicvibes_put_double()
Dcmipci.c1967 unsigned int left_reg, right_reg; member
1977 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
1981 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo…
1992 r->right_reg = (val >> 8) & 0xff; in cmipci_sb_reg_decode()
2027 val = (snd_cmipci_mixer_read(cm, reg.right_reg) >> reg.right_shift) & reg.mask; in snd_cmipci_get_volume()
2061 if (reg.left_reg != reg.right_reg) { in snd_cmipci_put_volume()
2063 oright = snd_cmipci_mixer_read(cm, reg.right_reg); in snd_cmipci_put_volume()
2068 snd_cmipci_mixer_write(cm, reg.right_reg, right); in snd_cmipci_put_volume()
2105 val2 = snd_cmipci_mixer_read(cm, reg.right_reg); in snd_cmipci_get_input_sw()
2125 oval2 = snd_cmipci_mixer_read(cm, reg.right_reg); in snd_cmipci_put_input_sw()
[all …]
/kernel/linux/linux-5.10/sound/isa/cs423x/
Dcs4236_lib.c491 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
495 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
497 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
503 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
523 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_get_double() local
531 ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; in snd_cs4236_get_double()
545 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_put_double() local
562 if (left_reg != right_reg) { in snd_cs4236_put_double()
564 val2 = (chip->eimage[CS4236_REG(right_reg)] & ~(mask << shift_right)) | val2; in snd_cs4236_put_double()
565 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double()
[all …]
/kernel/linux/linux-5.10/sound/isa/es1688/
Des1688_lib.c813 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
817 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
835 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_get_double() local
847 if (left_reg != right_reg) { in snd_es1688_get_double()
848 if (right_reg < 0xa0) in snd_es1688_get_double()
849 right = snd_es1688_mixer_read(chip, right_reg); in snd_es1688_get_double()
851 right = snd_es1688_read(chip, right_reg); in snd_es1688_get_double()
869 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_put_double() local
886 if (left_reg != right_reg) { in snd_es1688_put_double()
891 if (right_reg < 0xa0) in snd_es1688_put_double()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dwss.h178 #define WSS_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
185 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
199 #define WSS_DOUBLE_TLV(xname, xindex, left_reg, right_reg, \ argument
208 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
Dsb.h324 #define SB_MIXVAL_DOUBLE(left_reg, right_reg, left_shift, right_shift, mask) \ argument
325 ((left_reg) | ((right_reg) << 8) | ((left_shift) << 16) | ((right_shift) << 19) | ((mask) << 24))
345 #define SB_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask) \ argument
348 .private_value = SB_MIXVAL_DOUBLE(left_reg, right_reg, left_shift, right_shift, mask) }
/kernel/linux/linux-5.10/sound/isa/
Dopl3sa2.c381 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
385 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
386 #define OPL3SA2_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, inver… argument
392 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
400 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_get_double() local
408 ucontrol->value.integer.value[1] = (chip->ctlregs[right_reg] >> shift_right) & mask; in snd_opl3sa2_get_double()
422 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_put_double() local
439 if (left_reg != right_reg) { in snd_opl3sa2_put_double()
441 oval2 = chip->ctlregs[right_reg]; in snd_opl3sa2_put_double()
446 __snd_opl3sa2_write(chip, right_reg, val2); in snd_opl3sa2_put_double()
Des18xx.c1166 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1170 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1187 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es18xx_get_double() local
1195 if (left_reg != right_reg) in snd_es18xx_get_double()
1196 right = snd_es18xx_reg_read(chip, right_reg); in snd_es18xx_get_double()
1212 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es18xx_put_double() local
1230 if (left_reg != right_reg) { in snd_es18xx_put_double()
1234 if (snd_es18xx_reg_bits(chip, right_reg, mask2, val2) != val2) in snd_es18xx_put_double()
/kernel/linux/linux-5.10/sound/spi/
Dat73c213.c470 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_stereo_get() local
481 (chip->reg_image[right_reg] >> shift_right) & mask; in snd_at73c213_stereo_get()
500 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_stereo_put() local
520 val2 = (chip->reg_image[right_reg] & ~(mask << shift_right)) | val2; in snd_at73c213_stereo_put()
522 || val2 != chip->reg_image[right_reg]; in snd_at73c213_stereo_put()
528 retval = snd_at73c213_write_reg(chip, right_reg, val2); in snd_at73c213_stereo_put()
649 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
657 .private_value = (left_reg | (right_reg << 8) \
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb_mixer.c113 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_get_double() local
121 right = (snd_sbmixer_read(sb, right_reg) >> right_shift) & mask; in snd_sbmixer_get_double()
133 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_put_double() local
143 if (left_reg == right_reg) { in snd_sbmixer_put_double()
151 oright = snd_sbmixer_read(sb, right_reg); in snd_sbmixer_put_double()
157 snd_sbmixer_write(sb, right_reg, right); in snd_sbmixer_put_double()
/kernel/linux/linux-5.10/sound/isa/opti9xx/
Dmiro.c431 int right_reg = kcontrol->private_value & 0xff; in snd_miro_get_double() local
432 int left_reg = right_reg + 1; in snd_miro_get_double()
434 right_val = aci_getvalue(miro->aci, right_reg); in snd_miro_get_double()
436 snd_printk(KERN_ERR "aci_getvalue(%d) failed: %d\n", right_reg, right_val); in snd_miro_get_double()
446 if ((right_reg >= ACI_GET_EQ1) && (right_reg <= ACI_GET_EQ7)) { in snd_miro_get_double()
/kernel/linux/linux-5.10/sound/sparc/
Dcs4231.c1406 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4231_get_double() local
1417 (chip->image[right_reg] >> shift_right) & mask; in snd_cs4231_get_double()
1437 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4231_put_double() local
1457 val2 = (chip->image[right_reg] & ~(mask << shift_right)) | val2; in snd_cs4231_put_double()
1459 change |= val2 != chip->image[right_reg]; in snd_cs4231_put_double()
1461 snd_cs4231_out(chip, right_reg, val2); in snd_cs4231_put_double()
1474 #define CS4231_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, \ argument
1479 .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \
/kernel/linux/linux-5.10/sound/isa/wss/
Dwss_lib.c2096 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_wss_get_double() local
2104 ucontrol->value.integer.value[1] = (chip->image[right_reg] >> shift_right) & mask; in snd_wss_get_double()
2120 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_wss_put_double() local
2137 if (left_reg != right_reg) { in snd_wss_put_double()
2139 val2 = (chip->image[right_reg] & ~(mask << shift_right)) | val2; in snd_wss_put_double()
2141 val2 != chip->image[right_reg]; in snd_wss_put_double()
2143 snd_wss_out(chip, right_reg, val2); in snd_wss_put_double()