[go: nahoru, domu]

Searched refs:volume (Results 1 - 25 of 52) sorted by relevance

123

/drivers/staging/speakup/
H A Dspeakup_dtlk.h42 u_char volume; /* nV; 0-9 */ member in struct:synth_settings
/drivers/media/radio/
H A Dradio-isa.h43 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 Dradio-sf16fmr2.c34 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...]
H A Dradio-isa.c140 isa->volume ? isa->volume->val : 0);
236 isa->volume = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops,
296 ops->s_mute_volume(isa, true, isa->volume ? isa->volume->cur.val : 0);
H A Dradio-ma901.c4 * 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
/drivers/mfd/
H A Dwl1273-core.c151 * 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/pci/bt8xx/
H A Dbttv-audio-hook.h10 void winview_volume (struct bttv *btv, __u16 volume);
H A Dbttv-audio-hook.c15 void winview_volume(struct bttv *btv, __u16 volume) argument
21 vol = 32 - ((volume>>11));
/drivers/media/i2c/
H A Dwm8739.c58 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 Dtda7432.c4 * 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 Dwm8775.c99 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 Dsony-btf-mpx.c137 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 Dmsp3400-driver.h93 /* volume cluster */
94 struct v4l2_ctrl *volume; member in struct:msp_state::__anon2175
H A Dmsp3400-driver.c356 /* audio volume cluster */
362 v4l_dbg(1, msp_debug, client, "mute=%s scanning=%s volume=%d\n",
365 state->volume->val);
412 /* Force an update of the volume/mute cluster */
413 v4l2_ctrl_lock(state->volume);
414 state->volume->val = state->volume->cur.val;
416 msp_s_ctrl(state->volume);
417 v4l2_ctrl_unlock(state->volume);
761 /* Has scart2 a volume contro
[all...]
H A Dtvaudio.c118 /* 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/staging/line6/
H A Dplayback.c25 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 Ddsp_audio.c276 * 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...]
H A Ddsp.h241 extern void dsp_change_volume(struct sk_buff *skb, int volume);
/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c481 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 Dcx25840-core.h49 /* volume cluster */
50 struct v4l2_ctrl *volume; member in struct:cx25840_state::__anon2172
/drivers/md/
H A DKconfig10 Required for RAID and logical volume management.
186 Device-mapper is a low level volume manager. It works by allowing
191 Higher level volume managers such as LVM2 use this driver.
247 Allow volume managers to take writable snapshots of a device.
303 Allow volume managers to mirror logical volumes, also
359 Allow volume managers to support multipath hardware.
/drivers/media/radio/wl128x/
H A Dfmdrv.h157 u16 volume; /* Current volume level */ member in struct:fm_rx
/drivers/media/pci/cx18/
H A Dcx18-av-audio.c345 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;
/drivers/block/drbd/
H A Ddrbd_protocol.h103 u16 volume; member in struct:p_header100
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw-internal.h369 VCREATE_DATA(volume);

Completed in 554 milliseconds

123