/linux-master/sound/drivers/ |
H A D | dummy.c | 739 int left, right; local 746 right = ucontrol->value.integer.value[1]; 747 if (right < mixer_volume_level_min) 748 right = mixer_volume_level_min; 749 if (right > mixer_volume_level_max) 750 right = mixer_volume_level_max; 753 dummy->mixer_volume[addr][1] != right; 755 dummy->mixer_volume[addr][1] = right; 787 int left, right; local 790 right [all...] |
/linux-master/sound/drivers/opl3/ |
H A D | opl3_synth.c | 21 * (9 in the left and 9 in the right). 526 if (voice->right)
|
/linux-master/sound/drivers/vx/ |
H A D | vx_mixer.c | 89 * @right: right output level 91 static void vx_set_analog_output_level(struct vx_core *chip, int codec, int left, int right) argument 94 right = chip->hw->output_level_max - right; 98 chip->ops->akm_write(chip, XX_CODEC_LEVEL_RIGHT_REGISTER, right); 102 vx_set_codec_reg(chip, codec, XX_CODEC_LEVEL_RIGHT_REGISTER, right);
|
/linux-master/sound/hda/ |
H A D | hdac_regmap.c | 142 * fake register to deal both left and right channels by a single 145 * for the left and the upper 8bit for the right channel. 155 /* read a pseudo stereo amp register (16bit left+right) */ 159 unsigned int left, right; local 166 err = snd_hdac_exec_verb(codec, reg | AC_AMP_GET_RIGHT, 0, &right); 169 *val = left | (right << 8); 173 /* write a pseudo stereo amp register (16bit left+right) */ 178 unsigned int verb, left, right; local 188 right = (val >> 8) & 0xff; 189 if (left == right) { [all...] |
/linux-master/sound/isa/es1688/ |
H A D | es1688_lib.c | 840 unsigned char left, right; local 849 right = snd_es1688_mixer_read(chip, right_reg); 851 right = snd_es1688_read(chip, right_reg); 853 right = left; 856 ucontrol->value.integer.value[1] = (right >> shift_right) & mask;
|
/linux-master/sound/isa/ |
H A D | es18xx.c | 1189 unsigned char left, right; local 1193 right = snd_es18xx_reg_read(chip, right_reg); 1195 right = left; 1197 ucontrol->value.integer.value[1] = (right >> shift_right) & mask;
|
/linux-master/sound/isa/gus/ |
H A D | gus_mixer.c | 80 unsigned char left, right; local 84 right = gus->gf1.ics_regs[addr][1]; 87 ucontrol->value.integer.value[1] = right & 127;
|
/linux-master/sound/isa/msnd/ |
H A D | msnd_pinnacle_mixer.c | 183 static int snd_msndmix_set(struct snd_msnd *dev, int d, int left, int right) argument 195 bRight = right * 0xff / 100; 196 wRight = right * 0xffff / 100; 255 int left, right; local 259 right = ucontrol->value.integer.value[1] % 101; 262 || msnd->right_levels[addr] != right; 263 snd_msndmix_set(msnd, addr, left, right);
|
/linux-master/sound/isa/opti9xx/ |
H A D | miro.c | 475 int left, right, left_old, right_old; local 480 right = ucontrol->value.integer.value[1]; 507 right < -0x7f || right > 0x7f) 531 if (right >= 0) { 532 error = aci_setvalue(aci, setreg_right, right); 535 right, error); 539 error = aci_setvalue(aci, setreg_right, 0x80 - right); 542 0x80 - right, error); 552 right < [all...] |
/linux-master/sound/isa/sb/ |
H A D | sb_mixer.c | 117 unsigned char left, right; local 121 right = (snd_sbmixer_read(sb, right_reg) >> right_shift) & mask; 124 ucontrol->value.integer.value[1] = right; 138 unsigned char left, right, oleft, oright; local 141 right = (ucontrol->value.integer.value[1] & mask) << right_shift; 145 left = (oleft & ~((mask << left_shift) | (mask << right_shift))) | left | right; 153 right = (oright & ~(mask << right_shift)) | right; 154 change = left != oleft || right != oright; 157 snd_sbmixer_write(sb, right_reg, right); [all...] |
/linux-master/sound/isa/wss/ |
H A D | wss_lib.c | 264 " 0x01: right input = 0x%02x " 274 " 0x03: GF1 right input = 0x%02x " 275 " 0x13: right line in = 0x%02x\n", 284 " 0x05: CD right input = 0x%02x " 294 " 0x07: right output = 0x%02x " 295 " 0x17: right MIC (PnP) = 0x%02x\n", 315 " 0x1b: right line out = 0x%02x\n", 1959 unsigned short left, right; local 1966 right = ucontrol->value.enumerated.item[1] << 6; 1969 right [all...] |
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 131 * from user space into our buffer at the right frequency. They take care about 133 * to convert samples into the right frequency/encoding. They will only work on 170 u_char *right = left+write_sq_block_size_half; local 175 || get_user(*right++, userPtr++)) 209 u_char *right = left+write_sq_block_size_half; \ 219 *right++ = convsample(data); \
|
/linux-master/sound/parisc/ |
H A D | harmony.c | 675 int left, right; local 680 right = (h->st.gain >> shift_right) & mask; 683 right = mask - right; 688 ucontrol->value.integer.value[1] = right; 704 int left, right; local 716 right = ucontrol->value.integer.value[1] & mask; 718 right = mask - right; 720 h->st.gain |= (right << shift_righ [all...] |
/linux-master/sound/pci/ |
H A D | ak4531_codec.c | 147 int left, right; local 151 right = (ak4531->regs[right_reg] >> right_shift) & mask; 155 right = mask - right; 158 ucontrol->value.integer.value[1] = right; 172 int left, right; local 175 right = ucontrol->value.integer.value[1] & mask; 178 right = mask - right; 181 right << [all...] |
H A D | cmipci.c | 258 #define CM_PROINV 0x02 /* SBPro left/right channel switching */ 280 #define CM_WAVEINR 0x04 /* digical wave rec. right */ 288 #define CM_RAUXREN 0x80 /* AUX right capture */ 292 #define CM_VAUXRM 0x20 /* AUX right mute */ 2048 int left, right, oleft, oright; local 2056 right = ucontrol->value.integer.value[1] & reg.mask; 2058 right = reg.mask - right; 2059 right <<= reg.right_shift; 2061 right [all...] |
H A D | es1938.c | 1209 unsigned char left, right; local 1213 right = snd_es1938_reg_read(chip, right_reg); 1215 right = left; 1217 ucontrol->value.integer.value[1] = (right >> shift_right) & mask;
|
H A D | sonicvibes.c | 351 " 0x01: right input = 0x%02x 0x21: synth rate high = 0x%02x\n", 357 " 0x03: right AUX1 = 0x%02x 0x23: ADC alt rate = 0x%02x\n", 363 " 0x05: right CD = 0x%02x 0x25: ADC pll N = 0x%02x\n", 369 " 0x07: right line = 0x%02x 0x27: Synth pll N = 0x%02x\n", 381 " 0x0b: right synth = 0x%02x 0x2b: drive ctrl = 0x%02x\n", 387 " 0x0d: right AUX2 = 0x%02x 0x2d: SRS center = 0x%02x\n", 393 " 0x0f: right analog = 0x%02x 0x2f: --- = 0x%02x\n", 399 " 0x11: right PCM = 0x%02x 0x31: analog power = 0x%02x\n", 907 unsigned short left, right, oval1, oval2; local 914 right [all...] |
/linux-master/sound/pci/au88x0/ |
H A D | au88x0_a3d.c | 162 static void a3dsrc_SetHrtfOutput(a3dsrc_t * a, short left, short right) argument 168 a3d_addrA(a->slice, a->source, A3D_A_HrtfOutR), right); 223 static void a3dsrc_GetHrtfOutput(a3dsrc_t * a, short *left, short *right) 229 *right = 327 static void a3dsrc_SetGainTarget(a3dsrc_t * a, short left, short right) argument 332 (right << 0x10) | left); 335 static void a3dsrc_SetGainCurrent(a3dsrc_t * a, short left, short right) argument 340 (right << 0x10) | left); 344 static void a3dsrc_GetGainTarget(a3dsrc_t * a, short *left, short *right) 347 *right 703 vortex_a3d_coord2ild(a3d_LRGains_t ild, int left, int right) argument [all...] |
H A D | au88x0_xtalk.c | 558 vortex_XtalkHw_SetDelay(vortex_t * vortex, unsigned short right, argument 565 esp0 = (esp0 & 0xffffE0ff) | ((right & 0x1F) << 8); 595 vortex_XtalkHw_GetDelay(vortex_t * vortex, unsigned short *right, 601 *right = (esp0 >> 8) & 0x1f;
|
/linux-master/sound/pci/cs46xx/ |
H A D | dsp_spos.c | 259 /* set left and right validity bits and 266 /* left and right validity bits */ (1 << 13) | (1 << 12); 1633 /* right and left validate bit */ 1658 /* right and left validate bit */ 1859 int cs46xx_dsp_set_dac_volume (struct snd_cs46xx * chip, u16 left, u16 right) argument 1869 cs46xx_dsp_scb_set_volume (chip,scb,left,right); 1876 cs46xx_dsp_scb_set_volume (chip,scb,left,right); 1881 ins->dac_volume_right = right; 1888 int cs46xx_dsp_set_iec958_volume (struct snd_cs46xx * chip, u16 left, u16 right) argument 1896 left,right); [all...] |
/linux-master/sound/pci/ctxfi/ |
H A D | ctdaio.c | 29 unsigned short right; member in struct:daio_rsc_idx 33 [LINEO1] = {.left = 0x00, .right = 0x01}, 34 [LINEO2] = {.left = 0x18, .right = 0x19}, 35 [LINEO3] = {.left = 0x08, .right = 0x09}, 36 [LINEO4] = {.left = 0x10, .right = 0x11}, 37 [LINEIM] = {.left = 0x1b5, .right = 0x1bd}, 38 [SPDIFOO] = {.left = 0x20, .right = 0x21}, 39 [SPDIFIO] = {.left = 0x15, .right = 0x1d}, 40 [SPDIFI1] = {.left = 0x95, .right = 0x9d}, 44 [LINEO1] = {.left = 0x40, .right [all...] |
/linux-master/sound/pci/ymfpci/ |
H A D | ymfpci.h | 379 u16 right; member in struct:snd_ymfpci::snd_ymfpci_pcm_mixer
|
H A D | ymfpci_main.c | 133 return 0x40000000; /* FIXME: What's the right value? */ 330 volume = cpu_to_le32(chip->pcm_mixer[subs].right << 15); 507 [ypcm->substream->number].right << 15); 1719 ucontrol->value.integer.value[1] = chip->pcm_mixer[subs].right; 1732 ucontrol->value.integer.value[1] != chip->pcm_mixer[subs].right) { 1734 chip->pcm_mixer[subs].right = ucontrol->value.integer.value[1]; 1737 if (chip->pcm_mixer[subs].right > 0x8000) 1738 chip->pcm_mixer[subs].right = 0x8000; 1871 chip->pcm_mixer[idx].right = 0x8000;
|
/linux-master/sound/soc/codecs/ |
H A D | cros_ec_codec.c | 149 int right = ucontrol->value.integer.value[1]; local 153 if (left > max_dmic_gain || right > max_dmic_gain) 156 dev_dbg(component->dev, "set mic gain to %u, %u\n", left, right); 168 p.set_gain_idx_param.gain = right;
|
H A D | cs4270.c | 267 * SND_SOC_DAIFMT_LEFT_J. The CS4270 codec also supports right-justified 439 int right = !ucontrol->value.integer.value[1]; local 442 (right ? CS4270_MUTE_DAC_B : 0);
|