/linux/sound/isa/cs423x/ |
H A D | cs4236_lib.c | 489 #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) | \ 522 int shift_left = (kcontrol->private_value >> 16) & 0x07; 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() 544 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_put_double() local 557 val1 <<= shift_left; in snd_cs4236_put_double() 561 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double() 567 …val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_put_double() [all …]
|
/linux/include/sound/ |
H A D | wss.h | 178 #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) | \ 200 shift_left, shift_right, mask, invert, xtlv) \ argument 208 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
|
H A D | soc.h | 42 #define SOC_DOUBLE_VALUE(xreg, shift_left, shift_right, xmax, xinvert, xautodisable) \ argument 44 {.reg = xreg, .rreg = xreg, .shift = shift_left, \ 47 #define SOC_DOUBLE_S_VALUE(xreg, shift_left, shift_right, xmin, xmax, xsign_bit, xinvert, xautodisa… argument 49 {.reg = xreg, .rreg = xreg, .shift = shift_left, \ 114 #define SOC_DOUBLE(xname, reg, shift_left, shift_right, max, invert) \ argument 118 .private_value = SOC_DOUBLE_VALUE(reg, shift_left, shift_right, \ 120 #define SOC_DOUBLE_STS(xname, reg, shift_left, shift_right, max, invert) \ argument 126 .private_value = SOC_DOUBLE_VALUE(reg, shift_left, shift_right, \ 141 #define SOC_DOUBLE_TLV(xname, reg, shift_left, shift_right, max, invert, tlv_array) \ argument 148 .private_value = SOC_DOUBLE_VALUE(reg, shift_left, shift_right, \ [all …]
|
/linux/sound/isa/ |
H A D | opl3sa2.c | 377 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 381 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 382 #define OPL3SA2_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, inver… argument 388 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 397 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_get_double() local 403 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double() 419 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_put_double() local 432 val1 <<= shift_left; in snd_opl3sa2_put_double() 438 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_opl3sa2_put_double() 445 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_opl3sa2_put_double()
|
H A D | es18xx.c | 1162 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 1166 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1184 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_get_double() local 1195 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es18xx_get_double() 1209 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_put_double() local 1222 val1 <<= shift_left; in snd_es18xx_put_double() 1224 mask1 = mask << shift_left; in snd_es18xx_put_double()
|
/linux/sound/isa/ad1816a/ |
H A D | ad1816a_lib.c | 776 #define AD1816A_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 781 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 784 #define AD1816A_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 787 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 805 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_ad1816a_get_double() local 813 ucontrol->value.integer.value[0] = (val >> shift_left) & mask; in snd_ad1816a_get_double() 828 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_ad1816a_put_double() local 841 val1 <<= shift_left; in snd_ad1816a_put_double() 845 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double()
|
/linux/sound/pci/ac97/ |
H A D | ac97_patch.h | 25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 29 ….private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) | ((mask) << 16) | ((invert) …
|
/linux/sound/isa/es1688/ |
H A D | es1688_lib.c | 816 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 820 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 839 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1688_get_double() local 858 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1688_get_double() 873 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1688_put_double() local 886 val1 <<= shift_left; in snd_es1688_put_double() 898 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_es1688_put_double() 916 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_es1688_put_double()
|
/linux/sound/parisc/ |
H A D | harmony.c | 671 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_get() local 679 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 687 if (shift_left != shift_right) in snd_harmony_volume_get() 700 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_put() local 712 h->st.gain &= ~( (mask << shift_left ) ); in snd_harmony_volume_put() 713 h->st.gain |= (left << shift_left); in snd_harmony_volume_put() 715 if (shift_left != shift_right) { in snd_harmony_volume_put()
|
/linux/sound/spi/ |
H A D | at73c213.c | 471 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_at73c213_stereo_get() local 479 (chip->reg_image[left_reg] >> shift_left) & mask; in snd_at73c213_stereo_get() 501 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_at73c213_stereo_put() local 514 val1 <<= shift_left; in snd_at73c213_stereo_put() 519 val1 = (chip->reg_image[left_reg] & ~(mask << shift_left)) | val1; in snd_at73c213_stereo_put() 649 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 658 | (shift_left << 16) | (shift_right << 19) \
|
/linux/sound/pci/ |
H A D | fm801.c | 892 #define FM801_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 895 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 896 #define FM801_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 901 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 921 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_fm801_get_double() local 928 value[0] = (fm801_ioread16(chip, reg) >> shift_left) & mask; in snd_fm801_get_double() 943 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_fm801_put_double() local 956 (mask << shift_left) | (mask << shift_right), in snd_fm801_put_double() 957 (val1 << shift_left ) | (val2 << shift_right)); in snd_fm801_put_double()
|
H A D | es1938.c | 1173 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument 1179 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1181 #define ES1938_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 1185 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<… 1205 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1938_get_double() local 1216 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1938_get_double() 1231 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1938_put_double() local 1244 val1 <<= shift_left; in snd_es1938_put_double() 1246 mask1 = mask << shift_left; in snd_es1938_put_double()
|
H A D | sonicvibes.c | 983 #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 <<… 1005 int shift_left = (kcontrol->private_value >> 16) & 0x07; 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() 1026 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_sonicvibes_put_double() local 1039 val1 <<= shift_left; in snd_sonicvibes_put_double() 1044 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_sonicvibes_put_double()
|
/linux/sound/sparc/ |
H A D | cs4231.c | 1411 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_get_double() local 1419 (chip->image[left_reg] >> shift_left) & mask; in snd_cs4231_get_double() 1442 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_put_double() local 1455 val1 <<= shift_left; in snd_cs4231_put_double() 1460 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4231_put_double() 1478 #define CS4231_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, \ argument 1483 .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \
|
/linux/sound/isa/wss/ |
H A D | wss_lib.c | 2057 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_get_double() local 2063 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_wss_get_double() 2081 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_put_double() local 2094 val1 <<= shift_left; in snd_wss_put_double() 2098 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_wss_put_double() 2105 mask = (mask << shift_left) | (mask << shift_right); in snd_wss_put_double()
|
/linux/sound/pci/ymfpci/ |
H A D | ymfpci_main.c | 1508 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_get_double() local 1516 ucontrol->value.integer.value[0] = (val >> shift_left) & mask; in snd_ymfpci_get_double() 1525 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_put_double() local 1533 val1 <<= shift_left; in snd_ymfpci_put_double() 1537 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double()
|
/linux/Documentation/sound/soc/ |
H A D | codec.rst | 95 #define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)
|