/linux-master/drivers/media/i2c/ |
H A D | tda7432.c | 5 * Handles audio functions: volume, balance, tone, loudness 23 * maxvol - set maximum volume to +20db (1), default is 0db(0) 57 MODULE_PARM_DESC(maxvol, "Set maximum 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 | tvaudio.c | 116 /* volume/balance cluster */ 117 struct v4l2_ctrl *volume; member in struct:CHIPSTATE::__anon146 555 #define TDA9855_VZCM 1<<4 /* If set, don't change volume till zero crossing*/ 1157 #define TDA9875_CH1V 0x0c /*Channel 1 volume (mute)*/ 1158 #define TDA9875_CH2V 0x0d /*Channel 2 volume (mute)*/ 1165 #define TDA9875_MVL 0x1a /* Main volume gauche */ 1166 #define TDA9875_MVR 0x1b /* Main volume droite */ 1170 #define TDA9875_AVL 0x20 /* Auxiliary volume gauche */ 1171 #define TDA9875_AVR 0x21 /* Auxiliary volume droite */ 1206 chip_write(chip, TDA9875_CH1V, 0x10); /* Channel volume 1759 u32 volume, balance; local [all...] |
H A D | wm8739.c | 45 struct v4l2_ctrl *volume; member in struct:wm8739_state::__anon151 102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; 103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; 108 /* set audio volume etc. */ 199 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, 212 v4l2_ctrl_cluster(3, &state->volume); 231 /* set volume/mute */
|
H A D | wm8775.c | 86 u16 volume = (u16)state->vol->val; local 90 vol_l = (min(65536 - balance, 32768) * volume) >> 23; 91 vol_r = (min(balance, (u16)32768) * volume) >> 23; 277 wm8775_set_audio(sd, 1); /* set volume/mute/mux */
|
/linux-master/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));
|
H A D | bttv.h | 219 void (*volume_gpio)(struct bttv *btv, __u16 volume);
|
H A D | bttvp.h | 335 void (*volume_gpio)(struct bttv *btv, __u16 volume);
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-av-audio.c | 331 static void set_volume(struct cx18 *cx, int volume) argument 333 /* First convert the volume to msp3400 values (0-127) */ 334 int vol = volume >> 9;
|
H A D | cx18-av-core.c | 238 * Enforce the legacy volume scale mapping limits to avoid 239 * -ERANGE errors when initializing the volume control 251 state->volume->cur.val = state->volume->default_value = default_volume; 1330 state->volume = v4l2_ctrl_new_std(&state->hdl,
|
/linux-master/drivers/media/radio/ |
H A D | radio-isa.c | 124 isa->volume ? isa->volume->val : 0); 220 isa->volume = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops, 281 ops->s_mute_volume(isa, true, isa->volume ? isa->volume->cur.val : 0);
|
H A D | radio-isa.h | 30 struct { /* mute/volume cluster */ 32 struct v4l2_ctrl *volume; member in struct:radio_isa_card::__anon1057 52 /* Set mute and volume. */ 53 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume); 87 /* The maximum volume for the volume control. If 0, then there 88 is no volume control possible. */
|
H A D | radio-sf16fmr2.c | 35 struct v4l2_ctrl *volume; member in struct:fmr2 53 /* PT2254A/TC9154A volume control pins */ 57 /* volume control presence pin */ 92 /* TC9154A/PT2254A volume control */ 153 int volume, balance, left, right; local 157 volume = ctrl->val; 162 volume = fmr2->volume->cur.val; 168 left = right = volume; 188 /* FMR2 can have volume contro [all...] |
H A D | radio-wl1273.c | 728 r = core->set_volume(core, core->volume); 730 dev_err(dev, "set volume fails: %d.\n", r); 735 core->volume); 1443 r = core->set_volume(core, core->volume); 2035 radio->core->volume = WL1273_DEFAULT_VOLUME;
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-core.h | 218 struct v4l2_ctrl *volume; member in struct:vivid_dev
|
H A D | vivid-ctrls.c | 1644 dev->volume = v4l2_ctrl_new_std(hdl_user_aud, NULL,
|
H A D | vivid-kthread-cap.c | 494 " volume %3d, mute %d ", 495 dev->volume->cur.val, dev->mute->cur.val);
|
/linux-master/drivers/media/usb/em28xx/ |
H A D | em28xx-core.c | 423 * It is assumed that all devices use master volume for output. 449 /* Sets volume */ 458 vol = (0x1f - dev->volume) | ((0x1f - dev->volume) << 8); 464 /* Sets volume */
|
H A D | em28xx-video.c | 1315 * In the case of non-AC97 volume controls, we still need 1317 * and to adjust audio volume. However, the value ranges 1326 dev->volume = ctrl->val; 1345 dev->volume = ctrl->val; 2702 dev->volume = 0x1f;
|
H A D | em28xx.h | 692 int volume; member in struct:em28xx
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw.c | 974 VCREATE_FUNCS(volume) 1021 .name = "volume", 1023 DEFREF(volume), 2880 PVR2_SUBDEV_SET_CONTROL(hdw, V4L2_CID_AUDIO_VOLUME, volume);
|
/linux-master/drivers/message/fusion/ |
H A D | mptbase.c | 5152 int volume; local 5159 volume = pRaidEventData->VolumeID; 5174 ioc->name, disk, volume); 5177 ioc->name, volume); 5182 printk(MYIOC_s_INFO_FMT " volume has been created\n", 5188 printk(MYIOC_s_INFO_FMT " volume has been deleted\n", 5193 printk(MYIOC_s_INFO_FMT " volume settings have been changed\n", 5198 printk(MYIOC_s_INFO_FMT " volume is now %s%s%s%s\n", 5216 printk(MYIOC_s_INFO_FMT " volume membership of PhysDisk %d has changed\n", 5643 * mpt_inactive_raid_volumes - sets up link list of phy_disk_nums for devices belonging in an inactive volume [all...] |
/linux-master/drivers/mfd/ |
H A D | wl1273-core.c | 137 * wl1273_fm_set_volume() - Set volume. 139 * @volume: The new volume value. 141 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) argument 145 if (volume > WL1273_MAX_VOLUME) 148 if (core->volume == volume) 151 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); 155 core->volume = volume; [all...] |
/linux-master/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1733 * such as "brightness has changed", "volume has changed", depending on 2411 * Handle volume 2415 * - Pressing Volume up/down issues volume up/down hotkey messages, 2416 * even when already at maximum or minimum volume 2417 * - The act of unmuting issues volume up/down notification, 2421 * and certainly not enough if more than one volume hotkey was pressed 6952 * IBM ThinkPads have a simple volume controller with MUTE gating. 6964 * bits 3-0 (volume). Other bits in NVRAM may have other functions, 6968 * On newer Lenovo ThinkPads, the EC can automatically change the volume 6977 * and volume control 11597 TPACPI_PARAM(volume); variable [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.c | 1600 prssdp->volume = private->conf.ned->unit_addr; 1633 "Reading the volume storage information failed with rc=%d", rc); 1674 * The value of space allocated by an ESE volume may have changed and is 3241 * When data is read from an unformatted area of an ESE volume, this function 3744 * Release allocated space for a given range or an entire volume. 3797 ras_data->flags.vol_type = 0; /* CKD volume */ 3798 /* Release specified extents or entire volume */ 5990 prssdp->volume = private->conf.ned->unit_addr;
|
H A D | dasd_eckd.h | 542 unsigned char volume; member in struct:dasd_psf_prssd_data 581 __u8 by_extent:1; /* 0 - entire volume, 1 - specified extents */
|