Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 151 of 151) sorted by relevance

/linux-4.4.14/drivers/mtd/ubi/
Dupd.c54 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker() argument
59 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker()
61 if (vol->upd_marker) { in set_update_marker()
62 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); in set_update_marker()
67 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker()
71 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker()
72 vol->upd_marker = 1; in set_update_marker()
87 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker() argument
93 dbg_gen("clear update marker for volume %d", vol->vol_id); in clear_update_marker()
95 vtbl_rec = ubi->vtbl[vol->vol_id]; in clear_update_marker()
[all …]
Dvmt.c71 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() local
74 ubi = ubi_get_device(vol->ubi->ubi_num); in vol_attribute_show()
79 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show()
85 vol->ref_count += 1; in vol_attribute_show()
89 ret = sprintf(buf, "%d\n", vol->reserved_pebs); in vol_attribute_show()
93 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
99 ret = sprintf(buf, "%s\n", vol->name); in vol_attribute_show()
101 ret = sprintf(buf, "%d\n", vol->corrupted); in vol_attribute_show()
103 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show()
105 ret = sprintf(buf, "%d\n", vol->usable_leb_size); in vol_attribute_show()
[all …]
Dkapi.c80 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info() argument
83 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info()
85 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info()
86 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
87 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
88 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info()
89 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info()
90 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
91 vi->usable_leb_size = vol->usable_leb_size; in ubi_do_get_volume_info()
92 vi->name_len = vol->name_len; in ubi_do_get_volume_info()
[all …]
Dcdev.c60 struct ubi_volume *vol = desc->vol; in get_exclusive() local
62 spin_lock(&vol->ubi->volumes_lock); in get_exclusive()
63 users = vol->readers + vol->writers + vol->exclusive + vol->metaonly; in get_exclusive()
66 ubi_err(vol->ubi, "%d users for volume %d", users, vol->vol_id); in get_exclusive()
69 vol->readers = vol->writers = vol->metaonly = 0; in get_exclusive()
70 vol->exclusive = 1; in get_exclusive()
74 spin_unlock(&vol->ubi->volumes_lock); in get_exclusive()
86 struct ubi_volume *vol = desc->vol; in revoke_exclusive() local
88 spin_lock(&vol->ubi->volumes_lock); in revoke_exclusive()
89 ubi_assert(vol->readers == 0 && vol->writers == 0 && vol->metaonly == 0); in revoke_exclusive()
[all …]
Dvtbl.c141 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local
142 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes()
536 struct ubi_volume *vol; in init_volumes() local
544 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
545 if (!vol) in init_volumes()
548 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in init_volumes()
549 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes()
550 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes()
551 vol->upd_marker = vtbl[i].upd_marker; in init_volumes()
552 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? in init_volumes()
[all …]
Deba.c324 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb() argument
327 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb()
336 pnum = vol->eba_tbl[lnum]; in ubi_eba_unmap_leb()
344 vol->eba_tbl[lnum] = UBI_LEB_UNMAPPED; in ubi_eba_unmap_leb()
372 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb() argument
375 int err, pnum, scrub = 0, vol_id = vol->vol_id; in ubi_eba_read_leb()
383 pnum = vol->eba_tbl[lnum]; in ubi_eba_read_leb()
393 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
401 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
466 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
[all …]
Dmisc.c65 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume() local
67 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
70 buf = vmalloc(vol->usable_leb_size); in ubi_check_volume()
74 for (i = 0; i < vol->used_ebs; i++) { in ubi_check_volume()
79 if (i == vol->used_ebs - 1) in ubi_check_volume()
80 size = vol->last_eb_bytes; in ubi_check_volume()
82 size = vol->usable_leb_size; in ubi_check_volume()
84 err = ubi_eba_read_leb(ubi, vol, i, buf, 0, size, 1); in ubi_check_volume()
Ddebug.c107 void ubi_dump_vol_info(const struct ubi_volume *vol) in ubi_dump_vol_info() argument
110 pr_err("\tvol_id %d\n", vol->vol_id); in ubi_dump_vol_info()
111 pr_err("\treserved_pebs %d\n", vol->reserved_pebs); in ubi_dump_vol_info()
112 pr_err("\talignment %d\n", vol->alignment); in ubi_dump_vol_info()
113 pr_err("\tdata_pad %d\n", vol->data_pad); in ubi_dump_vol_info()
114 pr_err("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
115 pr_err("\tname_len %d\n", vol->name_len); in ubi_dump_vol_info()
116 pr_err("\tusable_leb_size %d\n", vol->usable_leb_size); in ubi_dump_vol_info()
117 pr_err("\tused_ebs %d\n", vol->used_ebs); in ubi_dump_vol_info()
118 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
[all …]
Dubi.h359 struct ubi_volume *vol; member
807 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol);
808 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol);
811 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol,
813 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol,
815 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol,
817 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol,
829 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol,
831 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum,
833 int ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol,
[all …]
Dfastmap.c1099 struct ubi_volume *vol; in ubi_write_fastmap() local
1245 vol = ubi->volumes[i]; in ubi_write_fastmap()
1247 if (!vol) in ubi_write_fastmap()
1257 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1258 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1259 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1260 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1261 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
1263 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1264 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
[all …]
Dbuild.c163 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument
169 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify()
791 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize() local
792 int err, old_reserved_pebs = vol->reserved_pebs; in autoresize()
819 desc.vol = vol; in autoresize()
831 vol_id, vol->name, old_reserved_pebs, vol->reserved_pebs); in autoresize()
Ddebug.h56 void ubi_dump_vol_info(const struct ubi_volume *vol);
/linux-4.4.14/fs/ntfs/
Dsuper.c101 static bool parse_options(ntfs_volume *vol, char *opt) in parse_options() argument
206 ntfs_warning(vol->sb, "Ignoring obsolete option %s.", in parse_options()
210 ntfs_warning(vol->sb, "Option iocharset is " in parse_options()
221 ntfs_error(vol->sb, "NLS character set " in parse_options()
225 ntfs_error(vol->sb, "NLS character set %s not " in parse_options()
234 ntfs_warning(vol->sb, "Option utf8 is no longer " in parse_options()
248 ntfs_error(vol->sb, "Unrecognized mount option %s.", p); in parse_options()
261 ntfs_warning(vol->sb, "Sloppy option given. Ignoring " in parse_options()
266 ntfs_error(vol->sb, "Invalid errors option argument " in parse_options()
272 if (vol->nls_map && vol->nls_map != nls_map) { in parse_options()
[all …]
Dlcnalloc.c50 int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, in ntfs_cluster_free_from_rl_nolock() argument
53 struct inode *lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_free_from_rl_nolock()
146 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc() argument
168 BUG_ON(!vol); in ntfs_cluster_alloc()
169 lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_alloc()
181 down_write(&vol->lcnbmp_lock); in ntfs_cluster_alloc()
203 zone_start = vol->data1_zone_pos; in ntfs_cluster_alloc()
205 zone_start = vol->mft_zone_pos; in ntfs_cluster_alloc()
213 } else if (zone == DATA_ZONE && zone_start >= vol->mft_zone_start && in ntfs_cluster_alloc()
214 zone_start < vol->mft_zone_end) { in ntfs_cluster_alloc()
[all …]
Dmft.c50 ntfs_volume *vol = ni->vol; in map_mft_record_page() local
51 struct inode *mft_vi = vol->mft_ino; in map_mft_record_page()
63 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page()
65 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK; in map_mft_record_page()
74 vol->mft_record_size) { in map_mft_record_page()
76 ntfs_error(vol->sb, "Attempt to read mft record 0x%lx, " in map_mft_record_page()
93 ntfs_error(vol->sb, "Mft record 0x%lx is corrupt. " in map_mft_record_page()
97 NVolSetErrors(vol); in map_mft_record_page()
173 ntfs_error(ni->vol->sb, "Failed with error code %lu.", -PTR_ERR(m)); in map_mft_record()
293 ntfs_error(base_ni->vol->sb, "Found stale extent mft " in map_extent_mft_record()
[all …]
Dquota.c37 bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol) in ntfs_mark_quotas_out_of_date() argument
45 if (NVolQuotaOutOfDate(vol)) in ntfs_mark_quotas_out_of_date()
47 if (!vol->quota_ino || !vol->quota_q_ino) { in ntfs_mark_quotas_out_of_date()
48 ntfs_error(vol->sb, "Quota inodes are not open."); in ntfs_mark_quotas_out_of_date()
51 mutex_lock(&vol->quota_q_ino->i_mutex); in ntfs_mark_quotas_out_of_date()
52 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); in ntfs_mark_quotas_out_of_date()
54 ntfs_error(vol->sb, "Failed to get index context."); in ntfs_mark_quotas_out_of_date()
60 ntfs_error(vol->sb, "Quota defaults entry is not " in ntfs_mark_quotas_out_of_date()
63 ntfs_error(vol->sb, "Lookup of quota defaults entry " in ntfs_mark_quotas_out_of_date()
68 ntfs_error(vol->sb, "Quota defaults entry size is invalid. " in ntfs_mark_quotas_out_of_date()
[all …]
Dattrib.c123 ni->vol->cluster_size_bits; in ntfs_map_runlist_nolock()
187 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock()
402 ntfs_error(ni->vol->sb, "Failed with error code %lli.", in ntfs_attr_vcn_to_lcn_nolock()
528 ntfs_error(ni->vol->sb, "Failed with error code %i.", err); in ntfs_attr_find_vcn_nolock()
594 ntfs_volume *vol = ctx->ntfs_ino->vol; in ntfs_attr_find() local
595 ntfschar *upcase = vol->upcase; in ntfs_attr_find()
596 u32 upcase_len = vol->upcase_len; in ntfs_attr_find()
689 ntfs_error(vol->sb, "Inode is corrupt. Run chkdsk."); in ntfs_attr_find()
690 NVolSetErrors(vol); in ntfs_attr_find()
710 int load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, in load_attribute_list() argument
[all …]
Dusnjrnl.c47 bool ntfs_stamp_usnjrnl(ntfs_volume *vol) in ntfs_stamp_usnjrnl() argument
50 if (likely(!NVolUsnJrnlStamped(vol))) { in ntfs_stamp_usnjrnl()
55 page = ntfs_map_page(vol->usnjrnl_max_ino->i_mapping, 0); in ntfs_stamp_usnjrnl()
57 ntfs_error(vol->sb, "Failed to read from " in ntfs_stamp_usnjrnl()
70 i_size_read(vol->usnjrnl_j_ino)); in ntfs_stamp_usnjrnl()
72 cpu_to_sle64(i_size_read(vol->usnjrnl_j_ino)); in ntfs_stamp_usnjrnl()
78 NVolSetUsnJrnlStamped(vol); in ntfs_stamp_usnjrnl()
Dinode.c400 ni->vol = NTFS_SB(sb); in __ntfs_init_inode()
483 ntfs_error(ctx->ntfs_ino->vol->sb, "Corrupt file name " in ntfs_is_extended_system_file()
488 ntfs_error(ctx->ntfs_ino->vol->sb, "Non-resident file " in ntfs_is_extended_system_file()
493 ntfs_error(ctx->ntfs_ino->vol->sb, "File name with " in ntfs_is_extended_system_file()
499 ntfs_error(ctx->ntfs_ino->vol->sb, "Unindexed file " in ntfs_is_extended_system_file()
515 ntfs_error(ctx->ntfs_ino->vol->sb, "Inode hard link count " in ntfs_is_extended_system_file()
551 ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_inode() local
570 vi->i_uid = vol->uid; in ntfs_read_locked_inode()
571 vi->i_gid = vol->gid; in ntfs_read_locked_inode()
633 vi->i_mode &= ~vol->dmask; in ntfs_read_locked_inode()
[all …]
Ddir.c83 ntfs_volume *vol = dir_ni->vol; in ntfs_lookup_inode_by_name() local
84 struct super_block *sb = vol->sb; in ntfs_lookup_inode_by_name()
159 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name()
204 if (!NVolCaseSensitive(vol) && in ntfs_lookup_inode_by_name()
209 IGNORE_CASE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name()
250 IGNORE_CASE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name()
269 CASE_SENSITIVE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name()
419 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name()
464 if (!NVolCaseSensitive(vol) && in ntfs_lookup_inode_by_name()
469 IGNORE_CASE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name()
[all …]
Daops.c106 ntfs_error(ni->vol->sb, "Buffer I/O error, logical block " in ntfs_end_buffer_async_read()
192 ntfs_volume *vol; in ntfs_read_block() local
203 vol = ni->vol; in ntfs_read_block()
208 blocksize = vol->sb->s_blocksize; in ntfs_read_block()
209 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block()
256 bh->b_bdev = vol->sb->s_bdev; in ntfs_read_block()
263 vol->cluster_size_bits; in ntfs_read_block()
265 vol->cluster_size_mask; in ntfs_read_block()
281 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
323 ntfs_error(vol->sb, "Failed to read from inode 0x%lx, " in ntfs_read_block()
[all …]
Dlcnalloc.h43 extern runlist_element *ntfs_cluster_alloc(ntfs_volume *vol,
113 extern int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol,
132 static inline int ntfs_cluster_free_from_rl(ntfs_volume *vol, in ntfs_cluster_free_from_rl() argument
137 down_write(&vol->lcnbmp_lock); in ntfs_cluster_free_from_rl()
138 ret = ntfs_cluster_free_from_rl_nolock(vol, rl); in ntfs_cluster_free_from_rl()
139 up_write(&vol->lcnbmp_lock); in ntfs_cluster_free_from_rl()
Dfile.c341 ntfs_volume *vol = ni->vol; in ntfs_prepare_file_for_write() local
395 end = (pos + iov_iter_count(from) + vol->cluster_size_mask) & in ntfs_prepare_file_for_write()
396 ~(u64)vol->cluster_size_mask; in ntfs_prepare_file_for_write()
594 ntfs_volume *vol; in ntfs_prepare_pages_for_non_resident_write() local
618 vol = ni->vol; in ntfs_prepare_pages_for_non_resident_write()
623 blocksize = vol->sb->s_blocksize; in ntfs_prepare_pages_for_non_resident_write()
624 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_prepare_pages_for_non_resident_write()
646 cpos = pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
648 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
667 bh_cpos = bh_pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
[all …]
Dunistr.c259 int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, in ntfs_nlstoucs() argument
262 struct nls_table *nls = vol->nls_map; in ntfs_nlstoucs()
289 ntfs_error(vol->sb, "Failed to allocate buffer for converted " in ntfs_nlstoucs()
293 ntfs_error(vol->sb, "Received NULL pointer."); in ntfs_nlstoucs()
298 ntfs_error(vol->sb, "Name using character set %s contains " in ntfs_nlstoucs()
303 ntfs_error(vol->sb, "Name is too long (maximum length for a " in ntfs_nlstoucs()
336 int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins, in ntfs_ucstonls() argument
339 struct nls_table *nls = vol->nls_map; in ntfs_ucstonls()
384 ntfs_error(vol->sb, "Received NULL pointer."); in ntfs_ucstonls()
387 ntfs_error(vol->sb, "Unicode name contains characters that cannot be " in ntfs_ucstonls()
[all …]
Dnamei.c106 ntfs_volume *vol = NTFS_SB(dir_ino->i_sb); in ntfs_lookup() local
117 uname_len = ntfs_nlstoucs(vol, dent->d_name.name, dent->d_name.len, in ntfs_lookup()
121 ntfs_error(vol->sb, "Failed to convert name to " in ntfs_lookup()
131 dent_inode = ntfs_iget(vol->sb, dent_ino); in ntfs_lookup()
148 ntfs_error(vol->sb, "Found stale reference to inode " in ntfs_lookup()
157 ntfs_error(vol->sb, "ntfs_iget(0x%lx) failed with " in ntfs_lookup()
172 ntfs_error(vol->sb, "ntfs_lookup_ino_by_name() failed with error " in ntfs_lookup()
187 nls_name.len = (unsigned)ntfs_ucstonls(vol, in ntfs_lookup()
218 ntfs_error(vol->sb, "Inode corrupt: No WIN32 " in ntfs_lookup()
241 nls_name.len = (unsigned)ntfs_ucstonls(vol, in ntfs_lookup()
[all …]
Drunlist.h76 extern runlist_element *ntfs_mapping_pairs_decompress(const ntfs_volume *vol,
86 extern int ntfs_get_size_for_mapping_pairs(const ntfs_volume *vol,
90 extern int ntfs_mapping_pairs_build(const ntfs_volume *vol, s8 *dst,
94 extern int ntfs_rl_truncate_nolock(const ntfs_volume *vol,
97 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist,
Dvolume.h156 static inline int NVol##flag(ntfs_volume *vol) \
158 return test_bit(NV_##flag, &(vol)->flags); \
160 static inline void NVolSet##flag(ntfs_volume *vol) \
162 set_bit(NV_##flag, &(vol)->flags); \
164 static inline void NVolClear##flag(ntfs_volume *vol) \
166 clear_bit(NV_##flag, &(vol)->flags); \
Dlogfile.c488 ntfs_volume *vol = NTFS_SB(log_vi->i_sb); in ntfs_check_logfile() local
500 if (NVolLogFileEmpty(vol)) in ntfs_check_logfile()
530 ntfs_error(vol->sb, "$LogFile is too small."); in ntfs_check_logfile()
548 ntfs_error(vol->sb, "Error mapping $LogFile " in ntfs_check_logfile()
616 NVolSetLogFileEmpty(vol); in ntfs_check_logfile()
623 ntfs_error(vol->sb, "Did not find any restart pages in " in ntfs_check_logfile()
681 ntfs_volume *vol = NTFS_SB(log_vi->i_sb); in ntfs_is_logfile_clean() local
686 if (NVolLogFileEmpty(vol)) { in ntfs_is_logfile_clean()
693 ntfs_error(vol->sb, "Restart page buffer is invalid. This is " in ntfs_is_logfile_clean()
730 ntfs_volume *vol = log_ni->vol; in ntfs_empty_logfile() local
[all …]
Dcollate.c26 static int ntfs_collate_binary(ntfs_volume *vol, in ntfs_collate_binary() argument
44 static int ntfs_collate_ntofs_ulong(ntfs_volume *vol, in ntfs_collate_ntofs_ulong() argument
101 int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, in ntfs_collate() argument
115 return ntfs_do_collate0x0[i](vol, data1, data1_len, in ntfs_collate()
120 return ntfs_do_collate0x1[i](vol, data1, data1_len, in ntfs_collate()
Dcompress.c488 ntfs_volume *vol = ni->vol; in ntfs_read_compressed_block() local
489 struct super_block *sb = vol->sb; in ntfs_read_compressed_block()
502 vol->cluster_size_bits; in ntfs_read_compressed_block()
508 & ~cb_size_mask) >> vol->cluster_size_bits; in ntfs_read_compressed_block()
510 unsigned int nr_cbs = (end_vcn - start_vcn) << vol->cluster_size_bits in ntfs_read_compressed_block()
518 vol->cluster_size_bits >> PAGE_CACHE_SHIFT; in ntfs_read_compressed_block()
544 ntfs_error(vol->sb, "Failed to allocate internal buffers."); in ntfs_read_compressed_block()
552 offset = start_vcn << vol->cluster_size_bits >> PAGE_CACHE_SHIFT; in ntfs_read_compressed_block()
650 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_read_compressed_block()
652 max_block = block + (vol->cluster_size >> block_size_bits); in ntfs_read_compressed_block()
[all …]
Dattrib.h78 extern int load_attribute_list(ntfs_volume *vol, runlist *rl, u8 *al_start,
95 extern int ntfs_attr_size_bounds_check(const ntfs_volume *vol,
97 extern int ntfs_attr_can_be_non_resident(const ntfs_volume *vol,
99 extern int ntfs_attr_can_be_resident(const ntfs_volume *vol,
Drunlist.c749 runlist_element *ntfs_mapping_pairs_decompress(const ntfs_volume *vol, in ntfs_mapping_pairs_decompress() argument
767 ntfs_error(vol->sb, "Invalid arguments."); in ntfs_mapping_pairs_decompress()
779 ntfs_error(vol->sb, "Corrupt attribute."); in ntfs_mapping_pairs_decompress()
833 ntfs_error(vol->sb, "Missing length entry in mapping " in ntfs_mapping_pairs_decompress()
842 ntfs_error(vol->sb, "Invalid length in mapping pairs " in ntfs_mapping_pairs_decompress()
878 if (vol->major_ver < 3) { in ntfs_mapping_pairs_decompress()
880 ntfs_error(vol->sb, "lcn delta == -1"); in ntfs_mapping_pairs_decompress()
882 ntfs_error(vol->sb, "lcn == -1"); in ntfs_mapping_pairs_decompress()
887 ntfs_error(vol->sb, "Invalid LCN < -1 in " in ntfs_mapping_pairs_decompress()
908 ntfs_error(vol->sb, "Corrupt mapping pairs array in " in ntfs_mapping_pairs_decompress()
[all …]
Dmft.h79 extern int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no,
114 extern bool ntfs_may_write_mft_record(ntfs_volume *vol,
118 extern ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, const int mode,
Dindex.c124 ntfs_volume *vol = idx_ni->vol; in ntfs_index_lookup() local
125 struct super_block *sb = vol->sb; in ntfs_index_lookup()
227 rc = ntfs_collate(vol, idx_ni->itype.index.collation_rule, key, in ntfs_index_lookup()
390 rc = ntfs_collate(vol, idx_ni->itype.index.collation_rule, key, in ntfs_index_lookup()
429 if (old_vcn << vol->cluster_size_bits >> in ntfs_index_lookup()
431 vol->cluster_size_bits >> in ntfs_index_lookup()
Dntfs.h127 extern int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins,
129 extern int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins,
Dquota.h31 extern bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol);
Dcollate.h46 extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr,
Dusnjrnl.h201 extern bool ntfs_stamp_usnjrnl(ntfs_volume *vol);
Dinode.h56 ntfs_volume *vol; /* Pointer to the ntfs volume of this inode. */ member
/linux-4.4.14/fs/cifs/
Dconnect.c1039 struct smb_vol *vol) in cifs_parse_security_flavors() argument
1048 vol->sectype = Unspecified; in cifs_parse_security_flavors()
1049 vol->sign = false; in cifs_parse_security_flavors()
1056 vol->sign = true; in cifs_parse_security_flavors()
1059 vol->sectype = Kerberos; in cifs_parse_security_flavors()
1062 vol->sign = true; in cifs_parse_security_flavors()
1065 vol->sectype = RawNTLMSSP; in cifs_parse_security_flavors()
1068 vol->sign = true; in cifs_parse_security_flavors()
1071 vol->sectype = NTLM; in cifs_parse_security_flavors()
1074 vol->sign = true; in cifs_parse_security_flavors()
[all …]
Ddir.c49 cifs_build_path_to_root(struct smb_vol *vol, struct cifs_sb_info *cifs_sb, in cifs_build_path_to_root() argument
52 int pplen = vol->prepath ? strlen(vol->prepath) + 1 : 0; in cifs_build_path_to_root()
74 strncpy(full_path + dfsplen + 1, vol->prepath, pplen); in cifs_build_path_to_root()
Dcifsproto.h64 extern char *cifs_build_path_to_root(struct smb_vol *vol,
277 struct smb_vol *vol);
Dcifsfs.c599 cifs_get_root(struct smb_vol *vol, struct super_block *sb) in cifs_get_root() argument
607 full_path = cifs_build_path_to_root(vol, cifs_sb, in cifs_get_root()
700 mnt_data.vol = volume_info; in cifs_do_mount()
Dcifsglob.h529 struct smb_vol *vol; member
/linux-4.4.14/sound/ppc/
Dawacs.c153 int vol[2]; in snd_pmac_awacs_get_volume() local
156 vol[0] = (chip->awacs_reg[reg] >> lshift) & 0xf; in snd_pmac_awacs_get_volume()
157 vol[1] = chip->awacs_reg[reg] & 0xf; in snd_pmac_awacs_get_volume()
160 vol[0] = 0x0f - vol[0]; in snd_pmac_awacs_get_volume()
161 vol[1] = 0x0f - vol[1]; in snd_pmac_awacs_get_volume()
163 ucontrol->value.integer.value[0] = vol[0]; in snd_pmac_awacs_get_volume()
164 ucontrol->value.integer.value[1] = vol[1]; in snd_pmac_awacs_get_volume()
177 unsigned int vol[2]; in snd_pmac_awacs_put_volume() local
179 vol[0] = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_volume()
180 vol[1] = ucontrol->value.integer.value[1]; in snd_pmac_awacs_put_volume()
[all …]
Ddaca.c151 unsigned int vol[2]; in daca_put_volume() local
156 vol[0] = ucontrol->value.integer.value[0]; in daca_put_volume()
157 vol[1] = ucontrol->value.integer.value[1]; in daca_put_volume()
158 if (vol[0] > DACA_VOL_MAX || vol[1] > DACA_VOL_MAX) in daca_put_volume()
160 change = mix->left_vol != vol[0] || in daca_put_volume()
161 mix->right_vol != vol[1]; in daca_put_volume()
163 mix->left_vol = vol[0]; in daca_put_volume()
164 mix->right_vol = vol[1]; in daca_put_volume()
Dtumbler.c282 unsigned int vol[2]; in tumbler_put_master_volume() local
285 vol[0] = ucontrol->value.integer.value[0]; in tumbler_put_master_volume()
286 vol[1] = ucontrol->value.integer.value[1]; in tumbler_put_master_volume()
287 if (vol[0] >= ARRAY_SIZE(master_volume_table) || in tumbler_put_master_volume()
288 vol[1] >= ARRAY_SIZE(master_volume_table)) in tumbler_put_master_volume()
290 change = mix->master_vol[0] != vol[0] || in tumbler_put_master_volume()
291 mix->master_vol[1] != vol[1]; in tumbler_put_master_volume()
293 mix->master_vol[0] = vol[0]; in tumbler_put_master_volume()
294 mix->master_vol[1] = vol[1]; in tumbler_put_master_volume()
502 unsigned int vol; in tumbler_set_mono_volume() local
[all …]
/linux-4.4.14/drivers/media/radio/
Dradio-typhoon.c110 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument
115 vol = 0; in typhoon_s_mute_volume()
116 vol >>= 14; /* Map 16 bit to 2 bit */ in typhoon_s_mute_volume()
117 vol &= 3; in typhoon_s_mute_volume()
118 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume()
119 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
121 if (vol == 0 && !ty->muted) { in typhoon_s_mute_volume()
125 if (vol && ty->muted) { in typhoon_s_mute_volume()
Dradio-aimslab.c117 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack_s_mute_volume() argument
126 if (vol == 0) { /* volume = 0 means mute the card */ in rtrack_s_mute_volume()
129 } else if (curvol < vol) { in rtrack_s_mute_volume()
131 for (; curvol < vol; curvol++) in rtrack_s_mute_volume()
133 } else if (curvol > vol) { in rtrack_s_mute_volume()
135 for (; curvol > vol; curvol--) in rtrack_s_mute_volume()
139 rt->curvol = vol; in rtrack_s_mute_volume()
Dradio-terratec.c61 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in terratec_s_mute_volume() argument
66 vol = 0; in terratec_s_mute_volume()
67 vol = vol + (vol * 32); /* change both channels */ in terratec_s_mute_volume()
69 if (vol & (0x80 >> i)) in terratec_s_mute_volume()
Dradio-aztech.c109 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()
Dradio-zoltrix.c86 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument
90 zol->curvol = vol; in zoltrix_s_mute_volume()
92 if (mute || vol == 0) { in zoltrix_s_mute_volume()
99 outb(vol - 1, isa->io); in zoltrix_s_mute_volume()
Dradio-trust.c119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in trust_s_mute_volume() argument
125 write_i2c(tr, 2, TDA7318_ADDR, vol ^ 0x1f); in trust_s_mute_volume()
Dradio-rtrack2.c96 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack2_s_mute_volume() argument
Dradio-gemtek.c217 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument
/linux-4.4.14/sound/pci/ice1712/
Dse.c39 } vol[8]; member
464 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
465 uc->value.integer.value[1] = spec->vol[n].ch2; in se200pci_cont_volume_get()
475 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
485 uc->value.enumerated.item[0] = spec->vol[n].ch1; in se200pci_cont_enum_get()
496 spec->vol[n].ch1, in se200pci_cont_update()
497 spec->vol[n].ch2); in se200pci_cont_update()
502 spec->vol[n].ch1, in se200pci_cont_update()
503 spec->vol[n].ch2); in se200pci_cont_update()
508 spec->vol[n].ch1, in se200pci_cont_update()
[all …]
Dphase.c61 unsigned short vol[8]; member
280 unsigned short vol, unsigned short master) in wm_set_vol() argument
284 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()
287 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * in wm_set_vol()
363 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put() local
364 if (vol > WM_VOL_MAX) in wm_master_vol_put()
366 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()
367 if (vol != spec->master[ch]) { in wm_master_vol_put()
369 spec->master[ch] = vol; in wm_master_vol_put()
372 spec->vol[dac + ch], in wm_master_vol_put()
[all …]
Dprodigy_hifi.c44 unsigned short vol[8]; member
273 ucontrol->value.integer.value[i] = spec->vol[i]; in ak4396_dac_vol_get()
287 if (ucontrol->value.integer.value[i] != spec->vol[i]) { in ak4396_dac_vol_put()
288 spec->vol[i] = ucontrol->value.integer.value[i]; in ak4396_dac_vol_put()
290 spec->vol[i] & 0xff); in ak4396_dac_vol_put()
346 unsigned short vol, unsigned short master) in wm_set_vol() argument
350 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()
353 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm_set_vol()
363 unsigned short vol, unsigned short master) in wm8766_set_vol() argument
367 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm8766_set_vol()
[all …]
Dmaya44.c175 struct maya_vol_info *vol = &vol_info[idx]; in maya_vol_info() local
180 uinfo->value.integer.max = vol->maxval; in maya_vol_info()
206 struct maya_vol_info *vol = &vol_info[idx]; in maya_vol_put() local
213 if (val > vol->maxval) in maya_vol_put()
214 val = vol->maxval; in maya_vol_put()
218 data = vol->mute; in maya_vol_put()
220 data = (val - 1) + vol->offset; in maya_vol_put()
221 data |= vol->update; in maya_vol_put()
222 changed |= wm8776_write_bits(chip->ice, wm, vol->regs[ch], in maya_vol_put()
223 vol->mask | vol->update, data); in maya_vol_put()
[all …]
Daureon.c67 unsigned short vol[8]; member
373 unsigned short vol; in aureon_ac97_vol_get() local
377 vol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_get()
378 ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); in aureon_ac97_vol_get()
380 ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); in aureon_ac97_vol_get()
696 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned sh… in wm_set_vol() argument
700 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) { in wm_set_vol()
703 nvol = ((vol % WM_VOL_CNT) * (master % WM_VOL_CNT)) / in wm_set_vol()
775 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put() local
776 if (vol > WM_VOL_MAX) in wm_master_vol_put()
[all …]
Dwtm.c210 unsigned char vol; in stac9460_dac_vol_get() local
220 vol = stac9460_get(ice, idx) & 0x7f; in stac9460_dac_vol_get()
222 vol = stac9460_2_get(ice, idx - 6) & 0x7f; in stac9460_dac_vol_get()
223 ucontrol->value.integer.value[0] = 0x7f - vol; in stac9460_dac_vol_get()
345 unsigned char vol; in stac9460_adc_vol_get() local
351 vol = stac9460_get(ice, reg) & 0x0f; in stac9460_adc_vol_get()
352 ucontrol->value.integer.value[i] = 0x0f - vol; in stac9460_adc_vol_get()
357 vol = stac9460_2_get(ice, reg) & 0x0f; in stac9460_adc_vol_get()
358 ucontrol->value.integer.value[i] = 0x0f - vol; in stac9460_adc_vol_get()
Dprodigy192.c160 unsigned char vol; in stac9460_dac_vol_get() local
166 vol = stac9460_get(ice, idx) & 0x7f; in stac9460_dac_vol_get()
167 ucontrol->value.integer.value[0] = 0x7f - vol; in stac9460_dac_vol_get()
252 unsigned char vol; in stac9460_adc_vol_get() local
256 vol = stac9460_get(ice, reg) & 0x0f; in stac9460_adc_vol_get()
257 ucontrol->value.integer.value[i] = 0x0f - vol; in stac9460_adc_vol_get()
Dice1712.c1292 unsigned int vol = ice->pro_volumes[index]; in snd_ice1712_update_volume() local
1295 val |= (vol & 0x8000) == 0 ? (96 - (vol & 0x7f)) : 0x7f; in snd_ice1712_update_volume()
1296 val |= ((vol & 0x80000000) == 0 ? (96 - ((vol >> 16) & 0x7f)) : 0x7f) << 8; in snd_ice1712_update_volume()
/linux-4.4.14/sound/synth/emux/
Demux_synth.c756 int vol; in calc_volume() local
767 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume()
768 vol = vol * vp->reg.amplitude / 127; in calc_volume()
770 LIMITVALUE(vol, 0, 127); in calc_volume()
773 vol = snd_sf_vol_table[vol]; in calc_volume()
779 vol = voltab1[main_vol] + voltab2[vp->velocity]; in calc_volume()
780 vol = (vol * 8) / 3; in calc_volume()
781 vol += vp->reg.attenuation; in calc_volume()
782 vol += ((0x100 - vol) * expressiontab[expression_vol])/128; in calc_volume()
787 vol += snd_sf_vol_table[master_vol]; in calc_volume()
[all …]
/linux-4.4.14/sound/isa/gus/
Dgus_volume.c30 unsigned short snd_gf1_lvol_to_gvol_raw(unsigned int vol) in snd_gf1_lvol_to_gvol_raw() argument
34 if (vol > 65535) in snd_gf1_lvol_to_gvol_raw()
35 vol = 65535; in snd_gf1_lvol_to_gvol_raw()
36 tmp = vol; in snd_gf1_lvol_to_gvol_raw()
47 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw()
Dgus_pcm.c115 unsigned short vol; in snd_gf1_pcm_trigger_up() local
147 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up()
158 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, vol >> 8); in snd_gf1_pcm_trigger_up()
274 unsigned short vol; in snd_gf1_pcm_interrupt_volume() local
292 vol = !cvoice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_interrupt_volume()
295 snd_gf1_write16(gus, SNDRV_GF1_VW_VOLUME, vol); in snd_gf1_pcm_interrupt_volume()
774 unsigned short val1, val2, vol; in snd_gf1_pcm_volume_put() local
801vol = pvoice == pcmp->pvoices[0] ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_righ… in snd_gf1_pcm_volume_put()
802 snd_gf1_write16(gus, SNDRV_GF1_VW_VOLUME, vol); in snd_gf1_pcm_volume_put()
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Danatop-regulator.txt6 - anatop-vol-bit-shift: Bit shift for the register
7 - anatop-vol-bit-width: Number of bits used in the register
30 anatop-vol-bit-shift = <9>;
31 anatop-vol-bit-width = <5>;
/linux-4.4.14/drivers/media/i2c/
Dcs5345.c117 int vol = cs5345_read(sd, 0x08) & 0x3f; in cs5345_log_status() local
121 if (vol >= 32) in cs5345_log_status()
122 vol = vol - 64; in cs5345_log_status()
123 v4l2_info(sd, "Volume: %d dB\n", vol); in cs5345_log_status()
Dwm8775.c60 struct v4l2_ctrl *vol; member
99 u16 volume = (u16)state->vol->val; in wm8775_set_audio()
135 if (!v4l2_ctrl_g_ctrl(state->vol)) in wm8775_s_routing()
243 state->vol = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
/linux-4.4.14/drivers/media/i2c/cx25840/
Dcx25840-audio.c483 int vol; in set_volume() local
486 vol = volume >> 9; in set_volume()
491 if (vol <= 23) { in set_volume()
492 vol = 0; in set_volume()
494 vol -= 23; in set_volume()
498 cx25840_write(client, 0x8d4, 228 - (vol * 2)); in set_volume()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-av-audio.c348 int vol = volume >> 9; in set_volume() local
352 if (vol <= 23) in set_volume()
353 vol = 0; in set_volume()
355 vol -= 23; in set_volume()
358 cx18_av_write(cx, 0x8d4, 228 - (vol * 2)); in set_volume()
/linux-4.4.14/fs/afs/
Dsuper.c359 struct afs_volume *vol; in afs_mount() local
394 vol = afs_volume_lookup(&params); in afs_mount()
395 if (IS_ERR(vol)) { in afs_mount()
396 ret = PTR_ERR(vol); in afs_mount()
404 afs_put_volume(vol); in afs_mount()
407 as->volume = vol; in afs_mount()
413 afs_put_volume(vol); in afs_mount()
431 afs_put_volume(vol); in afs_mount()
/linux-4.4.14/sound/core/
Dvmaster.c154 int err, ch, vol; in slave_put_val() local
169 vol = ucontrol->value.integer.value[ch]; in slave_put_val()
170 vol += slave->master->val - slave->master->info.max_val; in slave_put_val()
171 if (vol < slave->info.min_val) in slave_put_val()
172 vol = slave->info.min_val; in slave_put_val()
173 else if (vol > slave->info.max_val) in slave_put_val()
174 vol = slave->info.max_val; in slave_put_val()
175 ucontrol->value.integer.value[ch] = vol; in slave_put_val()
/linux-4.4.14/drivers/mfd/
Dwm8350-regmap.c24 u16 vol; /* Mask of volatile bits */ member
307 return wm8350_reg_io_map[reg].vol; in wm8350_volatile()
/linux-4.4.14/sound/pci/asihpi/
Dhpicmn.c355 phr->u.c.an_log_value[0] = pC->u.vol.an_log[0]; in hpi_check_control_cache_single()
356 phr->u.c.an_log_value[1] = pC->u.vol.an_log[1]; in hpi_check_control_cache_single()
358 if (pC->u.vol.flags & HPI_VOLUME_FLAG_HAS_MUTE) { in hpi_check_control_cache_single()
359 if (pC->u.vol.flags & HPI_VOLUME_FLAG_MUTED) in hpi_check_control_cache_single()
570 pC->u.vol.an_log[0] = phr->u.c.an_log_value[0]; in hpi_cmn_control_cache_sync_to_msg_single()
571 pC->u.vol.an_log[1] = phr->u.c.an_log_value[1]; in hpi_cmn_control_cache_sync_to_msg_single()
574 pC->u.vol.flags |= HPI_VOLUME_FLAG_MUTED; in hpi_cmn_control_cache_sync_to_msg_single()
576 pC->u.vol.flags &= ~HPI_VOLUME_FLAG_MUTED; in hpi_cmn_control_cache_sync_to_msg_single()
593 pC->u.vol.an_log[0] = phr->u.c.an_log_value[0]; in hpi_cmn_control_cache_sync_to_msg_single()
594 pC->u.vol.an_log[1] = phr->u.c.an_log_value[1]; in hpi_cmn_control_cache_sync_to_msg_single()
Dhpi_internal.h1352 struct hpi_control_cache_vol vol; member
/linux-4.4.14/sound/sh/
Daica.c366 channel->vol = dreamcastcard->master_volume; in snd_aicapcm_pcm_open()
517 ucontrol->value.integer.value[0] = dreamcastcard->channel->vol; in aica_pcmvolume_get()
525 unsigned int vol; in aica_pcmvolume_put() local
529 vol = ucontrol->value.integer.value[0]; in aica_pcmvolume_put()
530 if (vol > 0xff) in aica_pcmvolume_put()
532 if (unlikely(dreamcastcard->channel->vol == vol)) in aica_pcmvolume_put()
534 dreamcastcard->channel->vol = ucontrol->value.integer.value[0]; in aica_pcmvolume_put()
Daica.h65 uint32_t vol; /* Volume 0-255 */ member
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-alsa.c651 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get() local
654 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get()
655 vol -= (bal & 0x3f); in snd_cx88_volume_get()
656 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get()
751 u32 vol; in snd_cx88_switch_put() local
754 vol = cx_read(AUD_VOL_CTL); in snd_cx88_switch_put()
755 if (value->value.integer.value[0] != !(vol & bit)) { in snd_cx88_switch_put()
756 vol ^= bit; in snd_cx88_switch_put()
757 cx_swrite(SHADOW_AUD_VOL_CTL, AUD_VOL_CTL, vol); in snd_cx88_switch_put()
760 wm8775_s_ctrl(core, V4L2_CID_AUDIO_MUTE, 0 != (vol & bit)); in snd_cx88_switch_put()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-audio-hook.c18 int bits_out, loops, vol, data; in winview_volume() local
21 vol = 32 - ((volume>>11)); in winview_volume()
23 bits_out = (PT2254_DBS_IN_2>>(vol%5)); in winview_volume()
25 bits_out |= (PT2254_DBS_IN_10>>(vol/5)); in winview_volume()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-core.c781 static void tm6010_set_volume_sif(struct tm6000_core *dev, int vol) in tm6010_set_volume_sif() argument
785 vol_reg = vol & 0x0F; in tm6010_set_volume_sif()
787 if (vol < 0) in tm6010_set_volume_sif()
794 static void tm6010_set_volume_adc(struct tm6000_core *dev, int vol) in tm6010_set_volume_adc() argument
798 vol_reg = (vol + 0x10) & 0x1f; in tm6010_set_volume_adc()
809 void tm6000_set_volume(struct tm6000_core *dev, int vol) in tm6000_set_volume() argument
815 vol += 8; /* Offset to 0 dB */ in tm6000_set_volume()
823 tm6010_set_volume_sif(dev, vol); in tm6000_set_volume()
831 tm6010_set_volume_adc(dev, vol); in tm6000_set_volume()
Dtm6000.h336 void tm6000_set_volume(struct tm6000_core *dev, int vol);
/linux-4.4.14/sound/pci/
Drme96.c238 u16 vol[2]; /* cached volume of analog output */ member
529 snd_rme96_write_SPI(rme96, (rme96->vol[0] << 2) | 0x0); in snd_rme96_apply_dac_volume()
530 snd_rme96_write_SPI(rme96, (rme96->vol[1] << 2) | 0x2); in snd_rme96_apply_dac_volume()
532 snd_rme96_write_SPI(rme96, (rme96->vol[0] & 0x3FF) | 0x000); in snd_rme96_apply_dac_volume()
533 snd_rme96_write_SPI(rme96, (rme96->vol[1] & 0x3FF) | 0x400); in snd_rme96_apply_dac_volume()
1702 rme96->vol[0] = rme96->vol[1] = 0; in snd_rme96_create()
1846 snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]); in snd_rme96_proc_read()
1847 snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]); in snd_rme96_proc_read()
2222 u->value.integer.value[0] = rme96->vol[0]; in snd_rme96_dac_volume_get()
2223 u->value.integer.value[1] = rme96->vol[1]; in snd_rme96_dac_volume_get()
[all …]
Dsonicvibes.c644 int vol, oleft, oright, mleft, mright; in snd_sonicvibes_interrupt() local
648 vol = udreg & 0x3f; in snd_sonicvibes_interrupt()
650 vol = -vol; in snd_sonicvibes_interrupt()
655 oleft += vol; in snd_sonicvibes_interrupt()
660 oright += vol; in snd_sonicvibes_interrupt()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_synth.c337 static void vortex_wt_SetVolume(vortex_t * vortex, int wt, int vol[])
340 int ecx = vol[1], eax = vol[0];
344 voice->parm0 |= (vol[0] & 0xff) << 0x10;
346 voice->parm1 |= (vol[1] & 0xff) << 0x10;
Dau88x0_pcm.c558 ucontrol->value.integer.value[i] = p->vol[i]; in snd_vortex_pcm_vol_get()
568 unsigned char vol; in snd_vortex_pcm_vol_put() local
574 if (p->vol[i] != ucontrol->value.integer.value[i]) { in snd_vortex_pcm_vol_put()
575 p->vol[i] = ucontrol->value.integer.value[i]; in snd_vortex_pcm_vol_put()
589 vol = p->vol[i]; in snd_vortex_pcm_vol_put()
591 vortex->mixplayb[i], mixin, vol); in snd_vortex_pcm_vol_put()
Dau88x0.h113 int vol[4]; member
270 unsigned char vol);
272 unsigned char vol);
Dau88x0_core.c121 int channel, int *vol)
134 *vol = a;
138 static unsigned int vortex_mix_boost6db(unsigned char vol)
140 return (vol + 8); /* WOW! what a complex function! */
181 unsigned char vol) in vortex_mix_setvolumebyte() argument
184 hwwrite(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2), vol); in vortex_mix_setvolumebyte()
187 if ((temp != 0x80) || (vol == 0x80)) in vortex_mix_setvolumebyte()
190 hwwrite(vortex->mmio, VORTEX_MIX_VOL_B + (mix << 2), vol); in vortex_mix_setvolumebyte()
195 int mixin, unsigned char vol) in vortex_mix_setinputvolumebyte() argument
200 VORTEX_MIX_INVOL_A + (((mix << 5) + mixin) << 2), vol); in vortex_mix_setinputvolumebyte()
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dimx6sl.dtsi471 anatop-vol-bit-shift = <8>;
472 anatop-vol-bit-width = <5>;
485 anatop-vol-bit-shift = <8>;
486 anatop-vol-bit-width = <5>;
499 anatop-vol-bit-shift = <8>;
500 anatop-vol-bit-width = <5>;
513 anatop-vol-bit-shift = <0>;
514 anatop-vol-bit-width = <5>;
530 anatop-vol-bit-shift = <9>;
531 anatop-vol-bit-width = <5>;
[all …]
Dimx6qdl.dtsi610 anatop-vol-bit-shift = <8>;
611 anatop-vol-bit-width = <5>;
624 anatop-vol-bit-shift = <8>;
625 anatop-vol-bit-width = <5>;
638 anatop-vol-bit-shift = <8>;
639 anatop-vol-bit-width = <5>;
652 anatop-vol-bit-shift = <0>;
653 anatop-vol-bit-width = <5>;
669 anatop-vol-bit-shift = <9>;
670 anatop-vol-bit-width = <5>;
[all …]
Dimx6sx.dtsi555 anatop-vol-bit-shift = <8>;
556 anatop-vol-bit-width = <5>;
569 anatop-vol-bit-shift = <8>;
570 anatop-vol-bit-width = <5>;
583 anatop-vol-bit-shift = <8>;
584 anatop-vol-bit-width = <5>;
597 anatop-vol-bit-shift = <0>;
598 anatop-vol-bit-width = <5>;
613 anatop-vol-bit-shift = <9>;
614 anatop-vol-bit-width = <5>;
[all …]
Dimx6ul.dtsi359 anatop-vol-bit-shift = <8>;
360 anatop-vol-bit-width = <5>;
374 anatop-vol-bit-shift = <0>;
375 anatop-vol-bit-width = <5>;
391 anatop-vol-bit-shift = <18>;
392 anatop-vol-bit-width = <5>;
Dexynos4210-trats.dts96 vol-down-key {
103 vol-up-key {
Dexynos4210-universal_c210.dts76 vol-up-key {
83 vol-down-key {
Dimx7d.dtsi524 anatop-vol-bit-shift = <8>;
525 anatop-vol-bit-width = <5>;
/linux-4.4.14/block/partitions/
Dibm.c21 struct vtoc_volume_label_cdl vol; member
113 strncpy(type, label->vol.vollbl, 4); in find_label()
114 strncpy(name, label->vol.volid, 6); in find_label()
154 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in find_vol1_partitions()
/linux-4.4.14/sound/oss/
Dswarm_cs4297a.c294 unsigned short vol[10]; member
1310 return put_user(s->mix.vol[vidx - 1], (int *) arg); in mixer_ioctl()
1373 s->mix.vol[8] = ((unsigned int) r << 8) | l; in mixer_ioctl()
1375 s->mix.vol[8] = val; in mixer_ioctl()
1377 return put_user(s->mix.vol[8], (int *) arg); in mixer_ioctl()
1403 s->mix.vol[6] = l << 8; in mixer_ioctl()
1405 s->mix.vol[6] = val; in mixer_ioctl()
1407 return put_user(s->mix.vol[6], (int *) arg); in mixer_ioctl()
1429 s->mix.vol[7] = ((unsigned int) r << 8) | l; in mixer_ioctl()
1431 s->mix.vol[7] = val; in mixer_ioctl()
[all …]
Dpss.c422 int vol = ((0x8000*volume)/100L); in set_synth_volume() local
424 pss_write(devc, vol); in set_synth_volume()
426 pss_write(devc, vol); in set_synth_volume()
431 int vol = (int)(((0xfd - 0xf0) * level)/100L) + 0xf0; in set_bass() local
433 pss_write(devc, vol | 0x0200); in set_bass()
438 int vol = (((0xfd - 0xf0) * level)/100L) + 0xf0; in set_treble() local
440 pss_write(devc, vol | 0x0300); in set_treble()
Dvidc.h63 extern int vidc_synth_set_volume(int vol);
/linux-4.4.14/sound/soc/sh/
Dsiu_dai.c371 u32 vol; in siu_dai_get_volume() local
378 vol = port_info->playback.volume; in siu_dai_get_volume()
379 ucontrol->value.integer.value[0] = vol & 0xffff; in siu_dai_get_volume()
380 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; in siu_dai_get_volume()
384 vol = port_info->capture.volume; in siu_dai_get_volume()
385 ucontrol->value.integer.value[0] = vol & 0xffff; in siu_dai_get_volume()
386 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; in siu_dai_get_volume()
/linux-4.4.14/Documentation/device-mapper/
Dstatistics.txt203 Subdivide the DM device 'vol' into 100 pieces and start collecting
206 dmsetup message vol 0 @stats_create - /100
211 dmsetup message vol 0 @stats_set_aux 0 foo\\ bar\\ baz
215 dmsetup message vol 0 @stats_list
219 dmsetup message vol 0 @stats_print 0
223 dmsetup message vol 0 @stats_delete 0
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr_mixer.c55 int err, vol; in pcxhr_update_analog_audio_level() local
65 vol = chip->analog_playback_volume[channel]; in pcxhr_update_analog_audio_level()
67 vol = PCXHR_LINE_PLAYBACK_LEVEL_MIN; in pcxhr_update_analog_audio_level()
69 rmh.cmd[2] = PCXHR_LINE_PLAYBACK_LEVEL_MAX - vol; in pcxhr_update_analog_audio_level()
395 int vol = ucontrol->value.integer.value[i]; in pcxhr_pcm_vol_put() local
396 if (vol < PCXHR_DIGITAL_LEVEL_MIN || in pcxhr_pcm_vol_put()
397 vol > PCXHR_DIGITAL_LEVEL_MAX) in pcxhr_pcm_vol_put()
399 if (stored_volume[i] != vol) { in pcxhr_pcm_vol_put()
400 stored_volume[i] = vol; in pcxhr_pcm_vol_put()
Dpcxhr_mix22.c569 int vol; in hr222_update_analog_audio_level() local
571 vol = chip->analog_playback_volume[channel]; in hr222_update_analog_audio_level()
573 vol = HR222_LINE_PLAYBACK_LEVEL_MIN; in hr222_update_analog_audio_level()
574 return hr222_set_hw_playback_level(chip->mgr, channel, vol); in hr222_update_analog_audio_level()
/linux-4.4.14/sound/isa/cs423x/
Dcs4236_lib.c669 static inline int snd_cs4236_mixer_master_digital_invert_volume(int vol) in snd_cs4236_mixer_master_digital_invert_volume() argument
671 return (vol < 64) ? 63 - vol : 64 + (71 - vol); in snd_cs4236_mixer_master_digital_invert_volume()
713 static inline int snd_cs4235_mixer_output_accu_get_volume(int vol) in snd_cs4235_mixer_output_accu_get_volume() argument
715 switch ((vol >> 5) & 3) { in snd_cs4235_mixer_output_accu_get_volume()
724 static inline int snd_cs4235_mixer_output_accu_set_volume(int vol) in snd_cs4235_mixer_output_accu_set_volume() argument
726 switch (vol & 3) { in snd_cs4235_mixer_output_accu_set_volume()
/linux-4.4.14/sound/usb/usx2y/
Dusbus428ctldefs.h91 struct usX2Y_volume vol; member
Dusbusx2y.c244 usb_sndbulkpipe(usX2Y->dev, 0x04), &p4out->val.vol, in i_usX2Y_In04Int()
/linux-4.4.14/sound/pci/mixart/
Dmixart_mixer.c879 int vol = ucontrol->value.integer.value[i]; in mixart_pcm_vol_put() local
880 if (vol < MIXART_DIGITAL_LEVEL_MIN || in mixart_pcm_vol_put()
881 vol > MIXART_DIGITAL_LEVEL_MAX) in mixart_pcm_vol_put()
883 if (stored_volume[i] != vol) { in mixart_pcm_vol_put()
884 stored_volume[i] = vol; in mixart_pcm_vol_put()
/linux-4.4.14/fs/affs/
Dsuper.c276 char *vol = match_strdup(&args[0]); in parse_options() local
277 if (!vol) in parse_options()
279 strlcpy(volume, vol, 32); in parse_options()
280 kfree(vol); in parse_options()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_av.c285 int err, vol, val, balance = 0; in av7110_set_volume() local
312 vol = (volleft > volright) ? volleft : volright; in av7110_set_volume()
313 val = (vol * 0x73 / 255) << 8; in av7110_set_volume()
314 if (vol > 0) in av7110_set_volume()
315 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()
322 vol = (volleft > volright) ? volleft : volright; in av7110_set_volume()
323 val = (vol * 0x73 / 255) << 8; in av7110_set_volume()
324 if (vol > 0) in av7110_set_volume()
325 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()
/linux-4.4.14/sound/sparc/
Ddbri.c2286 unsigned int vol[2]; in snd_cs4215_put_volume() local
2289 vol[0] = ucontrol->value.integer.value[0]; in snd_cs4215_put_volume()
2290 vol[1] = ucontrol->value.integer.value[1]; in snd_cs4215_put_volume()
2292 if (vol[0] > DBRI_MAX_VOLUME || vol[1] > DBRI_MAX_VOLUME) in snd_cs4215_put_volume()
2295 if (vol[0] > DBRI_MAX_GAIN || vol[1] > DBRI_MAX_GAIN) in snd_cs4215_put_volume()
2299 if (info->left_gain != vol[0]) { in snd_cs4215_put_volume()
2300 info->left_gain = vol[0]; in snd_cs4215_put_volume()
2303 if (info->right_gain != vol[1]) { in snd_cs4215_put_volume()
2304 info->right_gain = vol[1]; in snd_cs4215_put_volume()
/linux-4.4.14/sound/pci/emu10k1/
Demufx.c1289 #define A_ADD_VOLUME_IN(var,vol,input) \ in _snd_emu10k1_audigy_init_efx() argument
1290 A_OP(icode, &ptr, iMAC0, A_GPR(var), A_GPR(var), A_GPR(vol), A_EXTIN(input)) in _snd_emu10k1_audigy_init_efx()
1766 static void _volume(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) in _volume() argument
1768 OP(icode, ptr, iMAC0, dst, C_00000000, src, vol); in _volume()
1769 OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff); in _volume()
1773 static void _volume_add(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) in _volume_add() argument
1775 OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff); in _volume_add()
1779 OP(icode, ptr, iMAC0, dst, dst, src, vol); in _volume_add()
1781 static void _volume_out(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) in _volume_out() argument
1783 OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff); in _volume_out()
[all …]
/linux-4.4.14/include/uapi/linux/
Dsoundcard.h1140 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument
1141 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
1143 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument
1144 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-mxs.c259 u8 ma, vol, pull, bank, shift; in mxs_pinconf_group_set() local
269 vol = CONFIG_TO_VOL(config); in mxs_pinconf_group_set()
290 if (vol) in mxs_pinconf_group_set()
/linux-4.4.14/sound/mips/
Dsgio2audio.c175 int vol; in sgio2audio_gain_get() local
177 vol = ad1843_get_gain(&chip->ad1843, (int)kcontrol->private_value); in sgio2audio_gain_get()
179 ucontrol->value.integer.value[0] = (vol >> 8) & 0xFF; in sgio2audio_gain_get()
180 ucontrol->value.integer.value[1] = vol & 0xFF; in sgio2audio_gain_get()
/linux-4.4.14/fs/btrfs/
Dsuper.c2095 struct btrfs_ioctl_vol_args *vol; in btrfs_control_ioctl() local
2102 vol = memdup_user((void __user *)arg, sizeof(*vol)); in btrfs_control_ioctl()
2103 if (IS_ERR(vol)) in btrfs_control_ioctl()
2104 return PTR_ERR(vol); in btrfs_control_ioctl()
2108 ret = btrfs_scan_one_device(vol->name, FMODE_READ, in btrfs_control_ioctl()
2112 ret = btrfs_scan_one_device(vol->name, FMODE_READ, in btrfs_control_ioctl()
2120 kfree(vol); in btrfs_control_ioctl()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_bns.c57 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_dummy.c59 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_txprt.c57 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_spkout.c63 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_acntsa.c60 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_ltlk.c69 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_audptr.c64 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_apollo.c68 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_decext.c86 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_acntpc.c75 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_dectlk.c85 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_soft.c81 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_dtlk.c86 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_decpc.c180 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspkguide.txt414 vol
510 cat /speakup/KWD/vol
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-core.c466 int vol; in em28xx_audio_analog_set() local
473 vol = (0x1f - dev->volume) | ((0x1f - dev->volume) << 8); in em28xx_audio_analog_set()
477 vol |= 0x8000; in em28xx_audio_analog_set()
483 vol); in em28xx_audio_analog_set()
/linux-4.4.14/fs/ncpfs/
Dncplib_kernel.h113 int ncp_dirhandle_alloc(struct ncp_server *, __u8 vol, __le32 dirent, __u8 *dirhandle);
/linux-4.4.14/Documentation/scheduler/
Dsched-deadline.txt301 Periodic, Real-Time Tasks. Information Processing Letters, vol. 11,
308 One Processor. Real-Time Systems Journal, vol. 4, no. 2, pp 301-324,
311 research, vol. 26, no. 1, pp 127-140, 1978.
315 IEEE Transactions on Parallel and Distributed Systems, vol. 16, no. 8,
319 vol. 25, no. 2–3, pp. 187–205, 2003.
321 Multiprocessor Systems. ACM Computing Surveys, vol. 43, no. 4, 2011.
324 Scheduling on a Multiprocessor. Real-Time Systems Journal, vol. 32,
/linux-4.4.14/sound/pci/trident/
Dtrident.h348 unsigned short vol; /* front volume */ member
Dtrident_main.c975 voice->Vol = mix->vol; in snd_trident_playback_prepare()
1486 voice->Vol = mix->vol; in snd_trident_spdif_prepare()
2674 ucontrol->value.integer.value[0] = 1023 - mix->vol; in snd_trident_pcm_vol_control_get()
2676 ucontrol->value.integer.value[0] = 255 - (mix->vol>>2); in snd_trident_pcm_vol_control_get()
2695 change = val != mix->vol; in snd_trident_pcm_vol_control_put()
2696 mix->vol = val; in snd_trident_pcm_vol_control_put()
2929 tmix->vol = T4D_DEFAULT_PCM_VOL; in snd_trident_pcm_mixer_build()
3650 tmix->vol = T4D_DEFAULT_PCM_VOL; in snd_trident_create()
/linux-4.4.14/Documentation/devicetree/bindings/opp/
Dopp.txt20 of frequency and voltage like <freq-kHz vol-uV>.
22 vol: voltage in microvolt
/linux-4.4.14/sound/pci/hda/
Dpatch_cirrus.c971 unsigned int vol = ucontrol->value.integer.value[0]; in cs421x_boost_vol_put() local
977 coef |= (vol & 0x0003); in cs421x_boost_vol_put()
Dhda_generic.c3738 int vol, sw; in create_capture_mixers() local
3740 vol = sw = 0; in create_capture_mixers()
3747 if (!vol) in create_capture_mixers()
3748 vol = path->ctls[NID_PATH_VOL_CTL]; in create_capture_mixers()
3749 else if (vol != path->ctls[NID_PATH_VOL_CTL]) { in create_capture_mixers()
3751 if (!same_amp_caps(codec, vol, in create_capture_mixers()
3768 err = create_single_cap_vol_ctl(codec, n, vol, sw, in create_capture_mixers()
3771 err = create_bind_cap_vol_ctl(codec, n, vol, sw); in create_capture_mixers()
/linux-4.4.14/Documentation/ia64/
Daliasing.txt220 [1] SDM rev 2.2, vol 2, sec 4.4.1.
221 [2] SDM rev 2.2, vol 2, sec 4.4.6.
/linux-4.4.14/include/sound/
Dgus.h574 unsigned short snd_gf1_lvol_to_gvol_raw(unsigned int vol);
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dw6692.c551 u16 *vol = (u16 *)skb->data;
559 if (*vol > 7)
561 val = *vol & 7;
/linux-4.4.14/Documentation/laptops/
Dasus-laptop.txt206 7 = vol
/linux-4.4.14/fs/ubifs/
Dsuper.c1912 int dev, vol; in open_ubi() local
1939 vol = simple_strtoul(endptr + 1, &endptr, 0); in open_ubi()
1942 return ubi_open_volume(dev, vol, mode); in open_ubi()
/linux-4.4.14/drivers/platform/x86/
Dthinkpad_acpi.c6905 static int __volume_set_volume_ec(const u8 vol) in __volume_set_volume_ec() argument
6910 if (vol > TP_EC_VOLUME_MAX) in __volume_set_volume_ec()
6920 n = (s & ~TP_EC_AUDIO_LVL_MSK) | vol; in __volume_set_volume_ec()
6984 static int volume_alsa_set_volume(const u8 vol) in volume_alsa_set_volume() argument
6987 "ALSA: trying to set volume level to %hu\n", vol); in volume_alsa_set_volume()
6988 return __volume_set_volume_ec(vol); in volume_alsa_set_volume()
/linux-4.4.14/drivers/scsi/aacraid/
Daachba.c622 (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) && in _aac_probe_container2()
638 fsa_dev_ptr->type = le32_to_cpu(dresp->mnt[0].vol); in _aac_probe_container2()
668 (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE)) { in _aac_probe_container1()
Daacraid.h1788 __le32 vol; /* substrate structure */ member
/linux-4.4.14/drivers/base/regmap/
Dregmap.c2415 bool vol = regmap_volatile_range(map, reg, val_count); in regmap_bulk_read() local
2420 if (map->bus && map->format.parse_inplace && (vol || map->cache_type == REGCACHE_NONE)) { in regmap_bulk_read()
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dilsp.S270 # Art of Computer Programming, vol II, Seminumerical Algorithms. #
/linux-4.4.14/Documentation/filesystems/
Dntfs.txt341 # vol volume params mirrors Device Device
/linux-4.4.14/sound/soc/codecs/
Dwm8995.h4246 u16 vol; member
/linux-4.4.14/tools/power/cpupower/po/
Dcs.po364 msgstr " (zjištěno hardwarovým voláním)"