Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 60) sorted by relevance

123

/drivers/mfd/
Dwl1273-core.c155 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) in wl1273_fm_set_volume() argument
159 if (volume > WL1273_MAX_VOLUME) in wl1273_fm_set_volume()
162 if (core->volume == volume) in wl1273_fm_set_volume()
165 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); in wl1273_fm_set_volume()
169 core->volume = volume; in wl1273_fm_set_volume()
/drivers/media/radio/
Dradio-sf16fmr2.c34 struct v4l2_ctrl *volume; member
152 int volume, balance, left, right; in fmr2_s_ctrl() local
156 volume = ctrl->val; in fmr2_s_ctrl()
161 volume = fmr2->volume->cur.val; in fmr2_s_ctrl()
167 left = right = volume; in fmr2_s_ctrl()
189 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
Dradio-isa.h45 struct v4l2_ctrl *volume; member
66 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
Dradio-isa.c140 isa->volume ? isa->volume->val : 0); in radio_isa_s_ctrl()
236 isa->volume = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops, in radio_isa_common_probe()
296 ops->s_mute_volume(isa, true, isa->volume ? isa->volume->cur.val : 0); in radio_isa_common_remove()
Dradio-ma901.c95 u16 volume; member
149 radio->volume = vol_to_set; in ma901radio_set_volume()
/drivers/media/i2c/
Dwm8739.c58 struct v4l2_ctrl *volume; member
115 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
116 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
213 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
226 v4l2_ctrl_cluster(3, &state->volume); in wm8739_probe()
Dtda7432.c275 u8 bass, treble, volume; in tda7432_s_ctrl() local
306 volume = 0x6f - ctrl->val; in tda7432_s_ctrl()
308 volume |= TDA7432_LD_ON; in tda7432_s_ctrl()
310 tda7432_write(sd, TDA7432_VL, volume); in tda7432_s_ctrl()
Dmsp3400-driver.c365 state->volume->val); in msp_s_ctrl()
413 v4l2_ctrl_lock(state->volume); in msp_update_volume()
414 state->volume->val = state->volume->cur.val; in msp_update_volume()
416 msp_s_ctrl(state->volume); in msp_update_volume()
417 v4l2_ctrl_unlock(state->volume); in msp_update_volume()
808 state->volume = v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe()
822 v4l2_ctrl_cluster(2, &state->volume); in msp_probe()
Dwm8775.c99 u16 volume = (u16)state->vol->val; in wm8775_set_audio() local
103 vol_l = (min(65536 - balance, 32768) * volume) >> 23; in wm8775_set_audio()
104 vol_r = (min(balance, (u16)32768) * volume) >> 23; in wm8775_set_audio()
Dsony-btf-mpx.c137 u16 volume; member
233 mpx_write(client, 0x12, 0x0000, mpx_audio_modes[mode].volume); in mpx_setup()
252 mpx_audio_modes[mode].volume); in mpx_setup()
Dtvaudio.c119 struct v4l2_ctrl *volume; member
1709 u32 volume, balance; in tvaudio_s_ctrl() local
1712 volume = chip->volume->val; in tvaudio_s_ctrl()
1714 left = (min(65536U - balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
1715 right = (min(balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
1964 chip->volume = v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe()
1971 v4l2_ctrl_cluster(2, &chip->volume); in tvaudio_probe()
Dmsp3400-driver.h94 struct v4l2_ctrl *volume; member
/drivers/isdn/mISDN/
Ddsp_audio.c391 dsp_change_volume(struct sk_buff *skb, int volume) in dsp_change_volume() argument
398 if (volume == 0) in dsp_change_volume()
402 if (volume < 0) { in dsp_change_volume()
403 shift = volume + 8; in dsp_change_volume()
407 shift = volume + 7; in dsp_change_volume()
Ddsp.h241 extern void dsp_change_volume(struct sk_buff *skb, int volume);
/drivers/media/i2c/cx25840/
Dcx25840-audio.c481 static void set_volume(struct i2c_client *client, int volume) in set_volume() argument
486 vol = volume >> 9; in set_volume()
548 set_volume(client, state->volume->val); in cx25840_audio_s_ctrl()
Dcx25840-core.h58 struct v4l2_ctrl *volume; member
/drivers/media/pci/cx18/
Dcx18-av-audio.c345 static void set_volume(struct cx18 *cx, int volume) in set_volume() argument
348 int vol = volume >> 9; in set_volume()
/drivers/staging/speakup/
Dspeakup_dtlk.h48 u_char volume; /* nV; 0-9 */ member
/drivers/media/pci/bt8xx/
Dbttv-audio-hook.c15 void winview_volume(struct bttv *btv, __u16 volume) in winview_volume() argument
21 vol = 32 - ((volume>>11)); in winview_volume()
Dbttv-audio-hook.h10 void winview_volume (struct bttv *btv, __u16 volume);
/drivers/media/pci/cx88/
Dcx88-tvaudio.c138 u32 volume; in set_audio_finish() local
163 volume = cx_sread(SHADOW_AUD_VOL_CTL); in set_audio_finish()
164 cx_swrite(SHADOW_AUD_VOL_CTL, AUD_VOL_CTL, volume); in set_audio_finish()
/drivers/md/
DKconfig11 Required for RAID and logical volume management.
204 Device-mapper is a low level volume manager. It works by allowing
209 Higher level volume managers such as LVM2 use this driver.
275 Allow volume managers to take writable snapshots of a device.
343 Allow volume managers to mirror logical volumes, also
400 Allow volume managers to support multipath hardware.
/drivers/media/radio/wl128x/
Dfmdrv.h157 u16 volume; /* Current volume level */ member
/drivers/block/drbd/
Ddrbd_nl.c159 adm_ctx->volume = VOLUME_UNSPECIFIED; in drbd_adm_prepare()
178 adm_ctx->volume = nla_get_u32(nla); in drbd_adm_prepare()
247 adm_ctx->volume != VOLUME_UNSPECIFIED && in drbd_adm_prepare()
248 adm_ctx->volume != adm_ctx->device->vnr) { in drbd_adm_prepare()
250 adm_ctx->minor, adm_ctx->volume, in drbd_adm_prepare()
3076 unsigned volume = cb->args[1]; in get_one_status() local
3116 device = idr_get_next(&resource->devices, &volume); in get_one_status()
3123 if (volume != 0) { in get_one_status()
3129 volume = 0; in get_one_status()
3162 D_ASSERT(device, device->vnr == volume); in get_one_status()
[all …]
Ddrbd_protocol.h103 u16 volume; member

123