| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | upd.c | 48 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker() argument 53 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker() 55 if (vol->upd_marker) { in set_update_marker() 56 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); in set_update_marker() 61 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker() 65 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker() 66 vol->upd_marker = 1; in set_update_marker() 81 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker() argument 87 dbg_gen("clear update marker for volume %d", vol->vol_id); in clear_update_marker() 89 vtbl_rec = ubi->vtbl[vol->vol_id]; in clear_update_marker() [all …]
|
| H A D | vmt.c | 66 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() local 69 ubi = ubi_get_device(vol->ubi->ubi_num); in vol_attribute_show() 74 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show() 80 vol->ref_count += 1; in vol_attribute_show() 84 ret = sprintf(buf, "%d\n", vol->reserved_pebs); in vol_attribute_show() 88 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show() 94 ret = sprintf(buf, "%s\n", vol->name); in vol_attribute_show() 96 ret = sprintf(buf, "%d\n", vol->corrupted); in vol_attribute_show() 98 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show() 100 ret = sprintf(buf, "%d\n", vol->usable_leb_size); in vol_attribute_show() [all …]
|
| H A D | kapi.c | 75 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info() argument 78 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info() 80 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info() 81 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info() 82 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info() 83 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info() 84 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info() 85 vi->alignment = vol->alignment; in ubi_do_get_volume_info() 86 vi->usable_leb_size = vol->usable_leb_size; in ubi_do_get_volume_info() 87 vi->name_len = vol->name_len; in ubi_do_get_volume_info() [all …]
|
| H A D | vtbl.c | 135 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local 136 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes() 534 struct ubi_volume *vol; local 542 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); 543 if (!vol) 546 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); 547 vol->alignment = be32_to_cpu(vtbl[i].alignment); 548 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); 549 vol->upd_marker = vtbl[i].upd_marker; 550 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? [all …]
|
| H A D | eba.c | 317 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb() argument 320 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb() 329 pnum = vol->eba_tbl[lnum]; in ubi_eba_unmap_leb() 337 vol->eba_tbl[lnum] = UBI_LEB_UNMAPPED; in ubi_eba_unmap_leb() 365 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb() argument 368 int err, pnum, scrub = 0, vol_id = vol->vol_id; in ubi_eba_read_leb() 376 pnum = vol->eba_tbl[lnum]; in ubi_eba_read_leb() 386 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb() 394 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 442 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | upd.c | 41 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker() argument 46 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker() 48 if (vol->upd_marker) { in set_update_marker() 49 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); in set_update_marker() 54 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker() 58 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker() 59 vol->upd_marker = 1; in set_update_marker() 74 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker() argument 80 dbg_gen("clear update marker for volume %d", vol->vol_id); in clear_update_marker() 82 vtbl_rec = ubi->vtbl[vol->vol_id]; in clear_update_marker() [all …]
|
| H A D | vmt.c | 58 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() local 59 struct ubi_device *ubi = vol->ubi; in vol_attribute_show() 62 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show() 67 vol->ref_count += 1; in vol_attribute_show() 71 ret = sprintf(buf, "%d\n", vol->reserved_pebs); in vol_attribute_show() 75 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show() 81 ret = sprintf(buf, "%s\n", vol->name); in vol_attribute_show() 83 ret = sprintf(buf, "%d\n", vol->corrupted); in vol_attribute_show() 85 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show() 87 ret = sprintf(buf, "%d\n", vol->usable_leb_size); in vol_attribute_show() [all …]
|
| H A D | kapi.c | 67 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info() argument 70 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info() 72 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info() 73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info() 74 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info() 75 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info() 76 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info() 77 vi->alignment = vol->alignment; in ubi_do_get_volume_info() 78 vi->usable_leb_size = vol->usable_leb_size; in ubi_do_get_volume_info() 79 vi->name_len = vol->name_len; in ubi_do_get_volume_info() [all …]
|
| H A D | cdev.c | 47 struct ubi_volume *vol = desc->vol; in get_exclusive() local 49 spin_lock(&vol->ubi->volumes_lock); in get_exclusive() 50 users = vol->readers + vol->writers + vol->exclusive + vol->metaonly; in get_exclusive() 53 ubi_err(vol->ubi, "%d users for volume %d", users, vol->vol_id); in get_exclusive() 56 vol->readers = vol->writers = vol->metaonly = 0; in get_exclusive() 57 vol->exclusive = 1; in get_exclusive() 61 spin_unlock(&vol->ubi->volumes_lock); in get_exclusive() 73 struct ubi_volume *vol = desc->vol; in revoke_exclusive() local 75 spin_lock(&vol->ubi->volumes_lock); in revoke_exclusive() 76 ubi_assert(vol->readers == 0 && vol->writers == 0 && vol->metaonly == 0); in revoke_exclusive() [all …]
|
| H A D | vtbl.c | 128 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local 129 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes() 526 struct ubi_volume *vol; in init_volumes() local 534 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes() 535 if (!vol) in init_volumes() 538 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in init_volumes() 539 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes() 540 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes() 541 vol->upd_marker = vtbl[i].upd_marker; in init_volumes() 542 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? in init_volumes() [all …]
|
| H A D | eba.c | 107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() argument 111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc() 123 struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol, in ubi_eba_create_table() argument 174 void ubi_eba_copy_table(struct ubi_volume *vol, struct ubi_eba_table *dst, in ubi_eba_copy_table() argument 180 ubi_assert(dst && vol && vol->eba_tbl); in ubi_eba_copy_table() 182 src = vol->eba_tbl; in ubi_eba_copy_table() 195 void ubi_eba_replace_table(struct ubi_volume *vol, struct ubi_eba_table *tbl) in ubi_eba_replace_table() argument 197 ubi_eba_destroy_table(vol->eba_tbl); in ubi_eba_replace_table() 198 vol->eba_tbl = tbl; in ubi_eba_replace_table() 436 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) in ubi_eba_is_mapped() argument [all …]
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | super.c | 87 static bool parse_options(ntfs_volume *vol, char *opt) in parse_options() argument 192 ntfs_warning(vol->sb, "Ignoring obsolete option %s.", in parse_options() 196 ntfs_warning(vol->sb, "Option iocharset is " in parse_options() 207 ntfs_error(vol->sb, "NLS character set " in parse_options() 211 ntfs_error(vol->sb, "NLS character set %s not " in parse_options() 220 ntfs_warning(vol->sb, "Option utf8 is no longer " in parse_options() 234 ntfs_error(vol->sb, "Unrecognized mount option %s.", p); in parse_options() 247 ntfs_warning(vol->sb, "Sloppy option given. Ignoring " in parse_options() 252 ntfs_error(vol->sb, "Invalid errors option argument " in parse_options() 258 if (vol->nls_map && vol->nls_map != nls_map) { in parse_options() [all …]
|
| H A D | lcnalloc.c | 36 int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, in ntfs_cluster_free_from_rl_nolock() argument 39 struct inode *lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_free_from_rl_nolock() 132 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc() argument 154 BUG_ON(!vol); in ntfs_cluster_alloc() 155 lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_alloc() 167 down_write(&vol->lcnbmp_lock); in ntfs_cluster_alloc() 189 zone_start = vol->data1_zone_pos; in ntfs_cluster_alloc() 191 zone_start = vol->mft_zone_pos; in ntfs_cluster_alloc() 199 } else if (zone == DATA_ZONE && zone_start >= vol->mft_zone_start && in ntfs_cluster_alloc() 200 zone_start < vol->mft_zone_end) { in ntfs_cluster_alloc() [all …]
|
| H A D | mft.c | 39 ntfs_volume *vol = ni->vol; in map_mft_record_page() local 40 struct inode *mft_vi = vol->mft_ino; in map_mft_record_page() 52 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page() 54 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_MASK; in map_mft_record_page() 63 vol->mft_record_size) { in map_mft_record_page() 65 ntfs_error(vol->sb, "Attempt to read mft record 0x%lx, " in map_mft_record_page() 82 ntfs_error(vol->sb, "Mft record 0x%lx is corrupt. " in map_mft_record_page() 86 NVolSetErrors(vol); in map_mft_record_page() 162 ntfs_error(ni->vol->sb, "Failed with error code %lu.", -PTR_ERR(m)); in map_mft_record() 282 ntfs_error(base_ni->vol->sb, "Found stale extent mft " in map_extent_mft_record() [all …]
|
| H A D | quota.c | 23 bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol) in ntfs_mark_quotas_out_of_date() argument 31 if (NVolQuotaOutOfDate(vol)) in ntfs_mark_quotas_out_of_date() 33 if (!vol->quota_ino || !vol->quota_q_ino) { in ntfs_mark_quotas_out_of_date() 34 ntfs_error(vol->sb, "Quota inodes are not open."); in ntfs_mark_quotas_out_of_date() 37 inode_lock(vol->quota_q_ino); in ntfs_mark_quotas_out_of_date() 38 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); in ntfs_mark_quotas_out_of_date() 40 ntfs_error(vol->sb, "Failed to get index context."); in ntfs_mark_quotas_out_of_date() 46 ntfs_error(vol->sb, "Quota defaults entry is not " in ntfs_mark_quotas_out_of_date() 49 ntfs_error(vol->sb, "Lookup of quota defaults entry " in ntfs_mark_quotas_out_of_date() 54 ntfs_error(vol->sb, "Quota defaults entry size is invalid. " in ntfs_mark_quotas_out_of_date() [all …]
|
| H A D | attrib.c | 109 ni->vol->cluster_size_bits; in ntfs_map_runlist_nolock() 173 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock() 388 ntfs_error(ni->vol->sb, "Failed with error code %lli.", in ntfs_attr_vcn_to_lcn_nolock() 514 ntfs_error(ni->vol->sb, "Failed with error code %i.", err); in ntfs_attr_find_vcn_nolock() 580 ntfs_volume *vol = ctx->ntfs_ino->vol; in ntfs_attr_find() local 581 ntfschar *upcase = vol->upcase; in ntfs_attr_find() 582 u32 upcase_len = vol->upcase_len; in ntfs_attr_find() 699 ntfs_error(vol->sb, "Inode is corrupt. Run chkdsk."); in ntfs_attr_find() 700 NVolSetErrors(vol); in ntfs_attr_find() 720 int load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, in load_attribute_list() argument [all …]
|
| H A D | inode.c | 375 ni->vol = NTFS_SB(sb); in __ntfs_init_inode() 458 ntfs_error(ctx->ntfs_ino->vol->sb, "Corrupt file name " in ntfs_is_extended_system_file() 463 ntfs_error(ctx->ntfs_ino->vol->sb, "Non-resident file " in ntfs_is_extended_system_file() 468 ntfs_error(ctx->ntfs_ino->vol->sb, "File name with " in ntfs_is_extended_system_file() 474 ntfs_error(ctx->ntfs_ino->vol->sb, "Unindexed file " in ntfs_is_extended_system_file() 490 ntfs_error(ctx->ntfs_ino->vol->sb, "Inode hard link count " in ntfs_is_extended_system_file() 526 ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_inode() local 538 vi->i_uid = vol->uid; in ntfs_read_locked_inode() 539 vi->i_gid = vol->gid; in ntfs_read_locked_inode() 601 vi->i_mode &= ~vol->dmask; in ntfs_read_locked_inode() [all …]
|
| H A D | dir.c | 70 ntfs_volume *vol = dir_ni->vol; in ntfs_lookup_inode_by_name() local 71 struct super_block *sb = vol->sb; in ntfs_lookup_inode_by_name() 146 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 191 if (!NVolCaseSensitive(vol) && in ntfs_lookup_inode_by_name() 196 IGNORE_CASE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 237 IGNORE_CASE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name() 256 CASE_SENSITIVE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name() 406 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 451 if (!NVolCaseSensitive(vol) && in ntfs_lookup_inode_by_name() 456 IGNORE_CASE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() [all …]
|
| H A D | aops.c | 91 ntfs_error(ni->vol->sb, "Buffer I/O error, logical block " in ntfs_end_buffer_async_read() 172 ntfs_volume *vol; in ntfs_read_block() local 183 vol = ni->vol; in ntfs_read_block() 188 blocksize = vol->sb->s_blocksize; in ntfs_read_block() 189 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block() 236 bh->b_bdev = vol->sb->s_bdev; in ntfs_read_block() 243 vol->cluster_size_bits; in ntfs_read_block() 245 vol->cluster_size_mask; in ntfs_read_block() 261 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block() 303 ntfs_error(vol->sb, "Failed to read from inode 0x%lx, " in ntfs_read_block() [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | fs_context.c | 28 cifs_parse_smb_version(char *value, struct smb_vol *vol, bool is_smb3) in cifs_parse_smb_version() argument 44 vol->ops = &smb1_operations; in cifs_parse_smb_version() 45 vol->vals = &smb1_values; in cifs_parse_smb_version() 56 vol->ops = &smb20_operations; in cifs_parse_smb_version() 57 vol->vals = &smb20_values; in cifs_parse_smb_version() 68 vol->ops = &smb21_operations; in cifs_parse_smb_version() 69 vol->vals = &smb21_values; in cifs_parse_smb_version() 72 vol->ops = &smb30_operations; in cifs_parse_smb_version() 73 vol->vals = &smb30_values; in cifs_parse_smb_version() 76 vol->ops = &smb30_operations; /* currently identical with 3.0 */ in cifs_parse_smb_version() [all …]
|
| H A D | connect.c | 1336 cifs_parse_devname(const char *devname, struct smb_vol *vol) in cifs_parse_devname() argument 1365 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname() 1366 if (!vol->UNC) in cifs_parse_devname() 1369 convert_delimiter(vol->UNC, '\\'); in cifs_parse_devname() 1379 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname() 1380 if (!vol->prepath) in cifs_parse_devname() 1388 struct smb_vol *vol, bool is_smb3) in cifs_parse_mount_options() argument 1407 struct sockaddr *dstaddr = (struct sockaddr *)&vol->dstaddr; in cifs_parse_mount_options() 1414 memset(vol, 0, sizeof(*vol)); in cifs_parse_mount_options() 1421 memset(vol->source_rfc1001_name, 0x20, RFC1001_NAME_LEN); in cifs_parse_mount_options() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | vol.c | 40 priv_t * vol = (priv_t *) effp->priv; in getopts() local 47 vol->gain = 1; /* Default is no change. */ in getopts() 48 vol->uselimiter = sox_false; /* Default is no limiter. */ in getopts() 51 …if (!argc || (have_type = sscanf(argv[0], "%lf %10s %c", &vol->gain, type_string, &dummy) - 1) > 1) in getopts() 67 case vol_dB: vol->gain = dB_to_linear(vol->gain); break; in getopts() 69 vol->gain = vol->gain > 0 ? sqrt(vol->gain) : -sqrt(-vol->gain); in getopts() 75 …if (fabs(vol->gain) < 1 || sscanf(*argv, "%lf %c", &vol->limitergain, &dummy) != 1 || vol->limiter… in getopts() 78 vol->uselimiter = sox_true; in getopts() 85 …vol->limiterthreshhold = SOX_SAMPLE_MAX * (1.0 - vol->limitergain) / (fabs(vol->gain) - vol->limit… in getopts() 87 lsx_debug("mult=%g limit=%g", vol->gain, vol->limitergain); in getopts() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | ubi.c | 100 static int ubi_check_volumename(const struct ubi_volume *vol, char *name) in ubi_check_volumename() argument 102 return strcmp(vol->name, name); in ubi_check_volumename() 197 struct ubi_volume *vol = NULL; in ubi_find_volume() local 201 vol = ubi->volumes[i]; in ubi_find_volume() 202 if (vol && !strcmp(vol->name, volume)) in ubi_find_volume() 203 return vol; in ubi_find_volume() 213 struct ubi_volume *vol; in ubi_remove_vol() local 215 vol = ubi_find_volume(volume); in ubi_remove_vol() 216 if (vol == NULL) in ubi_remove_vol() 219 printf("Remove UBI volume %s (id %d)\n", vol->name, vol->vol_id); in ubi_remove_vol() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_parser.c | 134 Mp4HdrVol vol; member 395 if (coding_type == MPEG4_S_VOP && mp4Hdr->vol.sprite_enable == MPEG4_SPRITE_STATIC) { in read_vop_complexity_estimation_header() 424 memset(&header->vol, 0, sizeof(header->vol)); in init_mpg4_hdr_vol() 425 header->vol.ver_id = 1; in init_mpg4_hdr_vol() 453 READ_BITS(cb, 8, &(mp4Hdr->vol.vo_type)); in mpg4d_parse_vol_header() 460 vol_ver_id = mp4Hdr->vol.ver_id; in mpg4d_parse_vol_header() 476 READ_BITS(cb, 1, &(mp4Hdr->vol.low_delay)); /* low_delay flage (1 means no B_VOP) */ in mpg4d_parse_vol_header() 506 mp4Hdr->vol.low_delay = 0; in mpg4d_parse_vol_header() 509 if (mp4Hdr->vol.vo_type == 0 && vol_control_parameters == 0 && mp4Hdr->vop.frameNumber == 0) { in mpg4d_parse_vol_header() 514 READ_BITS(cb, 2, &(mp4Hdr->vol.shape)); /* video_object_layer_shape */ in mpg4d_parse_vol_header() [all …]
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A D | awacs.c | 140 int vol[2]; in snd_pmac_awacs_get_volume() local 143 vol[0] = (chip->awacs_reg[reg] >> lshift) & 0xf; in snd_pmac_awacs_get_volume() 144 vol[1] = chip->awacs_reg[reg] & 0xf; in snd_pmac_awacs_get_volume() 147 vol[0] = 0x0f - vol[0]; in snd_pmac_awacs_get_volume() 148 vol[1] = 0x0f - vol[1]; in snd_pmac_awacs_get_volume() 150 ucontrol->value.integer.value[0] = vol[0]; in snd_pmac_awacs_get_volume() 151 ucontrol->value.integer.value[1] = vol[1]; in snd_pmac_awacs_get_volume() 164 unsigned int vol[2]; in snd_pmac_awacs_put_volume() local 166 vol[0] = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_volume() 167 vol[1] = ucontrol->value.integer.value[1]; in snd_pmac_awacs_put_volume() [all …]
|