/drivers/media/video/bt8xx/ |
H A D | bttv-audio-hook.c | 15 void winview_volume(struct bttv *btv, __u16 volume) argument 21 vol = 32 - ((volume>>11));
|
/drivers/media/video/cx18/ |
H A D | cx18-av-audio.c | 345 static void set_volume(struct cx18 *cx, int volume) argument 347 /* First convert the volume to msp3400 values (0-127) */ 348 int vol = volume >> 9;
|
H A D | cx18-av-core.h | 100 struct v4l2_ctrl *volume; member in struct:cx18_av_state
|
/drivers/media/video/cx25840/ |
H A D | cx25840-audio.c | 481 static void set_volume(struct i2c_client *client, int volume) argument 485 /* Convert the volume to msp3400 values (0-127) */ 486 vol = volume >> 9; 548 set_volume(client, state->volume->val);
|
H A D | cx25840-core.h | 37 /* volume cluster */ 38 struct v4l2_ctrl *volume; member in struct:cx25840_state::__anon1578
|
/drivers/staging/speakup/ |
H A D | speakup_dtlk.h | 42 u_char volume; /* nV; 0-9 */ member in struct:synth_settings
|
/drivers/media/radio/ |
H A D | radio-isa.h | 42 struct { /* mute/volume cluster */ 44 struct v4l2_ctrl *volume; member in struct:radio_isa_card::__anon1544 64 /* Set mute and volume. */ 65 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume); 96 /* The maximum volume for the volume control. If 0, then there 97 is no volume control possible. */
|
H A D | radio-sf16fmr2.c | 30 struct v4l2_ctrl *volume; member in struct:fmr2 42 /* PT2254A/TC9154A volume control pins */ 46 /* volume control presence pin */ 81 /* TC9154A/PT2254A volume control */ 142 int volume, balance, left, right; local 146 volume = ctrl->val; 151 volume = fmr2->volume->cur.val; 157 left = right = volume; 178 fmr2->volume [all...] |
/drivers/mfd/ |
H A D | wl1273-core.c | 151 * wl1273_fm_set_volume() - Set volume. 153 * @volume: The new volume value. 155 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) argument 159 if (volume > WL1273_MAX_VOLUME) 162 if (core->volume == volume) 165 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); 169 core->volume = volume; [all...] |
/drivers/staging/line6/ |
H A D | variax.h | 101 Position of volume dial. 103 int volume; member in struct:usb_line6_variax
|
H A D | playback.c | 25 Software stereo volume control. 27 static void change_volume(struct urb *urb_out, int volume[], argument 32 if (volume[0] == 256 && volume[1] == 256) 33 return; /* maximum volume - no change */ 41 *p = (*p * volume[chn & 1]) >> 8; 52 val = (val * volume[chn & 1]) >> 8; 112 int volume, int bytes_per_frame) 114 if (volume == 0) 115 return; /* zero volume 111 add_monitor_signal(struct urb *urb_out, unsigned char *signal, int volume, int bytes_per_frame) argument [all...] |
/drivers/media/video/cx88/ |
H A D | cx88-tvaudio.c | 138 u32 volume; local 163 volume = cx_sread(SHADOW_AUD_VOL_CTL); 164 cx_swrite(SHADOW_AUD_VOL_CTL, AUD_VOL_CTL, volume);
|
/drivers/media/video/ |
H A D | tda7432.c | 4 * Handles audio functions: volume, balance, tone, loudness 22 * maxvol - set maximium volume to +20db (1), default is 0db(0) 56 MODULE_PARM_DESC(maxvol, "Set maximium volume to +20dB(0) else +0dB(1). Default is +20dB(0)."); 65 int volume; member in struct:tda7432 83 * The TDA7432 controls basic audio functions like volume, balance, 128 /* Lower 7 bits control volume from -79dB to +32dB in 1dB steps 235 t->input, t->volume, t->bass, t->treble, t->lf, t->lr, 239 buf[2] = t->volume; 264 t->volume = 0x3b ; /* -27dB Volume */ 266 t->volume | [all...] |
H A D | wm8739.c | 59 struct v4l2_ctrl *volume; member in struct:wm8739_state::__anon1683 116 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; 117 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; 122 /* set audio volume etc. */ 229 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, 243 v4l2_ctrl_cluster(3, &state->volume); 262 /* set volume/mute */
|
H A D | wm8775.c | 100 u16 volume = (u16)state->vol->val; local 104 vol_l = (min(65536 - balance, 32768) * volume) >> 23; 105 vol_r = (min(balance, (u16)32768) * volume) >> 23; 310 wm8775_set_audio(sd, 1); /* set volume/mute/mux */
|
H A D | msp3400-driver.h | 93 /* volume cluster */ 94 struct v4l2_ctrl *volume; member in struct:msp_state::__anon1617
|
H A D | vivi.c | 172 struct v4l2_ctrl *volume; member in struct:vivi_dev 494 snprintf(str, sizeof(str), " autogain %d, gain %3d, volume %3d ", 495 dev->autogain->cur.val, gain, dev->volume->cur.val); 1257 dev->volume = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
|
/drivers/isdn/mISDN/ |
H A D | dsp_audio.c | 276 * generate different volume changes * 396 * change the volume of the given skb * 399 /* this is a helper function for changing volume of skb. the range may be 400 * -8 to 8, which is a shift to the power of 2. 0 == no volume, 3 == volume*8 403 dsp_change_volume(struct sk_buff *skb, int volume) argument 410 if (volume == 0) 414 if (volume < 0) { 415 shift = volume + 8; 419 shift = volume [all...] |
/drivers/staging/media/go7007/ |
H A D | wis-sony-tuner.c | 189 u16 volume; member in struct:__anon5261 281 mpx_write(client, 0x12, 0x0000, mpx_audio_modes[t->mpxmode].volume); 300 mpx_audio_modes[t->mpxmode].volume);
|
/drivers/media/radio/wl128x/ |
H A D | fmdrv.h | 156 u16 volume; /* Current volume level */ member in struct:fm_rx
|
/drivers/cdrom/ |
H A D | cdrom.c | 148 -- Fixed volume control on SCSI drives (or others with longer audio 220 -- Fix volume control on CD's - old SCSI-II drives now use their own 2685 struct cdrom_volctrl volume; local 2691 if (copy_from_user(&volume, argp, sizeof(volume))) 2693 return cdi->ops->audio_ioctl(cdi, CDROMVOLCTRL, &volume); 2699 struct cdrom_volctrl volume; local 2707 ret = cdi->ops->audio_ioctl(cdi, CDROMVOLREAD, &volume); 2711 if (copy_to_user(argp, &volume, sizeof(volume))) [all...] |
/drivers/media/dvb/ttpci/ |
H A D | av7110.c | 85 static int volume = 255; variable 105 module_param(volume, int, 0444); 106 MODULE_PARM_DESC(volume, "initial volume: default 255 (range 0-255)"); 140 /* set internal volume control to maximum */ 144 printk("dvb-ttpci:cannot set internal volume to maximum:%d\n",ret); 220 printk("dvb-ttpci:cannot set volume :%d\n",ret); 2704 /* set initial volume in mixer struct */ 2705 av7110->mixer.volume_left = volume; 2706 av7110->mixer.volume_right = volume; [all...] |
/drivers/staging/media/easycap/ |
H A D | easycap.h | 426 int volume; member in struct:easycap
|
/drivers/staging/telephony/ |
H A D | ixj.c | 114 * Added linear volume ioctls 429 static void set_rec_volume(IXJ *j, int volume); 531 static inline void set_play_volume(IXJ *j, int volume) argument 534 printk(KERN_INFO "IXJ: /dev/phone%d Setting Play Volume to 0x%4.4x\n", j->board, volume); 536 ixj_WriteDSPCommand(volume, j); 539 static int set_play_volume_linear(IXJ *j, int volume) argument 544 printk(KERN_INFO "IXJ: /dev/phone %d Setting Linear Play Volume to 0x%4.4x\n", j->board, volume); 545 if(volume > 100 || volume < 0) { 573 newvolume = (dspplaymax * volume) / 10 595 int volume, newvolume, dspplaymax; local 4004 set_dtmf_prescale(IXJ *j, int volume) argument 4016 set_rec_volume(IXJ *j, int volume) argument 4031 set_rec_volume_linear(IXJ *j, int volume) argument 4088 int volume, newvolume, dsprecmax; local [all...] |
/drivers/media/video/cx231xx/ |
H A D | cx231xx.h | 658 int volume; member in struct:cx231xx
|