/drivers/media/i2c/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 | 49 /* volume cluster */ 50 struct v4l2_ctrl *volume; member in struct:cx25840_state::__anon2172
|
/drivers/media/pci/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/pci/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/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 | 43 struct { /* mute/volume cluster */ 45 struct v4l2_ctrl *volume; member in struct:radio_isa_card::__anon2295 65 /* Set mute and volume. */ 66 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume); 100 /* The maximum volume for the volume control. If 0, then there 101 is no volume control possible. */
|
H A D | radio-ma901.c | 4 * only deals with initialization, frequency setting, volume. 95 u16 volume; member in struct:ma901radio_device 149 radio->volume = vol_to_set; 290 case V4L2_CID_AUDIO_VOLUME: /* set volume */ 299 * on usb port and on resume it will start to play again based on freq, volume 387 * and windows program just emulate it using volume control. 422 /* TODO: we can get some statistics (freq, volume) from device
|
H A D | radio-sf16fmr2.c | 34 struct v4l2_ctrl *volume; member in struct:fmr2 52 /* PT2254A/TC9154A volume control pins */ 56 /* volume control presence pin */ 91 /* TC9154A/PT2254A volume control */ 152 int volume, balance, left, right; local 156 volume = ctrl->val; 161 volume = fmr2->volume->cur.val; 167 left = right = volume; 187 /* FMR2 can have volume contro [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/media/i2c/ |
H A D | sony-btf-mpx.c | 137 u16 volume; member in struct:__anon2213 233 mpx_write(client, 0x12, 0x0000, mpx_audio_modes[mode].volume); 252 mpx_audio_modes[mode].volume);
|
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) 57 MODULE_PARM_DESC(maxvol, "Set maximium volume to +20dB(0) else +0dB(1). Default is +20dB(0)."); 93 * The TDA7432 controls basic audio functions like volume, balance, 138 /* Lower 7 bits control volume from -79dB to +32dB in 1dB steps 275 u8 bass, treble, volume; local 306 volume = 0x6f - ctrl->val; 308 volume |= TDA7432_LD_ON; 310 tda7432_write(sd, TDA7432_VL, volume);
|
H A D | wm8739.c | 58 struct v4l2_ctrl *volume; member in struct:wm8739_state::__anon2223 115 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; 116 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; 121 /* set audio volume etc. */ 220 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, 233 v4l2_ctrl_cluster(3, &state->volume); 252 /* set volume/mute */
|
H A D | wm8775.c | 99 u16 volume = (u16)state->vol->val; local 103 vol_l = (min(65536 - balance, 32768) * volume) >> 23; 104 vol_r = (min(balance, (u16)32768) * volume) >> 23; 298 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::__anon2175
|
H A D | tvaudio.c | 118 /* volume/balance cluster */ 119 struct v4l2_ctrl *volume; member in struct:CHIPSTATE::__anon2219 530 #define TDA9855_VZCM 1<<4 /* If set, don't change volume till zero crossing*/ 1119 #define TDA9875_CH1V 0x0c /*Channel 1 volume (mute)*/ 1120 #define TDA9875_CH2V 0x0d /*Channel 2 volume (mute)*/ 1127 #define TDA9875_MVL 0x1a /* Main volume gauche */ 1128 #define TDA9875_MVR 0x1b /* Main volume droite */ 1132 #define TDA9875_AVL 0x20 /* Auxiliary volume gauche */ 1133 #define TDA9875_AVR 0x21 /* Auxiliary volume droite */ 1168 chip_write(chip, TDA9875_CH1V, 0x10); /* Channel volume 1709 u32 volume, balance; local [all...] |
/drivers/media/pci/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/staging/line6/ |
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 */ 42 *p = (*p * volume[chn & 1]) >> 8; 55 val = (val * volume[chn & 1]) >> 8; 115 int volume, int bytes_per_frame) 117 if (volume == 0) 118 return; /* zero volume 114 add_monitor_signal(struct urb *urb_out, unsigned char *signal, int volume, int bytes_per_frame) argument [all...] |
/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/media/radio/wl128x/ |
H A D | fmdrv.h | 157 u16 volume; /* Current volume level */ member in struct:fm_rx
|
/drivers/block/drbd/ |
H A D | drbd_protocol.h | 103 u16 volume; member in struct:p_header100
|
H A D | drbd_nl.c | 159 adm_ctx->volume = VOLUME_UNSPECIFIED; 178 adm_ctx->volume = nla_get_u32(nla); 247 adm_ctx->volume != VOLUME_UNSPECIFIED && 248 adm_ctx->volume != adm_ctx->device->vnr) { 249 pr_warning("request: minor=%u, volume=%u; but that minor is volume %u in %s\n", 250 adm_ctx->minor, adm_ctx->volume, 253 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists as different volume"); 2949 /* We need to add connection name and volume number information still. 3075 unsigned volume local [all...] |
/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 2704 struct cdrom_volctrl volume; local 2710 if (copy_from_user(&volume, argp, sizeof(volume))) 2712 return cdi->ops->audio_ioctl(cdi, CDROMVOLCTRL, &volume); 2718 struct cdrom_volctrl volume; local 2726 ret = cdi->ops->audio_ioctl(cdi, CDROMVOLREAD, &volume); 2730 if (copy_to_user(argp, &volume, sizeof(volume))) [all...] |
/drivers/media/pci/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/media/platform/vivid/ |
H A D | vivid-core.h | 192 struct v4l2_ctrl *volume; member in struct:vivid_dev
|