[go: nahoru, domu]

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

123

/drivers/block/drbd/
H A Ddrbd_int.h520 DISCARD_MY_DATA, /* discard_my_data flag per volume */
681 struct idr devices; /* volume number to device mapping */
716 struct idr peer_devices; /* volume number to peer device mapping */
833 unsigned int vnr; /* volume number within the connection */
994 unsigned int volume; member in struct:drbd_config_context
H A Ddrbd_main.c599 h->volume = cpu_to_be16(vnr);
2729 int vnr = adm_ctx->volume;
2830 drbd_msg_put_info(adm_ctx->reply_skb, "requested volume exists already");
H A Ddrbd_nl.c159 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...]
H A Ddrbd_protocol.h103 u16 volume; member in struct:p_header100
H A Ddrbd_receiver.c1134 pi->vnr = be16_to_cpu(h->volume);
1193 * or at least parallelize the flushes to the volume devices.
3483 * config_unknown_volume - device configuration command for unknown volume
3495 drbd_warn(connection, "%s packet received for volume %u, which is not configured locally\n",
/drivers/cdrom/
H A Dcdrom.c148 -- 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/char/
H A Ddtlk.c552 status.volume = *t++;
/drivers/input/misc/
H A DKconfig459 tristate "SGI Indy/O2 volume button interface"
463 Say Y here if you want to support SGI Indy/O2 volume button interface.
/drivers/isdn/mISDN/
H A Ddsp.h241 extern void dsp_change_volume(struct sk_buff *skb, int volume);
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...]
/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/dvb-frontends/drx39xyj/
H A Ddrx_driver.h921 #define DRX_CFG_AUD_VOLUME (DRX_CFG_BASE + 6) /* volume */
1443 * \brief Automatic volume control configuration.
1446 DRX_AUD_AVC_OFF, /**< Automatic volume control off */
1447 DRX_AUD_AVC_DECAYTIME_8S, /**< level volume in 8 seconds */
1448 DRX_AUD_AVC_DECAYTIME_4S, /**< level volume in 4 seconds */
1449 DRX_AUD_AVC_DECAYTIME_2S, /**< level volume in 2 seconds */
1450 DRX_AUD_AVC_DECAYTIME_20MS/**< level volume in 20 millisec */
1455 * /brief Automatic volume control max gain in audio baseband.
1465 * /brief Automatic volume control max attenuation in audio baseband.
1475 * \struct struct drx_cfg_aud_volume * \brief Audio volume configuratio
1479 s16 volume; /**< volume, range -114 to 12 dB */ member in struct:drx_cfg_aud_volume
1675 s16 volume; /* dB */ member in struct:drx_aud_beep
1695 struct drx_cfg_aud_volume volume; member in struct:drx_aud_data
[all...]
/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.c5240 * Enforce the legacy PVR-350/MSP3400 to PVR-150/CX25843 volume
5242 * initializing the volume control
5256 state->volume = v4l2_ctrl_new_std(&state->hdl,
5280 v4l2_ctrl_cluster(2, &state->volume);
H A Dcx25840-core.h49 /* volume cluster */
50 struct v4l2_ctrl *volume; member in struct:cx25840_state::__anon2172
/drivers/media/i2c/
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 Dmsp3400-driver.h93 /* volume cluster */
94 struct v4l2_ctrl *volume; member in struct:msp_state::__anon2175
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 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 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...]
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 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 */
/drivers/media/pci/bt8xx/
H A Dbttv-audio-hook.c15 void winview_volume(struct bttv *btv, __u16 volume) argument
21 vol = 32 - ((volume>>11));
H A Dbttv-audio-hook.h10 void winview_volume (struct bttv *btv, __u16 volume);
H A Dbttv.h219 void (*volume_gpio)(struct bttv *btv, __u16 volume);

Completed in 1137 milliseconds

123