Searched refs:volume (Results 51 - 75 of 172) sorted by relevance

1234567

/linux-master/sound/usb/line6/
H A Dplayback.c19 Software stereo volume control.
21 static void change_volume(struct urb *urb_out, int volume[], argument
26 if (volume[0] == 256 && volume[1] == 256)
27 return; /* maximum volume - no change */
37 int val = (pv * volume[chn & 1]) >> 8;
52 val = (val * volume[chn & 1]) >> 8;
109 int volume, int bytes_per_frame)
111 if (volume == 0)
112 return; /* zero volume
108 add_monitor_signal(struct urb *urb_out, unsigned char *signal, int volume, int bytes_per_frame) argument
[all...]
/linux-master/fs/afs/
H A Dinode.c216 if (vnode->cb_ro_snapshot == atomic_read(&vnode->volume->cb_ro_snapshot) &&
274 if (op->volume->type == AFSVL_RWVOL)
353 * Fetch file status from the volume.
361 vnode->volume->name,
365 op = afs_alloc_operation(key, vnode->volume);
414 vnode->volume = as->volume;
451 vnode->volume->cache,
514 vnode->volume = as->volume;
[all...]
H A Dfile.c135 key = afs_request_key(vnode->volume->cell);
281 * Fetch file data from the volume.
288 vnode->volume->name,
294 op = afs_alloc_operation(req->key, vnode->volume);
409 down_write(&vnode->volume->open_mmaps_lock);
412 list_add_tail(&vnode->cb_mmap_link, &vnode->volume->open_mmaps);
414 up_write(&vnode->volume->open_mmaps_lock);
423 down_write(&vnode->volume->open_mmaps_lock);
432 up_write(&vnode->volume->open_mmaps_lock);
H A Ddynroot.c34 vnode->volume = as->volume;
54 if (as->volume)
55 fid.vid = as->volume->vid;
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A Dvc_vchi_audioserv_defs.h41 u32 volume; member in struct:vc_audio_control
H A Dbcm2835.h25 // convert alsa to chip volume (defined as macro rather than function call)
28 // convert chip to alsa volume
59 int volume; member in struct:bcm2835_chip
/linux-master/block/partitions/
H A Dsgi.c23 s8 name[8]; /* Name of volume */
26 } volume[15]; member in struct:sgi_disklabel
/linux-master/include/uapi/sound/
H A Dasound_fm.h37 unsigned char volume; /* 6 bits: volume */ member in struct:snd_dm_fm_voice
/linux-master/drivers/media/i2c/
H A Dtda7432.c5 * 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 Dwm8775.c86 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/fs/netfs/
H A Dfscache_io.c30 if (!fscache_cache_is_live(cookie->volume->cache)) {
61 return cookie->volume->cache->ops->begin_operation(cres, want_state);
118 if (!cookie->volume->cache->ops->begin_operation(cres, want_state))
283 cookie->volume->cache->ops->resize_cookie(&cres, new_size);
H A Dinternal.h321 * fscache-volume.c
327 struct fscache_volume *fscache_get_volume(struct fscache_volume *volume,
329 void fscache_put_volume(struct fscache_volume *volume,
331 bool fscache_begin_volume_access(struct fscache_volume *volume,
334 void fscache_create_volume(struct fscache_volume *volume, bool wait);
/linux-master/fs/ntfs3/
H A Dsuper.c13 * lbo - logical byte offset - Absolute position inside volume.
24 * ntfs allows up to 2^64 clusters per volume.
40 * The maximum volume size in this case is 2^32 * 2^21 = 2^53 = 8P
436 if (ro_rw && (sbi->volume.flags & VOLUME_FLAG_DIRTY) &&
472 sbi->volume.major_ver, sbi->volume.minor_ver,
476 sbi->volume.real_dirty ? "dirty" : "clean",
477 (sbi->volume.flags & VOLUME_FLAG_DIRTY) ? "dirty" : "clean");
493 seq_printf(m, "%s\n", sbi->volume.label);
616 if (sbi->volume
[all...]
/linux-master/sound/soc/sh/
H A Dsiu_dai.c130 * Volume levels: looks like the DSP firmware implements volume controls
133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume);
134 siu_write32(base + SIU_SBDVCB, port_info->capture.volume);
364 vol = port_info->playback.volume;
370 vol = port_info->capture.volume;
408 cur_vol = port_info->playback.volume;
410 port_info->playback.volume = new_vol;
414 cur_vol = port_info->capture.volume;
416 port_info->capture.volume = new_vol;
462 (*port_info)->playback.volume
[all...]
/linux-master/drivers/isdn/mISDN/
H A Ddsp_audio.c264 * generate different volume changes *
384 * change the volume of the given skb *
387 /* this is a helper function for changing volume of skb. the range may be
388 * -8 to 8, which is a shift to the power of 2. 0 == no volume, 3 == volume*8
391 dsp_change_volume(struct sk_buff *skb, int volume) argument
398 if (volume == 0)
402 if (volume < 0) {
403 shift = volume + 8;
407 shift = volume
[all...]
/linux-master/sound/soc/sh/rcar/
H A Ddvc.c38 struct rsnd_kctrl_cfg_m volume; member in struct:rsnd_dvc
71 #define rsnd_dvc_get_vrdbr(dvc) (0x3ff - (rsnd_kctrl_valm(dvc->volume, 0) >> 13))
83 val[i] = rsnd_kctrl_max(dvc->volume);
86 val[i] = rsnd_kctrl_valm(dvc->volume, i);
231 &dvc->volume, channels,
/linux-master/fs/cachefiles/
H A Dcache.c322 struct cachefiles_volume *volume = NULL; local
326 volume = list_first_entry(&cache->volumes,
328 list_del_init(&volume->cache_link);
331 if (!volume)
334 cachefiles_withdraw_volume(volume);
/linux-master/sound/pci/cs46xx/
H A Ddsp_spos.h212 scb->volume[0] = left;
213 scb->volume[1] = right;
/linux-master/sound/oss/dmasound/
H A Ddmasound.h161 int volume_left; /* volume (range is machine dependent) */
181 static inline int dmasound_set_volume(int volume) argument
183 return dmasound.mach.setVolume(volume);
/linux-master/fs/affs/
H A Dsuper.c180 {Opt_volume, "volume=%s"},
190 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts)
202 volume[0] = ':';
203 volume[1] = 0;
278 strscpy(volume, vol, 32);
324 seq_printf(m, ",volume=%s", sbi->s_volume);
511 pr_notice("Mounting volume \"%.*s\": Type=%.3s\\%c, Blocksize=%d\n",
563 char volume[32]; local
571 memcpy(volume, sbi->s_volume, 32);
573 &blocksize, &prefix, volume,
189 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) argument
[all...]
/linux-master/include/net/caif/
H A Dcfctrl.h77 char volume[20]; /* Volume to mount for RFM */ member in struct:cfctrl_link_param::__anon1452::__anon1455
/linux-master/sound/soc/tegra/
H A Dtegra210_mvc.h116 int volume[TEGRA210_MVC_MAX_CHAN_COUNT]; member in struct:tegra210_mvc
/linux-master/sound/soc/intel/catpt/
H A Dpcm.c130 u32 volume, offset; local
136 memcpy_fromio(&volume, cdev->lpe_ba + offset, sizeof(volume));
137 return volume;
143 u32 volume, offset; local
149 memcpy_fromio(&volume, cdev->lpe_ba + offset, sizeof(volume));
150 return volume;
806 static u32 dspvol_to_ctlvol(u32 volume) argument
808 if (volume > DSP_VOLUME_MA
[all...]
/linux-master/drivers/media/radio/
H A Dradio-isa.c124 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);
/linux-master/drivers/usb/gadget/function/
H A Du_audio.c63 s16 volume; member in struct:uac_rtd_params
781 *val = prm->volume;
802 if (prm->volume != val) {
803 prm->volume = val;
976 * TLV callback for mixer volume controls
987 /* UAC volume resolution is 1/256 dB, TLV is 1/100 dB */
1020 (prm->volume - prm->volume_min) / prm->volume_res;
1033 s16 volume; local
1040 volume = (val * prm->volume_res) + prm->volume_min;
1041 volume
[all...]

Completed in 480 milliseconds

1234567