/kernel/linux/linux-5.10/sound/isa/cs423x/ |
D | cs4236_lib.c | 491 #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) | \ 524 int shift_left = (kcontrol->private_value >> 16) & 0x07; 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() 546 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_put_double() local 559 val1 <<= shift_left; in snd_cs4236_put_double() 563 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double() 569 …val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_put_double() [all …]
|
/kernel/linux/linux-5.10/include/sound/ |
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) | \
|
D | soc.h | 31 #define SOC_DOUBLE_VALUE(xreg, shift_left, shift_right, xmax, xinvert, xautodisable) \ argument 33 {.reg = xreg, .rreg = xreg, .shift = shift_left, \ 36 #define SOC_DOUBLE_S_VALUE(xreg, shift_left, shift_right, xmin, xmax, xsign_bit, xinvert, xautodisa… argument 38 {.reg = xreg, .rreg = xreg, .shift = shift_left, \ 103 #define SOC_DOUBLE(xname, reg, shift_left, shift_right, max, invert) \ argument 107 .private_value = SOC_DOUBLE_VALUE(reg, shift_left, shift_right, \ 109 #define SOC_DOUBLE_STS(xname, reg, shift_left, shift_right, max, invert) \ argument 115 .private_value = SOC_DOUBLE_VALUE(reg, shift_left, shift_right, \ 130 #define SOC_DOUBLE_TLV(xname, reg, shift_left, shift_right, max, invert, tlv_array) \ argument 137 .private_value = SOC_DOUBLE_VALUE(reg, shift_left, shift_right, \ [all …]
|
/kernel/linux/linux-5.10/sound/isa/ |
D | opl3sa2.c | 381 #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 <<… 401 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_get_double() local 407 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double() 423 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_put_double() local 436 val1 <<= shift_left; in snd_opl3sa2_put_double() 442 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_opl3sa2_put_double() 449 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_opl3sa2_put_double()
|
D | es18xx.c | 1166 #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 <<… 1188 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_get_double() local 1199 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es18xx_get_double() 1213 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_put_double() local 1226 val1 <<= shift_left; in snd_es18xx_put_double() 1228 mask1 = mask << shift_left; in snd_es18xx_put_double()
|
/kernel/linux/linux-5.10/sound/pci/ac97/ |
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) …
|
/kernel/linux/linux-5.10/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 805 #define AD1816A_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 810 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 813 #define AD1816A_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 816 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 834 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_ad1816a_get_double() local 842 ucontrol->value.integer.value[0] = (val >> shift_left) & mask; in snd_ad1816a_get_double() 857 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_ad1816a_put_double() local 870 val1 <<= shift_left; in snd_ad1816a_put_double() 874 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double()
|
/kernel/linux/linux-5.10/sound/isa/es1688/ |
D | es1688_lib.c | 813 #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 <<… 836 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1688_get_double() local 855 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1688_get_double() 870 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1688_put_double() local 883 val1 <<= shift_left; in snd_es1688_put_double() 895 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_es1688_put_double() 913 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_es1688_put_double()
|
/kernel/linux/linux-5.10/sound/parisc/ |
D | harmony.c | 685 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_get() local 693 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 701 if (shift_left != shift_right) in snd_harmony_volume_get() 714 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_put() local 726 h->st.gain &= ~( (mask << shift_left ) ); in snd_harmony_volume_put() 727 h->st.gain |= (left << shift_left); in snd_harmony_volume_put() 729 if (shift_left != shift_right) { in snd_harmony_volume_put()
|
/kernel/linux/linux-5.10/sound/spi/ |
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) \
|
/kernel/linux/linux-5.10/sound/pci/ |
D | fm801.c | 893 #define FM801_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 896 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 897 #define FM801_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 902 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 922 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_fm801_get_double() local 929 value[0] = (fm801_ioread16(chip, reg) >> shift_left) & mask; in snd_fm801_get_double() 944 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_fm801_put_double() local 957 (mask << shift_left) | (mask << shift_right), in snd_fm801_put_double() 958 (val1 << shift_left ) | (val2 << shift_right)); in snd_fm801_put_double()
|
D | es1938.c | 1195 #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 <<… 1227 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1938_get_double() local 1238 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1938_get_double() 1253 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1938_put_double() local 1266 val1 <<= shift_left; in snd_es1938_put_double() 1268 mask1 = mask << shift_left; in snd_es1938_put_double()
|
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()
|
/kernel/linux/linux-5.10/sound/sparc/ |
D | cs4231.c | 1407 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_get_double() local 1415 (chip->image[left_reg] >> shift_left) & mask; in snd_cs4231_get_double() 1438 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_put_double() local 1451 val1 <<= shift_left; in snd_cs4231_put_double() 1456 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; 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/ |
D | wss_lib.c | 2097 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_get_double() local 2103 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_wss_get_double() 2121 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_put_double() local 2134 val1 <<= shift_left; in snd_wss_put_double() 2138 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_wss_put_double() 2145 mask = (mask << shift_left) | (mask << shift_right); in snd_wss_put_double()
|
/kernel/linux/linux-5.10/Documentation/sound/soc/ |
D | codec.rst | 95 #define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)
|
/kernel/linux/linux-5.10/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1504 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_get_double() local 1512 ucontrol->value.integer.value[0] = (val >> shift_left) & mask; in snd_ymfpci_get_double() 1521 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_put_double() local 1529 val1 <<= shift_left; in snd_ymfpci_put_double() 1533 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double()
|