Home
last modified time | relevance | path

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

/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.c1220 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument
1226 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1228 #define ES1938_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1232 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1250 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_get_double() local
1258 left = snd_es1938_reg_read(chip, left_reg); in snd_es1938_get_double()
1259 if (left_reg != right_reg) in snd_es1938_get_double()
1276 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_put_double() local
1295 if (left_reg != right_reg) { in snd_es1938_put_double()
1297 if (snd_es1938_reg_bits(chip, left_reg, mask1, val1) != val1) in snd_es1938_put_double()
[all …]
Dcmipci.c1988 unsigned int left_reg, right_reg; member
1998 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
2002 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo…
2012 r->left_reg = val & 0xff; in cmipci_sb_reg_decode()
2043 val = (snd_cmipci_mixer_read(cm, reg.left_reg) >> reg.left_shift) & reg.mask; in snd_cmipci_get_volume()
2078 oleft = snd_cmipci_mixer_read(cm, reg.left_reg); in snd_cmipci_put_volume()
2082 if (reg.left_reg != reg.right_reg) { in snd_cmipci_put_volume()
2083 snd_cmipci_mixer_write(cm, reg.left_reg, left); in snd_cmipci_put_volume()
2091 snd_cmipci_mixer_write(cm, reg.left_reg, left); in snd_cmipci_put_volume()
2125 val1 = snd_cmipci_mixer_read(cm, reg.left_reg); in snd_cmipci_get_input_sw()
[all …]
Dsonicvibes.c1000 #define SONICVIBES_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument
1004 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1020 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_get_double() local
1028 ucontrol->value.integer.value[0] = (snd_sonicvibes_in1(sonic, left_reg) >> shift_left) & mask; in snd_sonicvibes_get_double()
1041 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_put_double() local
1059 oval1 = snd_sonicvibes_in1(sonic, left_reg); in snd_sonicvibes_put_double()
1064 snd_sonicvibes_out1(sonic, left_reg, val1); in snd_sonicvibes_put_double()
/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) | \
522 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double() local
530 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; in snd_cs4236_get_double()
544 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double() local
562 if (left_reg != right_reg) { in snd_cs4236_put_double()
563 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; 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 …]
/sound/isa/es1688/
Des1688_lib.c836 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
840 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
857 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_get_double() local
866 if (left_reg < 0xa0) in snd_es1688_get_double()
867 left = snd_es1688_mixer_read(chip, left_reg); in snd_es1688_get_double()
869 left = snd_es1688_read(chip, left_reg); in snd_es1688_get_double()
870 if (left_reg != right_reg) { in snd_es1688_get_double()
891 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_put_double() local
909 if (left_reg != right_reg) { in snd_es1688_put_double()
910 if (left_reg < 0xa0) in snd_es1688_put_double()
[all …]
/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 <<…
399 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_double() local
407 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double()
421 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_double() local
439 if (left_reg != right_reg) { in snd_opl3sa2_put_double()
440 oval1 = chip->ctlregs[left_reg]; in snd_opl3sa2_put_double()
445 __snd_opl3sa2_write(chip, left_reg, val1); in snd_opl3sa2_put_double()
[all …]
Des18xx.c1177 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1181 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
1197 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_get_double() local
1205 left = snd_es18xx_reg_read(chip, left_reg); in snd_es18xx_get_double()
1206 if (left_reg != right_reg) in snd_es18xx_get_double()
1222 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_put_double() local
1241 if (left_reg != right_reg) { in snd_es18xx_put_double()
1243 if (snd_es18xx_reg_bits(chip, left_reg, mask1, val1) != val1) in snd_es18xx_put_double()
1248 change = (snd_es18xx_reg_bits(chip, left_reg, mask1 | mask2, in snd_es18xx_put_double()
/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()
/sound/spi/
Dat73c213.c477 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get() local
487 (chip->reg_image[left_reg] >> shift_left) & mask; in snd_at73c213_stereo_get()
507 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_put() local
527 val1 = (chip->reg_image[left_reg] & ~(mask << shift_left)) | val1; in snd_at73c213_stereo_put()
529 change = val1 != chip->reg_image[left_reg] in snd_at73c213_stereo_put()
531 retval = snd_at73c213_write_reg(chip, left_reg, val1); in snd_at73c213_stereo_put()
657 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
665 .private_value = (left_reg | (right_reg << 8) \
/sound/isa/wss/
Dwss_lib.c2115 int left_reg = kcontrol->private_value & 0xff; in snd_wss_get_double() local
2123 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_wss_get_double()
2139 int left_reg = kcontrol->private_value & 0xff; in snd_wss_put_double() local
2157 if (left_reg != right_reg) { in snd_wss_put_double()
2158 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_wss_put_double()
2160 change = val1 != chip->image[left_reg] || in snd_wss_put_double()
2162 snd_wss_out(chip, left_reg, val1); in snd_wss_put_double()
2166 val1 = (chip->image[left_reg] & ~mask) | val1 | val2; in snd_wss_put_double()
2167 change = val1 != chip->image[left_reg]; in snd_wss_put_double()
2168 snd_wss_out(chip, left_reg, val1); in snd_wss_put_double()
/sound/sparc/
Dcs4231.c1420 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_get_double() local
1430 (chip->image[left_reg] >> shift_left) & mask; in snd_cs4231_get_double()
1451 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_put_double() local
1471 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4231_put_double()
1473 change = val1 != chip->image[left_reg]; in snd_cs4231_put_double()
1475 snd_cs4231_out(chip, left_reg, val1); in snd_cs4231_put_double()
1489 #define CS4231_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, \ argument
1494 .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \
/sound/isa/opti9xx/
Dmiro.c432 int left_reg = right_reg + 1; in snd_miro_get_double() local
440 left_val = aci_getvalue(miro->aci, left_reg); in snd_miro_get_double()
442 snd_printk(KERN_ERR "aci_getvalue(%d) failed: %d\n", left_reg, left_val); in snd_miro_get_double()