Searched refs:vol (Results 151 - 175 of 220) sorted by relevance

123456789

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dfce_api.c519 struct vol *vol; local
528 vol = ofork->of_vol;
530 if (NULL == (u_name = mtoupath(vol, of_name(ofork), ofork->of_did, utf8_encoding())))
540 int fce_register_tm_size(const char *vol, size_t used) argument
544 if (vol == NULL)
551 ret = register_fce(vol, false, FCE_TM_SIZE);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/ice1712/
H A Dprodigy192.c161 unsigned char vol; local
167 vol = stac9460_get(ice, idx) & 0x7f;
168 ucontrol->value.integer.value[0] = 0x7f - vol;
253 unsigned char vol; local
257 vol = stac9460_get(ice, reg) & 0x0f;
258 ucontrol->value.integer.value[i] = 0x0f - vol;
793 [ICE_EEP2_I2S] = 0xf8, /* vol, 96k, 24bit, 192k */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/
H A Drme96.c213 u16 vol[2]; /* cached volume of analog output */ member in struct:rme96
492 snd_rme96_write_SPI(rme96, (rme96->vol[0] << 2) | 0x0);
493 snd_rme96_write_SPI(rme96, (rme96->vol[1] << 2) | 0x2);
495 snd_rme96_write_SPI(rme96, (rme96->vol[0] & 0x3FF) | 0x000);
496 snd_rme96_write_SPI(rme96, (rme96->vol[1] & 0x3FF) | 0x400);
1640 rme96->vol[0] = rme96->vol[1] = 0;
1784 snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]);
1785 snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]);
2181 u->value.integer.value[0] = rme96->vol[
2193 unsigned int vol, maxvol; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/mixer/
H A Dsimple_none.c87 long vol[32]; member in struct:_selem_none::selem_str
248 s->str[dir].vol[idx] = to_user(s, dir, c, snd_ctl_elem_value_get_integer(ctl, idx1));
313 s->str[0].vol[idx] = snd_ctl_elem_value_get_enumerated(ctl, idx1);
329 memcpy(pvol, s->str[SM_PLAY].vol, sizeof(pvol));
330 memset(&s->str[SM_PLAY].vol, 0, sizeof(s->str[SM_PLAY].vol));
333 memcpy(cvol, s->str[SM_CAPT].vol, sizeof(cvol));
334 memset(&s->str[SM_CAPT].vol, 0, sizeof(s->str[SM_CAPT].vol));
459 if (memcmp(pvol, s->str[SM_PLAY].vol, sizeo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/forked-daapd-0.19/src/
H A Dlaudio_alsa.c310 laudio_set_volume(int vol) argument
322 switch (vol)
333 pcm_vol = vol_min + (vol * (vol_max - vol_min)) / 100;
337 DPRINTF(E_DBG, L_LAUDIO, "Setting PCM volume to %d (%d)\n", pcm_vol, vol);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/
H A Dpcm_softvol.c259 vol_scale = (channels == ch + 1) ? vol_c : vol[0]; \
266 vol_scale = vol[ch & 1]; \
283 unsigned int vol_scale, vol[2], vol_c; local
297 vol[0] = svol->cur_vol[0] ? 0xffff : 0;
298 vol[1] = svol->cur_vol[1] ? 0xffff : 0;
299 vol_c = vol[0] | vol[1];
301 vol[0] = svol->dB_value[svol->cur_vol[0]];
302 vol[1] = svol->dB_value[svol->cur_vol[1]];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/
H A Dpulse_audio_enc.c99 pa_volume_t vol = pa_cvolume_avg(&i->volume); local
105 vol = pa_sw_volume_divide(vol, s->base_volume);
106 if (s->last_volume != vol) {
107 val = (double)vol / PA_VOLUME_NORM;
109 s->last_volume = vol;
333 pa_volume_t vol; local
336 vol = pa_sw_volume_multiply(lround(volume * PA_VOLUME_NORM), s->base_volume);
338 pa_sw_cvolume_multiply_scalar(&cvol, &cvol, vol);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/gus/
H A Dgus_pcm.c115 unsigned short vol; local
147 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right;
158 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, vol >> 8);
253 unsigned short vol; local
271 vol = !cvoice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right;
274 snd_gf1_write16(gus, SNDRV_GF1_VW_VOLUME, vol);
749 unsigned short val1, val2, vol; local
776 vol = pvoice == pcmp->pvoices[0] ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right;
777 snd_gf1_write16(gus, SNDRV_GF1_VW_VOLUME, vol);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ubi/
H A Dbuild.c138 * @vol: volume description object of the changed volume
145 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) argument
150 ubi_do_get_volume_info(ubi, vol, &nt.vi);
544 * Note, since this function un-registers UBI volume device objects (@vol->dev),
801 struct ubi_volume *vol = ubi->volumes[vol_id]; local
802 int err, old_reserved_pebs = vol->reserved_pebs;
825 desc.vol = vol;
836 vol->name, old_reserved_pebs, vol
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/au88x0/
H A Dau88x0.h257 unsigned char vol);
259 unsigned char vol);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/oss/
H A Dswarm_cs4297a.c277 unsigned short vol[10]; member in struct:cs4297a_state::__anon19071
357 // Value of array member is index into s->mix.vol[]
1141 // Value of array member is index into s->mix.vol[]
1283 return put_user(s->mix.vol[vidx - 1], (int *) arg);
1319 l = 100; // Max soundcard.h vol is 100.
1324 rl = attentbl[(10 * l) / 100]; // Convert 0-100 vol to 63-0 atten.
1346 s->mix.vol[8] = ((unsigned int) r << 8) | l;
1348 s->mix.vol[8] = val;
1350 return put_user(s->mix.vol[8], (int *) arg);
1376 s->mix.vol[
[all...]
H A Dpss.c421 int vol = ((0x8000*volume)/100L); local
423 pss_write(devc, vol);
425 pss_write(devc, vol);
430 int vol = (int)(((0xfd - 0xf0) * level)/100L) + 0xf0; local
432 pss_write(devc, vol | 0x0200);
437 int vol = (((0xfd - 0xf0) * level)/100L) + 0xf0; local
439 pss_write(devc, vol | 0x0300);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Dsuper.c760 struct btrfs_ioctl_vol_args *vol; local
767 vol = memdup_user((void __user *)arg, sizeof(*vol));
768 if (IS_ERR(vol))
769 return PTR_ERR(vol);
773 ret = btrfs_scan_one_device(vol->name, FMODE_READ,
778 kfree(vol);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/sh/
H A Dsiu_dai.c374 u32 vol; local
381 vol = port_info->playback.volume;
382 ucontrol->value.integer.value[0] = vol & 0xffff;
383 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff;
387 vol = port_info->capture.volume;
388 ucontrol->value.integer.value[0] = vol & 0xffff;
389 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/pcxhr/
H A Dpcxhr_mixer.c55 int err, vol; local
65 vol = chip->analog_playback_volume[channel];
67 vol = PCXHR_LINE_PLAYBACK_LEVEL_MIN;
69 rmh.cmd[2] = PCXHR_LINE_PLAYBACK_LEVEL_MAX - vol;
393 int vol = ucontrol->value.integer.value[i]; local
394 if (vol < PCXHR_DIGITAL_LEVEL_MIN ||
395 vol > PCXHR_DIGITAL_LEVEL_MAX)
397 if (stored_volume[i] != vol) {
398 stored_volume[i] = vol;
H A Dpcxhr_mix22.c553 int vol; local
555 vol = chip->analog_playback_volume[channel];
557 vol = HR222_LINE_PLAYBACK_LEVEL_MIN;
558 return hr222_set_hw_playback_level(chip->mgr, channel, vol);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/radio/
H A Dradio-zoltrix.c73 static int zol_setvol(struct zoltrix *zol, int vol) argument
75 zol->curvol = vol;
80 if (vol == 0) {
H A Dradio-aztech.c104 static int az_setvol(struct aztech *az, int vol) argument
107 outb(volconvert(vol), az->io);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/libs/common/
H A DPath.cpp114 wxString ext, vol; local
116 wxString* pVol = (path ? &vol : NULL);
125 if (path && vol.Length()) {
126 *path = vol + wxFileName::GetVolumeSeparator() + *path;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/
H A Dinode.h56 ntfs_volume *vol; /* Pointer to the ntfs volume of this inode. */ member in struct:_ntfs_inode
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/affs/
H A Dsuper.c251 char *vol = match_strdup(&args[0]); local
252 if (!vol)
254 strlcpy(volume, vol, 32);
255 kfree(vol);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/cs423x/
H A Dcs4236_lib.c661 static inline int snd_cs4236_mixer_master_digital_invert_volume(int vol) argument
663 return (vol < 64) ? 63 - vol : 64 + (71 - vol);
705 static inline int snd_cs4235_mixer_output_accu_get_volume(int vol) argument
707 switch ((vol >> 5) & 3) {
716 static inline int snd_cs4235_mixer_output_accu_set_volume(int vol) argument
718 switch (vol & 3) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/emu10k1/
H A Demufx.c1270 #define A_ADD_VOLUME_IN(var,vol,input) \
1271 A_OP(icode, &ptr, iMAC0, A_GPR(var), A_GPR(var), A_GPR(vol), A_EXTIN(input))
1735 static void __devinit _volume(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) argument
1737 OP(icode, ptr, iMAC0, dst, C_00000000, src, vol);
1738 OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff);
1742 static void __devinit _volume_add(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) argument
1744 OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff);
1748 OP(icode, ptr, iMAC0, dst, dst, src, vol);
1750 static void __devinit _volume_out(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) argument
1752 OP(icode, ptr, iANDXOR, C_00000000, vol, C_fffffff
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/ttpci/
H A Dav7110_av.c282 int err, vol, val, balance = 0; local
309 vol = (volleft > volright) ? volleft : volright;
310 val = (vol * 0x73 / 255) << 8;
311 if (vol > 0)
312 balance = ((volright - volleft) * 127) / vol;
319 vol = (volleft > volright) ? volleft : volright;
320 val = (vol * 0x73 / 255) << 8;
321 if (vol > 0)
322 balance = ((volright - volleft) * 127) / vol;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/mixart/
H A Dmixart_mixer.c873 int vol = ucontrol->value.integer.value[i]; local
874 if (vol < MIXART_DIGITAL_LEVEL_MIN ||
875 vol > MIXART_DIGITAL_LEVEL_MAX)
877 if (stored_volume[i] != vol) {
878 stored_volume[i] = vol;

Completed in 407 milliseconds

123456789