/linux-6.1.9/sound/isa/cs423x/ |
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-6.1.9/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 …]
|
/linux-6.1.9/sound/isa/ |
D | opl3sa2.c | 380 #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 <<… 400 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_get_double() local 406 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double() 422 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_put_double() local 435 val1 <<= shift_left; in snd_opl3sa2_put_double() 441 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_opl3sa2_put_double() 448 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_opl3sa2_put_double()
|
D | es18xx.c | 1163 #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 <<… 1185 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_get_double() local 1196 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es18xx_get_double() 1210 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_put_double() local 1223 val1 <<= shift_left; in snd_es18xx_put_double() 1225 mask1 = mask << shift_left; in snd_es18xx_put_double()
|
/linux-6.1.9/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) …
|
/linux-6.1.9/sound/isa/ad1816a/ |
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-6.1.9/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()
|
/linux-6.1.9/sound/parisc/ |
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-6.1.9/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) \
|
/linux-6.1.9/sound/pci/ |
D | fm801.c | 894 #define FM801_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 897 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 898 #define FM801_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 903 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 923 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_fm801_get_double() local 930 value[0] = (fm801_ioread16(chip, reg) >> shift_left) & mask; in snd_fm801_get_double() 945 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_fm801_put_double() local 958 (mask << shift_left) | (mask << shift_right), in snd_fm801_put_double() 959 (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()
|
/linux-6.1.9/sound/sparc/ |
D | cs4231.c | 1406 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_get_double() local 1414 (chip->image[left_reg] >> shift_left) & mask; in snd_cs4231_get_double() 1437 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_put_double() local 1450 val1 <<= shift_left; in snd_cs4231_put_double() 1455 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | 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/wss/ |
D | wss_lib.c | 2055 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_get_double() local 2061 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_wss_get_double() 2079 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_put_double() local 2092 val1 <<= shift_left; in snd_wss_put_double() 2096 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_wss_put_double() 2103 mask = (mask << shift_left) | (mask << shift_right); in snd_wss_put_double()
|
/linux-6.1.9/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1513 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_get_double() local 1521 ucontrol->value.integer.value[0] = (val >> shift_left) & mask; in snd_ymfpci_get_double() 1530 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_put_double() local 1538 val1 <<= shift_left; in snd_ymfpci_put_double() 1542 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double()
|
/linux-6.1.9/Documentation/sound/soc/ |
D | codec.rst | 95 #define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)
|