/linux-4.1.27/drivers/mtd/ubi/ |
D | upd.c | 54 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 …]
|
D | vmt.c | 71 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 …]
|
D | kapi.c | 80 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 …]
|
D | cdev.c | 60 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 …]
|
D | vtbl.c | 130 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local 131 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes() 533 struct ubi_volume *vol; in init_volumes() local 541 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes() 542 if (!vol) in init_volumes() 545 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in init_volumes() 546 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes() 547 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes() 548 vol->upd_marker = vtbl[i].upd_marker; in init_volumes() 549 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? in init_volumes() [all …]
|
D | eba.c | 324 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 …]
|
D | misc.c | 65 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()
|
D | debug.c | 107 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 …]
|
D | ubi.h | 359 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 …]
|
D | fastmap.c | 1092 struct ubi_volume *vol; in ubi_write_fastmap() local 1238 vol = ubi->volumes[i]; in ubi_write_fastmap() 1240 if (!vol) in ubi_write_fastmap() 1250 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap() 1251 fvh->vol_type = vol->vol_type; in ubi_write_fastmap() 1252 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap() 1253 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap() 1254 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap() 1256 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap() 1257 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap() [all …]
|
D | build.c | 156 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 162 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify() 809 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize() local 810 int err, old_reserved_pebs = vol->reserved_pebs; in autoresize() 837 desc.vol = vol; in autoresize() 849 vol_id, vol->name, old_reserved_pebs, vol->reserved_pebs); in autoresize()
|
D | debug.h | 56 void ubi_dump_vol_info(const struct ubi_volume *vol);
|
/linux-4.1.27/fs/ntfs/ |
D | super.c | 101 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 …]
|
D | lcnalloc.c | 50 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 …]
|
D | mft.c | 50 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 …]
|
D | quota.c | 37 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 …]
|
D | attrib.c | 123 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 …]
|
D | usnjrnl.c | 47 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()
|
D | inode.c | 400 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 …]
|
D | dir.c | 83 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 …]
|
D | aops.c | 106 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 …]
|
D | lcnalloc.h | 43 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()
|
D | file.c | 341 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() 593 ntfs_volume *vol; in ntfs_prepare_pages_for_non_resident_write() local 617 vol = ni->vol; in ntfs_prepare_pages_for_non_resident_write() 622 blocksize = vol->sb->s_blocksize; in ntfs_prepare_pages_for_non_resident_write() 623 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_prepare_pages_for_non_resident_write() 645 cpos = pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 647 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 666 bh_cpos = bh_pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | unistr.c | 259 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 …]
|
D | namei.c | 106 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 …]
|
D | runlist.h | 76 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,
|
D | volume.h | 156 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); \
|
D | logfile.c | 488 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 …]
|
D | collate.c | 26 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()
|
D | compress.c | 488 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 …]
|
D | attrib.h | 78 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,
|
D | runlist.c | 749 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 …]
|
D | mft.h | 79 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,
|
D | index.c | 124 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()
|
D | ntfs.h | 127 extern int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, 129 extern int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins,
|
D | quota.h | 31 extern bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol);
|
D | collate.h | 46 extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr,
|
D | usnjrnl.h | 201 extern bool ntfs_stamp_usnjrnl(ntfs_volume *vol);
|
D | inode.h | 56 ntfs_volume *vol; /* Pointer to the ntfs volume of this inode. */ member
|
/linux-4.1.27/fs/cifs/ |
D | connect.c | 1028 struct smb_vol *vol) in cifs_parse_security_flavors() argument 1037 vol->sectype = Unspecified; in cifs_parse_security_flavors() 1038 vol->sign = false; in cifs_parse_security_flavors() 1045 vol->sign = true; in cifs_parse_security_flavors() 1048 vol->sectype = Kerberos; in cifs_parse_security_flavors() 1051 vol->sign = true; in cifs_parse_security_flavors() 1054 vol->sectype = RawNTLMSSP; in cifs_parse_security_flavors() 1057 vol->sign = true; in cifs_parse_security_flavors() 1060 vol->sectype = NTLM; in cifs_parse_security_flavors() 1063 vol->sign = true; in cifs_parse_security_flavors() [all …]
|
D | dir.c | 49 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()
|
D | cifsproto.h | 66 extern char *cifs_build_path_to_root(struct smb_vol *vol, 279 struct smb_vol *vol);
|
D | cifsfs.c | 592 cifs_get_root(struct smb_vol *vol, struct super_block *sb) in cifs_get_root() argument 600 full_path = cifs_build_path_to_root(vol, cifs_sb, in cifs_get_root() 693 mnt_data.vol = volume_info; in cifs_do_mount()
|
D | cifsglob.h | 517 struct smb_vol *vol; member
|
/linux-4.1.27/sound/ppc/ |
D | awacs.c | 153 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 …]
|
D | daca.c | 151 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()
|
D | tumbler.c | 282 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.1.27/drivers/media/radio/ |
D | radio-typhoon.c | 110 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()
|
D | radio-aimslab.c | 117 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()
|
D | radio-terratec.c | 61 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()
|
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()
|
D | radio-zoltrix.c | 86 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()
|
D | radio-trust.c | 119 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()
|
D | radio-rtrack2.c | 96 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack2_s_mute_volume() argument
|
D | radio-gemtek.c | 217 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument
|
/linux-4.1.27/sound/pci/ice1712/ |
D | se.c | 39 } 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 …]
|
D | phase.c | 61 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 …]
|
D | prodigy_hifi.c | 44 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 …]
|
D | maya44.c | 175 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 …]
|
D | aureon.c | 67 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 …]
|
D | wtm.c | 210 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()
|
D | prodigy192.c | 160 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()
|
D | ice1712.c | 1292 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.1.27/sound/synth/emux/ |
D | emux_synth.c | 756 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.1.27/sound/isa/gus/ |
D | gus_volume.c | 30 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()
|
D | gus_pcm.c | 115 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 801 …vol = 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.1.27/Documentation/devicetree/bindings/regulator/ |
D | anatop-regulator.txt | 6 - anatop-vol-bit-shift: Bit shift for the register 7 - anatop-vol-bit-width: Number of bits used in the register 29 anatop-vol-bit-shift = <9>; 30 anatop-vol-bit-width = <5>;
|
/linux-4.1.27/drivers/media/i2c/ |
D | cs5345.c | 117 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()
|
D | wm8775.c | 60 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.1.27/drivers/media/i2c/cx25840/ |
D | cx25840-audio.c | 483 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.1.27/drivers/media/pci/cx18/ |
D | cx18-av-audio.c | 348 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.1.27/fs/afs/ |
D | super.c | 359 struct afs_volume *vol; in afs_mount() local 394 vol = afs_volume_lookup(¶ms); 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.1.27/sound/core/ |
D | vmaster.c | 154 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.1.27/drivers/mfd/ |
D | wm8350-regmap.c | 24 u16 vol; /* Mask of volatile bits */ member 307 return wm8350_reg_io_map[reg].vol; in wm8350_volatile()
|
/linux-4.1.27/Documentation/devicetree/bindings/power/ |
D | opp.txt | 9 of frequency and voltage like <freq-kHz vol-uV>. 11 vol: voltage in microvolt
|
/linux-4.1.27/sound/pci/asihpi/ |
D | hpicmn.c | 355 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()
|
D | hpi_internal.h | 1352 struct hpi_control_cache_vol vol; member
|
/linux-4.1.27/sound/sh/ |
D | aica.c | 366 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()
|
D | aica.h | 65 uint32_t vol; /* Volume 0-255 */ member
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 651 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.1.27/drivers/media/usb/tm6000/ |
D | tm6000-core.c | 781 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()
|
D | tm6000.h | 336 void tm6000_set_volume(struct tm6000_core *dev, int vol);
|
/linux-4.1.27/sound/pci/ |
D | rme96.c | 238 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 …]
|
D | sonicvibes.c | 644 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.1.27/drivers/media/pci/bt8xx/ |
D | bttv-audio-hook.c | 18 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.1.27/sound/pci/au88x0/ |
D | au88x0_synth.c | 337 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;
|
D | au88x0_pcm.c | 558 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()
|
D | au88x0.h | 113 int vol[4]; member 270 unsigned char vol); 272 unsigned char vol);
|
D | au88x0_core.c | 121 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.1.27/Documentation/device-mapper/ |
D | statistics.txt | 166 Subdivide the DM device 'vol' into 100 pieces and start collecting 169 dmsetup message vol 0 @stats_create - /100 174 dmsetup message vol 0 @stats_set_aux 0 foo\\ bar\\ baz 178 dmsetup message vol 0 @stats_list 182 dmsetup message vol 0 @stats_print 0 186 dmsetup message vol 0 @stats_delete 0
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | imx6sl.dtsi | 455 anatop-vol-bit-shift = <8>; 456 anatop-vol-bit-width = <5>; 469 anatop-vol-bit-shift = <8>; 470 anatop-vol-bit-width = <5>; 483 anatop-vol-bit-shift = <8>; 484 anatop-vol-bit-width = <5>; 497 anatop-vol-bit-shift = <0>; 498 anatop-vol-bit-width = <5>; 514 anatop-vol-bit-shift = <9>; 515 anatop-vol-bit-width = <5>; [all …]
|
D | imx6qdl.dtsi | 550 anatop-vol-bit-shift = <8>; 551 anatop-vol-bit-width = <5>; 564 anatop-vol-bit-shift = <8>; 565 anatop-vol-bit-width = <5>; 578 anatop-vol-bit-shift = <8>; 579 anatop-vol-bit-width = <5>; 592 anatop-vol-bit-shift = <0>; 593 anatop-vol-bit-width = <5>; 609 anatop-vol-bit-shift = <9>; 610 anatop-vol-bit-width = <5>; [all …]
|
D | imx6sx.dtsi | 554 anatop-vol-bit-shift = <8>; 555 anatop-vol-bit-width = <5>; 568 anatop-vol-bit-shift = <8>; 569 anatop-vol-bit-width = <5>; 582 anatop-vol-bit-shift = <8>; 583 anatop-vol-bit-width = <5>; 596 anatop-vol-bit-shift = <0>; 597 anatop-vol-bit-width = <5>; 612 anatop-vol-bit-shift = <9>; 613 anatop-vol-bit-width = <5>; [all …]
|
D | exynos4210-trats.dts | 131 vol-down-key { 138 vol-up-key {
|
D | exynos4210-universal_c210.dts | 135 vol-up-key { 142 vol-down-key {
|
/linux-4.1.27/block/partitions/ |
D | ibm.c | 21 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.1.27/sound/oss/ |
D | swarm_cs4297a.c | 294 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 …]
|
D | pss.c | 422 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()
|
D | vidc.h | 63 extern int vidc_synth_set_volume(int vol);
|
/linux-4.1.27/sound/soc/sh/ |
D | siu_dai.c | 371 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.1.27/sound/pci/pcxhr/ |
D | pcxhr_mixer.c | 55 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()
|
D | pcxhr_mix22.c | 569 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.1.27/sound/isa/cs423x/ |
D | cs4236_lib.c | 669 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.1.27/sound/usb/usx2y/ |
D | usbus428ctldefs.h | 91 struct usX2Y_volume vol; member
|
D | usbusx2y.c | 244 usb_sndbulkpipe(usX2Y->dev, 0x04), &p4out->val.vol, in i_usX2Y_In04Int()
|
/linux-4.1.27/sound/pci/mixart/ |
D | mixart_mixer.c | 879 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.1.27/fs/affs/ |
D | super.c | 275 char *vol = match_strdup(&args[0]); in parse_options() local 276 if (!vol) in parse_options() 278 strlcpy(volume, vol, 32); in parse_options() 279 kfree(vol); in parse_options()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
D | av7110_av.c | 285 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.1.27/sound/sparc/ |
D | dbri.c | 2286 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.1.27/sound/pci/emu10k1/ |
D | emufx.c | 1289 #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.1.27/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 259 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.1.27/include/uapi/linux/ |
D | soundcard.h | 1140 #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.1.27/fs/btrfs/ |
D | super.c | 1961 struct btrfs_ioctl_vol_args *vol; in btrfs_control_ioctl() local 1968 vol = memdup_user((void __user *)arg, sizeof(*vol)); in btrfs_control_ioctl() 1969 if (IS_ERR(vol)) in btrfs_control_ioctl() 1970 return PTR_ERR(vol); in btrfs_control_ioctl() 1974 ret = btrfs_scan_one_device(vol->name, FMODE_READ, in btrfs_control_ioctl() 1978 ret = btrfs_scan_one_device(vol->name, FMODE_READ, in btrfs_control_ioctl() 1986 kfree(vol); in btrfs_control_ioctl()
|
/linux-4.1.27/sound/mips/ |
D | sgio2audio.c | 175 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.1.27/drivers/staging/speakup/ |
D | speakup_txprt.c | 57 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_bns.c | 57 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_dummy.c | 59 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_spkout.c | 63 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_acntsa.c | 60 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_ltlk.c | 69 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_audptr.c | 64 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_apollo.c | 68 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_decext.c | 86 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_acntpc.c | 75 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_dectlk.c | 85 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_soft.c | 80 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_dtlk.c | 86 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_decpc.c | 179 __ATTR(vol, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | spkguide.txt | 414 vol 510 cat /speakup/KWD/vol
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 466 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.1.27/fs/ncpfs/ |
D | ncplib_kernel.h | 113 int ncp_dirhandle_alloc(struct ncp_server *, __u8 vol, __le32 dirent, __u8 *dirhandle);
|
/linux-4.1.27/sound/pci/trident/ |
D | trident.h | 348 unsigned short vol; /* front volume */ member
|
D | trident_main.c | 975 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.1.27/Documentation/ia64/ |
D | aliasing.txt | 220 [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.1.27/sound/pci/hda/ |
D | patch_cirrus.c | 958 unsigned int vol = ucontrol->value.integer.value[0]; in cs421x_boost_vol_put() local 964 coef |= (vol & 0x0003); in cs421x_boost_vol_put()
|
D | hda_generic.c | 3736 int vol, sw; in create_capture_mixers() local 3738 vol = sw = 0; in create_capture_mixers() 3745 if (!vol) in create_capture_mixers() 3746 vol = path->ctls[NID_PATH_VOL_CTL]; in create_capture_mixers() 3747 else if (vol != path->ctls[NID_PATH_VOL_CTL]) { in create_capture_mixers() 3749 if (!same_amp_caps(codec, vol, in create_capture_mixers() 3766 err = create_single_cap_vol_ctl(codec, n, vol, sw, in create_capture_mixers() 3769 err = create_bind_cap_vol_ctl(codec, n, vol, sw); in create_capture_mixers()
|
/linux-4.1.27/include/sound/ |
D | gus.h | 574 unsigned short snd_gf1_lvol_to_gvol_raw(unsigned int vol);
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | w6692.c | 551 u16 *vol = (u16 *)skb->data; 559 if (*vol > 7) 561 val = *vol & 7;
|
/linux-4.1.27/sound/soc/codecs/ |
D | max98088.c | 264 int vol; member 546 return max98088_access[reg].vol; in max98088_volatile_register()
|
D | wm8995.h | 4246 u16 vol; member
|
/linux-4.1.27/Documentation/laptops/ |
D | asus-laptop.txt | 206 7 = vol
|
/linux-4.1.27/fs/ubifs/ |
D | super.c | 1908 int dev, vol; in open_ubi() local 1935 vol = simple_strtoul(endptr + 1, &endptr, 0); in open_ubi() 1938 return ubi_open_volume(dev, vol, mode); in open_ubi()
|
/linux-4.1.27/drivers/platform/x86/ |
D | thinkpad_acpi.c | 6905 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.1.27/drivers/base/regmap/ |
D | regmap.c | 2285 bool vol = regmap_volatile_range(map, reg, val_count); in regmap_bulk_read() local 2290 if (map->bus && map->format.parse_inplace && (vol || map->cache_type == REGCACHE_NONE)) { in regmap_bulk_read()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | aachba.c | 622 (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()
|
D | aacraid.h | 1775 __le32 vol; /* substrate structure */ member
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
D | ilsp.S | 270 # Art of Computer Programming, vol II, Seminumerical Algorithms. #
|
/linux-4.1.27/Documentation/filesystems/ |
D | ntfs.txt | 341 # vol volume params mirrors Device Device
|
/linux-4.1.27/tools/power/cpupower/po/ |
D | cs.po | 364 msgstr " (zjištěno hardwarovým voláním)"
|