/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | attrib.h | 64 extern int load_attribute_list(ntfs_volume *vol, runlist *rl, u8 *al_start, 81 extern int ntfs_attr_size_bounds_check(const ntfs_volume *vol, 83 extern int ntfs_attr_can_be_non_resident(const ntfs_volume *vol, 85 extern int ntfs_attr_can_be_resident(const ntfs_volume *vol,
|
H A D | mft.h | 65 extern int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, 100 extern bool ntfs_may_write_mft_record(ntfs_volume *vol, 104 extern ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, const int mode,
|
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835.h | 26 #define alsa2chip(vol) ((uint)(-(((vol) << 8) / 100))) 29 #define chip2alsa(vol) -(((vol) * 100) >> 8)
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | cluster.c | 44 int cluster_find(ntfs_volume *vol, LCN c_begin, LCN c_end, cluster_cb *cb, void *data) in cluster_find() argument 55 if (!vol || !cb) in cluster_find() 58 m_ctx = mft_get_search_ctx(vol); in cluster_find() 81 runs = ntfs_mapping_pairs_decompress(vol, a_ctx->attr, NULL); in cluster_find()
|
H A D | ntfsls.c | 124 ntfs_volume *vol; member 432 ntfs_pathname_to_inode(ni->vol, ni, in readdir_recursive() 558 ni = ntfs_inode_open(dirent->vol, mref); in list_dir_entry() 640 ntfs_volume *vol; in main() local 653 vol = utils_mount_volume(opts.device, NTFS_MNT_RDONLY | in main() 655 if (!vol) { in main() 660 ni = ntfs_pathname_to_inode(vol, NULL, opts.path); in main() 663 ntfs_umount(vol, FALSE); in main() 673 dirent.vol = vol; in main() [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.probe.c | 66 ntfs_volume *vol; in ntfs_open() local 73 vol = ntfs_mount(device, flags); in ntfs_open() 74 if (!vol) in ntfs_open() 77 if (ret == 0 && ntfs_umount(vol, FALSE) == -1) in ntfs_open()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | cache.c | 557 void ntfs_create_lru_caches(ntfs_volume *vol) in ntfs_create_lru_caches() argument 561 vol->xinode_cache = ntfs_create_cache("inode",(cache_free)NULL, in ntfs_create_lru_caches() 567 vol->nidata_cache = ntfs_create_cache("nidata", in ntfs_create_lru_caches() 574 vol->lookup_cache = ntfs_create_cache("lookup", in ntfs_create_lru_caches() 579 vol->securid_cache = ntfs_create_cache("securid",(cache_free)NULL, in ntfs_create_lru_caches() 582 vol->legacy_cache = ntfs_create_cache("legacy",(cache_free)NULL, in ntfs_create_lru_caches() 591 void ntfs_free_lru_caches(ntfs_volume *vol) in ntfs_free_lru_caches() argument 594 ntfs_free_cache(vol->xinode_cache); in ntfs_free_lru_caches() 597 ntfs_free_cache(vol->nidata_cache); in ntfs_free_lru_caches() 600 ntfs_free_cache(vol in ntfs_free_lru_caches() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | sbgdec.c | 85 int vol; member 611 static int parse_volume(struct sbg_parser *p, int *vol) in parse_volume() argument 619 if (scale_double(p->log, v, 0.01, vol)) in parse_volume() 628 int carrier, beat, vol; in parse_synth_channel_sine() local 634 FORWARD_ERROR(parse_volume(p, &vol)); in parse_synth_channel_sine() 641 synth->vol = vol; in parse_synth_channel_sine() 648 int vol; in parse_synth_channel_pink() local 652 FORWARD_ERROR(parse_volume(p, &vol)); in parse_synth_channel_pink() 654 synth->vol in parse_synth_channel_pink() 662 int carrier, vol; parse_synth_channel_bell() local 680 int vol; parse_synth_channel_mix() local 694 int carrier, beat, vol; parse_synth_channel_spin() local [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | fs_context.h | 27 int cifs_parse_smb_version(char *value, struct smb_vol *vol, bool is_smb3); 38 int cifs_parse_cache_flavor(char *value, struct smb_vol *vol); 56 int cifs_parse_security_flavors(char *value, struct smb_vol *vol);
|
/kernel/liteos_a/fs/fat/virpart/include/ |
H A D | virpartff.h | 42 FATFS* f_getfatfs(int vol);
49 FRESULT f_checkvirpart(FATFS *fs, const TCHAR *path, BYTE vol);
50 FRESULT f_makevirpart(FATFS *fs, const TCHAR *path, BYTE vol);
|
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | maya44.c | 161 const struct maya_vol_info *vol = &vol_info[idx]; in maya_vol_info() local 166 uinfo->value.integer.max = vol->maxval; in maya_vol_info() 192 const struct maya_vol_info *vol = &vol_info[idx]; in maya_vol_put() local 199 if (val > vol->maxval) in maya_vol_put() 200 val = vol->maxval; in maya_vol_put() 204 data = vol->mute; in maya_vol_put() 206 data = (val - 1) + vol->offset; in maya_vol_put() 207 data |= vol->update; in maya_vol_put() 208 changed |= wm8776_write_bits(chip->ice, wm, vol->regs[ch], in maya_vol_put() 209 vol in maya_vol_put() [all...] |
H A D | aureon.c | 53 unsigned short vol[8]; member 359 unsigned short vol; in aureon_ac97_vol_get() local 363 vol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_get() 364 ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); in aureon_ac97_vol_get() 366 ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); in aureon_ac97_vol_get() 682 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) in wm_set_vol() argument 686 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) { in wm_set_vol() 689 nvol = ((vol % WM_VOL_CNT) * (master % WM_VOL_CNT)) / in wm_set_vol() 761 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put() local 762 if (vol > WM_VOL_MA in wm_master_vol_put() 817 unsigned int vol = ucontrol->value.integer.value[i]; wm_vol_put() local 1032 unsigned short vol; wm_adc_vol_get() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | maya44.c | 161 const struct maya_vol_info *vol = &vol_info[idx]; in maya_vol_info() local 166 uinfo->value.integer.max = vol->maxval; in maya_vol_info() 192 const struct maya_vol_info *vol = &vol_info[idx]; in maya_vol_put() local 199 if (val > vol->maxval) in maya_vol_put() 200 val = vol->maxval; in maya_vol_put() 204 data = vol->mute; in maya_vol_put() 206 data = (val - 1) + vol->offset; in maya_vol_put() 207 data |= vol->update; in maya_vol_put() 208 changed |= wm8776_write_bits(chip->ice, wm, vol->regs[ch], in maya_vol_put() 209 vol in maya_vol_put() [all...] |
H A D | aureon.c | 53 unsigned short vol[8]; member 359 unsigned short vol; in aureon_ac97_vol_get() local 363 vol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_get() 364 ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); in aureon_ac97_vol_get() 366 ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); in aureon_ac97_vol_get() 682 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) in wm_set_vol() argument 686 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) { in wm_set_vol() 689 nvol = ((vol % WM_VOL_CNT) * (master % WM_VOL_CNT)) / in wm_set_vol() 761 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put() local 762 if (vol > WM_VOL_MA in wm_master_vol_put() 817 unsigned int vol = ucontrol->value.integer.value[i]; wm_vol_put() local 1032 unsigned short vol; wm_adc_vol_get() local [all...] |
/third_party/pulseaudio/src/modules/oss/ |
H A D | oss-util.c | 261 unsigned vol; in pa_oss_get_volume() local 267 if (ioctl(fd, mixer, &vol) < 0) in pa_oss_get_volume() 272 volume->values[0] = PA_CLAMP_VOLUME(((vol & 0xFF) * PA_VOLUME_NORM) / 100); in pa_oss_get_volume() 275 volume->values[1] = PA_CLAMP_VOLUME((((vol >> 8) & 0xFF) * PA_VOLUME_NORM) / 100); in pa_oss_get_volume() 283 unsigned vol; in pa_oss_set_volume() local 288 vol = (l*100)/PA_VOLUME_NORM; in pa_oss_set_volume() 292 vol |= ((r*100)/PA_VOLUME_NORM) << 8; in pa_oss_set_volume() 295 if (ioctl(fd, mixer, &vol) < 0) in pa_oss_set_volume()
|
/third_party/pulseaudio/src/tests/ |
H A D | lo-test-util.c | 92 pa_cvolume vol; in calibrate_read_cb() local 121 pa_cvolume_set(&vol, ctx->sample_spec.channels, v * PA_VOLUME_NORM); in calibrate_read_cb() 122 o = pa_context_set_source_output_volume(ctx->context, pa_stream_get_index(s), &vol, NULL, NULL); in calibrate_read_cb() 169 pa_cvolume vol; in stream_state_callback() local 174 pa_cvolume_set(&vol, ctx->sample_spec.channels, PA_VOLUME_NORM); in stream_state_callback() 175 o = pa_context_set_sink_input_volume(ctx->context, pa_stream_get_index(s), &vol, NULL, NULL); in stream_state_callback() 177 pa_cvolume_set(&vol, ctx->sample_spec.channels, pa_sw_volume_from_linear(0.0)); in stream_state_callback() 178 o = pa_context_set_source_output_volume(ctx->context, pa_stream_get_index(s), &vol, NULL, NULL); in stream_state_callback()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | cs5345.c | 104 int vol = cs5345_read(sd, 0x08) & 0x3f; in cs5345_log_status() local 108 if (vol >= 32) in cs5345_log_status() 109 vol = vol - 64; in cs5345_log_status() 110 v4l2_info(sd, "Volume: %d dB\n", vol); in cs5345_log_status()
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
H A D | gus_volume.c | 15 unsigned short snd_gf1_lvol_to_gvol_raw(unsigned int vol) in snd_gf1_lvol_to_gvol_raw() argument 19 if (vol > 65535) in snd_gf1_lvol_to_gvol_raw() 20 vol = 65535; in snd_gf1_lvol_to_gvol_raw() 21 tmp = vol; in snd_gf1_lvol_to_gvol_raw() 32 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | cs5345.c | 104 int vol = cs5345_read(sd, 0x08) & 0x3f; in cs5345_log_status() local 108 if (vol >= 32) in cs5345_log_status() 109 vol = vol - 64; in cs5345_log_status() 110 v4l2_info(sd, "Volume: %d dB\n", vol); in cs5345_log_status()
|
/kernel/linux/linux-6.6/sound/isa/gus/ |
H A D | gus_volume.c | 15 unsigned short snd_gf1_lvol_to_gvol_raw(unsigned int vol) in snd_gf1_lvol_to_gvol_raw() argument 19 if (vol > 65535) in snd_gf1_lvol_to_gvol_raw() 20 vol = 65535; in snd_gf1_lvol_to_gvol_raw() 21 tmp = vol; in snd_gf1_lvol_to_gvol_raw() 32 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | sc27xx_fuel_gauge.c | 147 static int sc27xx_fgu_voltage_to_adc(struct sc27xx_fgu_data *data, int vol) in sc27xx_fgu_voltage_to_adc() argument 149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc() 388 u32 vol; in sc27xx_fgu_get_vol_now() local 391 &vol); in sc27xx_fgu_get_vol_now() 399 *val = sc27xx_fgu_adc_to_voltage(data, vol); in sc27xx_fgu_get_vol_now() 456 int ret, vol; in sc27xx_fgu_get_vbat_vol() local 458 ret = regmap_read(data->regmap, data->base + SC27XX_FGU_VOLTAGE, &vol); in sc27xx_fgu_get_vbat_vol() 466 *val = sc27xx_fgu_adc_to_voltage(data, vol); in sc27xx_fgu_get_vbat_vol() 490 int vol, cur, ret, temp, resistance; in sc27xx_fgu_get_vbat_ocv() local 492 ret = sc27xx_fgu_get_vbat_vol(data, &vol); in sc27xx_fgu_get_vbat_ocv() 519 int ret, vol; sc27xx_fgu_get_charge_vol() local 536 int ret, vol; sc27xx_fgu_get_health() local [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | sc27xx_fuel_gauge.c | 147 static int sc27xx_fgu_voltage_to_adc(struct sc27xx_fgu_data *data, int vol) in sc27xx_fgu_voltage_to_adc() argument 149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc() 388 u32 vol; in sc27xx_fgu_get_vol_now() local 391 &vol); in sc27xx_fgu_get_vol_now() 399 *val = sc27xx_fgu_adc_to_voltage(data, vol); in sc27xx_fgu_get_vol_now() 456 int ret, vol; in sc27xx_fgu_get_vbat_vol() local 458 ret = regmap_read(data->regmap, data->base + SC27XX_FGU_VOLTAGE, &vol); in sc27xx_fgu_get_vbat_vol() 466 *val = sc27xx_fgu_adc_to_voltage(data, vol); in sc27xx_fgu_get_vbat_vol() 490 int vol, cur, ret, temp, resistance; in sc27xx_fgu_get_vbat_ocv() local 492 ret = sc27xx_fgu_get_vbat_vol(data, &vol); in sc27xx_fgu_get_vbat_ocv() 519 int ret, vol; sc27xx_fgu_get_charge_vol() local 536 int ret, vol; sc27xx_fgu_get_health() local [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | mft.h | 65 extern int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, 100 extern bool ntfs_may_write_mft_record(ntfs_volume *vol, 104 extern ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, const int mode,
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-aztech.c | 109 static int aztech_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in aztech_s_mute_volume() argument 114 vol = 0; in aztech_s_mute_volume() 115 az->curvol = (vol & 1) + ((vol & 2) << 1); in aztech_s_mute_volume()
|
/kernel/linux/linux-6.6/drivers/media/radio/ |
H A D | radio-aztech.c | 109 static int aztech_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in aztech_s_mute_volume() argument 114 vol = 0; in aztech_s_mute_volume() 115 az->curvol = (vol & 1) + ((vol & 2) << 1); in aztech_s_mute_volume()
|