/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 <<… 515 shift_right, mask, invert, xtlv) \ argument 521 (shift_right << 19) | (mask << 24) | (invert << 22), \ 542 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_cs4236_get_double() local 548 ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; in snd_cs4236_get_double() 564 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_cs4236_put_double() local 577 val2 <<= shift_right; in snd_cs4236_put_double() 581 val2 = (chip->eimage[CS4236_REG(right_reg)] & ~(mask << shift_right)) | val2; in snd_cs4236_put_double() 586 …val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_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 201 (shift_right << 19) | (mask << 24) | (invert << 22) } 215 shift_left, shift_right, mask, invert, xtlv) \ argument 224 (shift_right << 19) | (mask << 24) | (invert << 22), \
|
D | soc.h | 50 #define SOC_DOUBLE(xname, xreg, shift_left, shift_right, xmax, xinvert) \ argument 55 {.reg = xreg, .shift = shift_left, .rshift = shift_right, \ 64 #define SOC_DOUBLE_TLV(xname, xreg, shift_left, shift_right, xmax, xinvert, tlv_array) \ argument 72 {.reg = xreg, .shift = shift_left, .rshift = shift_right,\ 123 #define SOC_DOUBLE_EXT(xname, xreg, shift_left, shift_right, xmax, xinvert,\ argument 129 {.reg = xreg, .shift = shift_left, .rshift = shift_right, \ 140 #define SOC_DOUBLE_EXT_TLV(xname, xreg, shift_left, shift_right, xmax, xinvert,\ argument 149 {.reg = xreg, .shift = shift_left, .rshift = shift_right, \
|
/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 <<… 418 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_opl3sa2_get_double() local 424 ucontrol->value.integer.value[1] = (chip->ctlregs[right_reg] >> shift_right) & mask; in snd_opl3sa2_get_double() 440 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_opl3sa2_put_double() local 453 val2 <<= shift_right; in snd_opl3sa2_put_double() 459 val2 = (oval2 & ~(mask << shift_right)) | val2; in snd_opl3sa2_put_double() 465 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_opl3sa2_put_double()
|
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 <<… 1212 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es18xx_get_double() local 1223 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es18xx_get_double() 1237 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es18xx_put_double() local 1250 val2 <<= shift_right; in snd_es18xx_put_double() 1252 mask2 = mask << shift_right; in snd_es18xx_put_double()
|
/linux-2.6.39/kernel/time/ |
D | ntp.c | 122 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk() 191 txc->ppsfreq = shift_right((pps_freq >> PPM_SCALE_INV_SHIFT) * in pps_fill_timex() 208 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk() 683 txc->offset = shift_right(time_offset * NTP_INTERVAL_FREQ, in do_adjtimex() 694 txc->freq = shift_right((time_freq >> PPM_SCALE_INV_SHIFT) * in do_adjtimex() 825 delta = shift_right(ftemp - pps_freq, NTP_SCALE_SHIFT); in hardpps_update_freq()
|
/linux-2.6.39/sound/pci/ac97/ |
D | ac97_patch.h | 40 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 44 ….private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) | ((mask) << 16) | ((invert) …
|
/linux-2.6.39/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 826 #define AD1816A_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 831 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 834 #define AD1816A_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 837 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 856 int shift_right = (kcontrol->private_value >> 12) & 0x0f; in snd_ad1816a_get_double() local 864 ucontrol->value.integer.value[1] = (val >> shift_right) & mask; in snd_ad1816a_get_double() 879 int shift_right = (kcontrol->private_value >> 12) & 0x0f; in snd_ad1816a_put_double() local 892 val2 <<= shift_right; in snd_ad1816a_put_double() 895 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double()
|
/linux-2.6.39/sound/parisc/ |
D | harmony.c | 717 int shift_right = (kc->private_value >> 8) & 0xff; in snd_harmony_volume_get() local 725 right = (h->st.gain >> shift_right) & mask; in snd_harmony_volume_get() 732 if (shift_left != shift_right) in snd_harmony_volume_get() 746 int shift_right = (kc->private_value >> 8) & 0xff; in snd_harmony_volume_put() local 760 if (shift_left != shift_right) { in snd_harmony_volume_put() 764 h->st.gain &= ~( (mask << shift_right) ); in snd_harmony_volume_put() 765 h->st.gain |= (right << shift_right); in snd_harmony_volume_put()
|
/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 <<… 875 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1688_get_double() local 894 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es1688_get_double() 909 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1688_put_double() local 922 val2 <<= shift_right; in snd_es1688_put_double() 934 val2 = (oval2 & ~(mask << shift_right)) | val2; in snd_es1688_put_double() 951 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_es1688_put_double()
|
/linux-2.6.39/sound/spi/ |
D | at73c213.c | 478 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_at73c213_stereo_get() local 487 (chip->reg_image[right_reg] >> shift_right) & mask; in snd_at73c213_stereo_get() 508 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_at73c213_stereo_put() local 521 val2 <<= shift_right; in snd_at73c213_stereo_put() 526 val2 = (chip->reg_image[right_reg] & ~(mask << shift_right)) | val2; in snd_at73c213_stereo_put() 655 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 664 | (shift_left << 16) | (shift_right << 19) \
|
/linux-2.6.39/sound/pci/ |
D | fm801.c | 1077 #define FM801_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 1080 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 1081 #define FM801_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 1086 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ 1107 int shift_right = (kcontrol->private_value >> 12) & 0x0f; in snd_fm801_get_double() local 1113 ucontrol->value.integer.value[1] = (inw(chip->port + reg) >> shift_right) & mask; in snd_fm801_get_double() 1128 int shift_right = (kcontrol->private_value >> 12) & 0x0f; in snd_fm801_put_double() local 1140 (mask << shift_left) | (mask << shift_right), in snd_fm801_put_double() 1141 (val1 << shift_left ) | (val2 << shift_right)); in snd_fm801_put_double()
|
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 <<… 1269 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1938_get_double() local 1280 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es1938_get_double() 1295 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1938_put_double() local 1308 val2 <<= shift_right; in snd_es1938_put_double() 1310 mask2 = mask << shift_right; in snd_es1938_put_double()
|
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 <<… 1043 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_sonicvibes_get_double() local 1049 ucontrol->value.integer.value[1] = (snd_sonicvibes_in1(sonic, right_reg) >> shift_right) & mask; in snd_sonicvibes_get_double() 1064 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_sonicvibes_put_double() local 1077 val2 <<= shift_right; in snd_sonicvibes_put_double() 1082 val2 = (oval2 & ~(mask << shift_right)) | val2; in snd_sonicvibes_put_double()
|
/linux-2.6.39/include/linux/ |
D | timex.h | 255 #define shift_right(x, s) ({ \ macro
|
/linux-2.6.39/sound/sparc/ |
D | cs4231.c | 1427 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_cs4231_get_double() local 1436 (chip->image[right_reg] >> shift_right) & mask; in snd_cs4231_get_double() 1458 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_cs4231_put_double() local 1471 val2 <<= shift_right; in snd_cs4231_put_double() 1476 val2 = (chip->image[right_reg] & ~(mask << shift_right)) | val2; in snd_cs4231_put_double() 1494 shift_right, mask, invert) \ argument 1499 ((shift_right) << 19) | ((mask) << 24) | ((invert) << 22) }
|
/linux-2.6.39/sound/isa/wss/ |
D | wss_lib.c | 2141 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_wss_get_double() local 2147 ucontrol->value.integer.value[1] = (chip->image[right_reg] >> shift_right) & mask; in snd_wss_get_double() 2165 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_wss_put_double() local 2178 val2 <<= shift_right; in snd_wss_put_double() 2182 val2 = (chip->image[right_reg] & ~(mask << shift_right)) | val2; in snd_wss_put_double() 2188 mask = (mask << shift_left) | (mask << shift_right); in snd_wss_put_double()
|
/linux-2.6.39/Documentation/sound/alsa/soc/ |
D | codec.txt | 106 #define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)
|
/linux-2.6.39/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1520 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_get_double() local 1529 ucontrol->value.integer.value[1] = (val >> shift_right) & mask; in snd_ymfpci_get_double() 1537 unsigned int shift_left = 0, shift_right = 16, mask = 16383; in snd_ymfpci_put_double() local 1546 val2 <<= shift_right; in snd_ymfpci_put_double() 1549 val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ymfpci_put_double()
|
/linux-2.6.39/sound/soc/codecs/ |
D | twl6040.c | 923 #define SOC_TWL6040_DOUBLE_TLV(xname, xreg, shift_left, shift_right, xmax,\ argument 932 {.reg = xreg, .shift = shift_left, .rshift = shift_right,\
|
D | twl4030.c | 868 #define SOC_DOUBLE_TLV_TWL4030(xname, xreg, shift_left, shift_right, xmax,\ argument 878 {.reg = xreg, .shift = shift_left, .rshift = shift_right,\
|