/linux-2.6.39/sound/pci/ |
D | ak4531_codec.c | 131 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument 135 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<… 136 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument 142 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<… 159 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_get_double() local 168 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double() 183 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_put_double() local 201 if (left_reg == right_reg) { in snd_ak4531_put_double() 202 left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_ak4531_put_double() 203 change = left != ak4531->regs[left_reg]; in snd_ak4531_put_double() [all …]
|
D | es1938.c | 1236 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument 1242 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1244 #define ES1938_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 1248 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1266 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_get_double() local 1274 left = snd_es1938_reg_read(chip, left_reg); in snd_es1938_get_double() 1275 if (left_reg != right_reg) in snd_es1938_get_double() 1292 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_put_double() local 1311 if (left_reg != right_reg) { in snd_es1938_put_double() 1313 if (snd_es1938_reg_bits(chip, left_reg, mask1, val1) != val1) in snd_es1938_put_double() [all …]
|
D | cmipci.c | 1996 unsigned int left_reg, right_reg; member 2006 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument 2010 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo… 2020 r->left_reg = val & 0xff; in cmipci_sb_reg_decode() 2051 val = (snd_cmipci_mixer_read(cm, reg.left_reg) >> reg.left_shift) & reg.mask; in snd_cmipci_get_volume() 2086 oleft = snd_cmipci_mixer_read(cm, reg.left_reg); in snd_cmipci_put_volume() 2090 if (reg.left_reg != reg.right_reg) { in snd_cmipci_put_volume() 2091 snd_cmipci_mixer_write(cm, reg.left_reg, left); in snd_cmipci_put_volume() 2099 snd_cmipci_mixer_write(cm, reg.left_reg, left); in snd_cmipci_put_volume() 2133 val1 = snd_cmipci_mixer_read(cm, reg.left_reg); in snd_cmipci_get_input_sw() [all …]
|
D | sonicvibes.c | 1020 #define SONICVIBES_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument 1024 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1040 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_get_double() local 1048 ucontrol->value.integer.value[0] = (snd_sonicvibes_in1(sonic, left_reg) >> shift_left) & mask; in snd_sonicvibes_get_double() 1061 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_put_double() local 1079 oval1 = snd_sonicvibes_in1(sonic, left_reg); in snd_sonicvibes_put_double() 1084 snd_sonicvibes_out1(sonic, left_reg, val1); in snd_sonicvibes_put_double()
|
/linux-2.6.39/sound/isa/cs423x/ |
D | cs4236_lib.c | 508 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 512 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 514 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument 520 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \ 539 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double() local 547 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; in snd_cs4236_get_double() 561 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double() local 579 if (left_reg != right_reg) { in snd_cs4236_put_double() 580 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double() 582 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double() [all …]
|
/linux-2.6.39/sound/isa/es1688/ |
D | es1688_lib.c | 851 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 855 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 872 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_get_double() local 881 if (left_reg < 0xa0) in snd_es1688_get_double() 882 left = snd_es1688_mixer_read(chip, left_reg); in snd_es1688_get_double() 884 left = snd_es1688_read(chip, left_reg); in snd_es1688_get_double() 885 if (left_reg != right_reg) { in snd_es1688_get_double() 906 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_put_double() local 924 if (left_reg != right_reg) { in snd_es1688_put_double() 925 if (left_reg < 0xa0) in snd_es1688_put_double() [all …]
|
/linux-2.6.39/include/sound/ |
D | wss.h | 193 #define WSS_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 200 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \ 214 #define WSS_DOUBLE_TLV(xname, xindex, left_reg, right_reg, \ argument 223 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
|
D | sb.h | 339 #define SB_MIXVAL_DOUBLE(left_reg, right_reg, left_shift, right_shift, mask) \ argument 340 ((left_reg) | ((right_reg) << 8) | ((left_shift) << 16) | ((right_shift) << 19) | ((mask) << 24)) 360 #define SB_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask) \ argument 363 .private_value = SB_MIXVAL_DOUBLE(left_reg, right_reg, left_shift, right_shift, mask) }
|
/linux-2.6.39/sound/isa/ |
D | opl3sa2.c | 397 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 401 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 402 #define OPL3SA2_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, inver… argument 408 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 415 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_double() local 423 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double() 437 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_double() local 455 if (left_reg != right_reg) { in snd_opl3sa2_put_double() 456 oval1 = chip->ctlregs[left_reg]; in snd_opl3sa2_put_double() 461 __snd_opl3sa2_write(chip, left_reg, val1); in snd_opl3sa2_put_double() [all …]
|
D | es18xx.c | 1189 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 1193 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1209 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_get_double() local 1217 left = snd_es18xx_reg_read(chip, left_reg); in snd_es18xx_get_double() 1218 if (left_reg != right_reg) in snd_es18xx_get_double() 1234 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_put_double() local 1253 if (left_reg != right_reg) { in snd_es18xx_put_double() 1255 if (snd_es18xx_reg_bits(chip, left_reg, mask1, val1) != val1) in snd_es18xx_put_double() 1260 change = (snd_es18xx_reg_bits(chip, left_reg, mask1 | mask2, in snd_es18xx_put_double()
|
/linux-2.6.39/sound/isa/sb/ |
D | sb_mixer.c | 127 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_double() local 135 left = (snd_sbmixer_read(sb, left_reg) >> left_shift) & mask; in snd_sbmixer_get_double() 147 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_double() local 158 if (left_reg == right_reg) { in snd_sbmixer_put_double() 159 oleft = snd_sbmixer_read(sb, left_reg); in snd_sbmixer_put_double() 163 snd_sbmixer_write(sb, left_reg, left); in snd_sbmixer_put_double() 165 oleft = snd_sbmixer_read(sb, left_reg); in snd_sbmixer_put_double() 171 snd_sbmixer_write(sb, left_reg, left); in snd_sbmixer_put_double()
|
/linux-2.6.39/sound/spi/ |
D | at73c213.c | 475 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get() local 485 (chip->reg_image[left_reg] >> shift_left) & mask; in snd_at73c213_stereo_get() 505 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_put() local 525 val1 = (chip->reg_image[left_reg] & ~(mask << shift_left)) | val1; in snd_at73c213_stereo_put() 527 change = val1 != chip->reg_image[left_reg] in snd_at73c213_stereo_put() 529 retval = snd_at73c213_write_reg(chip, left_reg, val1); in snd_at73c213_stereo_put() 655 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 663 .private_value = (left_reg | (right_reg << 8) \
|
/linux-2.6.39/sound/isa/wss/ |
D | wss_lib.c | 2138 int left_reg = kcontrol->private_value & 0xff; in snd_wss_get_double() local 2146 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_wss_get_double() 2162 int left_reg = kcontrol->private_value & 0xff; in snd_wss_put_double() local 2180 if (left_reg != right_reg) { in snd_wss_put_double() 2181 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_wss_put_double() 2183 change = val1 != chip->image[left_reg] || in snd_wss_put_double() 2185 snd_wss_out(chip, left_reg, val1); in snd_wss_put_double() 2189 val1 = (chip->image[left_reg] & ~mask) | val1 | val2; in snd_wss_put_double() 2190 change = val1 != chip->image[left_reg]; in snd_wss_put_double() 2191 snd_wss_out(chip, left_reg, val1); in snd_wss_put_double()
|
/linux-2.6.39/sound/sparc/ |
D | cs4231.c | 1424 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_get_double() local 1434 (chip->image[left_reg] >> shift_left) & mask; in snd_cs4231_get_double() 1455 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_put_double() local 1475 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4231_put_double() 1477 change = val1 != chip->image[left_reg]; in snd_cs4231_put_double() 1479 snd_cs4231_out(chip, left_reg, val1); in snd_cs4231_put_double() 1493 #define CS4231_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, \ argument 1498 .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \
|
/linux-2.6.39/sound/isa/opti9xx/ |
D | miro.c | 441 int left_reg = right_reg + 1; in snd_miro_get_double() local 449 left_val = aci_getvalue(miro->aci, left_reg); in snd_miro_get_double() 451 snd_printk(KERN_ERR "aci_getvalue(%d) failed: %d\n", left_reg, left_val); in snd_miro_get_double()
|