Home
last modified time | relevance | path

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

/linux-6.1.9/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 <<…
141 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_get_double() local
150 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double()
165 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_put_double() local
183 if (left_reg == right_reg) { in snd_ak4531_put_double()
184 left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_ak4531_put_double()
185 change = left != ak4531->regs[left_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 <<…
1225 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_get_double() local
1233 left = snd_es1938_reg_read(chip, left_reg); in snd_es1938_get_double()
1234 if (left_reg != right_reg) in snd_es1938_get_double()
1251 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_put_double() local
1270 if (left_reg != right_reg) { in snd_es1938_put_double()
1272 if (snd_es1938_reg_bits(chip, left_reg, mask1, val1) != val1) in snd_es1938_put_double()
[all …]
Dcmipci.c1975 unsigned int left_reg, right_reg; member
1985 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
1989 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo…
1999 r->left_reg = val & 0xff; in cmipci_sb_reg_decode()
2030 val = (snd_cmipci_mixer_read(cm, reg.left_reg) >> reg.left_shift) & reg.mask; in snd_cmipci_get_volume()
2065 oleft = snd_cmipci_mixer_read(cm, reg.left_reg); in snd_cmipci_put_volume()
2069 if (reg.left_reg != reg.right_reg) { in snd_cmipci_put_volume()
2070 snd_cmipci_mixer_write(cm, reg.left_reg, left); in snd_cmipci_put_volume()
2078 snd_cmipci_mixer_write(cm, reg.left_reg, left); in snd_cmipci_put_volume()
2112 val1 = snd_cmipci_mixer_read(cm, reg.left_reg); in snd_cmipci_get_input_sw()
[all …]
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 <<…
1003 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_get_double() local
1011 ucontrol->value.integer.value[0] = (snd_sonicvibes_in1(sonic, left_reg) >> shift_left) & mask; in snd_sonicvibes_get_double()
1024 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_put_double() local
1042 oval1 = snd_sonicvibes_in1(sonic, left_reg); in snd_sonicvibes_put_double()
1047 snd_sonicvibes_out1(sonic, left_reg, val1); in snd_sonicvibes_put_double()
/linux-6.1.9/sound/isa/cs423x/
Dcs4236_lib.c489 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
493 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
495 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
501 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
520 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double() local
528 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; in snd_cs4236_get_double()
542 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double() local
560 if (left_reg != right_reg) { in snd_cs4236_put_double()
561 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double()
563 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double()
[all …]
/linux-6.1.9/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 <<…
834 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_get_double() local
843 if (left_reg < 0xa0) in snd_es1688_get_double()
844 left = snd_es1688_mixer_read(chip, left_reg); in snd_es1688_get_double()
846 left = snd_es1688_read(chip, left_reg); in snd_es1688_get_double()
847 if (left_reg != right_reg) { in snd_es1688_get_double()
868 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_put_double() local
886 if (left_reg != right_reg) { in snd_es1688_put_double()
887 if (left_reg < 0xa0) in snd_es1688_put_double()
[all …]
/linux-6.1.9/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) }
/linux-6.1.9/sound/isa/
Dopl3sa2.c380 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
384 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
385 #define OPL3SA2_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, inver… argument
391 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
398 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_double() local
406 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double()
420 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_double() local
438 if (left_reg != right_reg) { in snd_opl3sa2_put_double()
439 oval1 = chip->ctlregs[left_reg]; in snd_opl3sa2_put_double()
444 __snd_opl3sa2_write(chip, left_reg, val1); in snd_opl3sa2_put_double()
[all …]
Des18xx.c1163 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1167 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1183 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_get_double() local
1191 left = snd_es18xx_reg_read(chip, left_reg); in snd_es18xx_get_double()
1192 if (left_reg != right_reg) in snd_es18xx_get_double()
1208 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_put_double() local
1227 if (left_reg != right_reg) { in snd_es18xx_put_double()
1229 if (snd_es18xx_reg_bits(chip, left_reg, mask1, val1) != val1) in snd_es18xx_put_double()
1234 change = (snd_es18xx_reg_bits(chip, left_reg, mask1 | mask2, in snd_es18xx_put_double()
/linux-6.1.9/sound/isa/sb/
Dsb_mixer.c112 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_double() local
120 left = (snd_sbmixer_read(sb, left_reg) >> left_shift) & mask; in snd_sbmixer_get_double()
132 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_double() local
143 if (left_reg == right_reg) { in snd_sbmixer_put_double()
144 oleft = snd_sbmixer_read(sb, left_reg); in snd_sbmixer_put_double()
148 snd_sbmixer_write(sb, left_reg, left); in snd_sbmixer_put_double()
150 oleft = snd_sbmixer_read(sb, left_reg); in snd_sbmixer_put_double()
156 snd_sbmixer_write(sb, left_reg, left); in snd_sbmixer_put_double()
/linux-6.1.9/sound/spi/
Dat73c213.c469 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get() local
479 (chip->reg_image[left_reg] >> shift_left) & mask; in snd_at73c213_stereo_get()
499 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_put() local
519 val1 = (chip->reg_image[left_reg] & ~(mask << shift_left)) | val1; in snd_at73c213_stereo_put()
521 change = val1 != chip->reg_image[left_reg] in snd_at73c213_stereo_put()
523 retval = snd_at73c213_write_reg(chip, left_reg, val1); 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) \
/linux-6.1.9/sound/isa/wss/
Dwss_lib.c2053 int left_reg = kcontrol->private_value & 0xff; in snd_wss_get_double() local
2061 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_wss_get_double()
2077 int left_reg = kcontrol->private_value & 0xff; in snd_wss_put_double() local
2095 if (left_reg != right_reg) { in snd_wss_put_double()
2096 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_wss_put_double()
2098 change = val1 != chip->image[left_reg] || in snd_wss_put_double()
2100 snd_wss_out(chip, left_reg, val1); in snd_wss_put_double()
2104 val1 = (chip->image[left_reg] & ~mask) | val1 | val2; in snd_wss_put_double()
2105 change = val1 != chip->image[left_reg]; in snd_wss_put_double()
2106 snd_wss_out(chip, left_reg, val1); in snd_wss_put_double()
/linux-6.1.9/sound/sparc/
Dcs4231.c1404 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_get_double() local
1414 (chip->image[left_reg] >> shift_left) & mask; in snd_cs4231_get_double()
1435 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_put_double() local
1455 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4231_put_double()
1457 change = val1 != chip->image[left_reg]; in snd_cs4231_put_double()
1459 snd_cs4231_out(chip, left_reg, val1); in snd_cs4231_put_double()
1473 #define CS4231_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, \ argument
1478 .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \
/linux-6.1.9/sound/isa/opti9xx/
Dmiro.c429 int left_reg = right_reg + 1; in snd_miro_get_double() local
437 left_val = aci_getvalue(miro->aci, left_reg); in snd_miro_get_double()
439 snd_printk(KERN_ERR "aci_getvalue(%d) failed: %d\n", left_reg, left_val); in snd_miro_get_double()