Home
last modified time | relevance | path

Searched refs:vcn (Results 1 – 25 of 53) sorted by relevance

123

/linux/fs/ntfs3/
H A Drun.c22 CLST vcn; /* Virtual cluster number. */ member
35 static bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *index) in run_lookup() argument
50 if (vcn < r->vcn) { in run_lookup()
55 if (vcn < r->vcn + r->len) { in run_lookup()
61 if (vcn >= r->vcn + r->len) { in run_lookup()
66 if (vcn >= r->vcn) { in run_lookup()
75 if (vcn < r->vcn) { in run_lookup()
79 } else if (vcn >= r->vcn + r->len) { in run_lookup()
105 CLST end = r->vcn + r->len; in run_consolidate()
109 if (n->vcn > end) in run_consolidate()
[all …]
H A Dattrib.c62 struct runs_tree *run, const CLST *vcn) in attr_load_runs()
78 if (vcn && (evcn < *vcn || *vcn < svcn)) in attr_load_runs()
88 vcn ? *vcn : svcn, Add2Ptr(attr, run_off), in attr_load_runs()
100 CLST vcn, CLST len, CLST *done, bool trim, in run_deallocate_ex()
104 CLST vcn_next, vcn0 = vcn, lcn, clen, dn = 0; in run_deallocate_ex()
110 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) { in run_deallocate_ex()
133 if (!run_remove_range(run_da, vcn, cle in run_deallocate_ex()
61 attr_load_runs(struct ATTRIB * attr,struct ntfs_inode * ni,struct runs_tree * run,const CLST * vcn) attr_load_runs() argument
94 run_deallocate_ex(struct ntfs_sb_info * sbi,struct runs_tree * run,CLST vcn,CLST len,CLST * done,bool trim,struct runs_tree * run_da) run_deallocate_ex() argument
161 attr_allocate_clusters(struct ntfs_sb_info * sbi,struct runs_tree * run,struct runs_tree * run_da,CLST vcn,CLST lcn,CLST len,CLST * pre_alloc,enum ALLOCATE_OPT opt,CLST * alen,const size_t fr,CLST * new_lcn,CLST * new_len) attr_allocate_clusters() argument
446 CLST alen, vcn, lcn, new_alen, old_alen, svcn, evcn; attr_set_size_ex() local
953 attr_data_get_block(struct ntfs_inode * ni,CLST vcn,CLST clen,CLST * lcn,CLST * len,bool * new,bool zero,void ** res,bool no_da) attr_data_get_block() argument
991 attr_data_get_block_locked(struct ntfs_inode * ni,CLST vcn,CLST clen,CLST * lcn,CLST * len,bool * new,bool zero,void ** res,bool no_da) attr_data_get_block_locked() argument
1441 attr_load_runs_vcn(struct ntfs_inode * ni,enum ATTR_TYPE type,const __le16 * name,u8 name_len,struct runs_tree * run,CLST vcn) attr_load_runs_vcn() argument
1488 CLST vcn; attr_load_runs_range() local
1679 CLST clen, lcn, vcn, alen, slen, vcn_next; attr_is_frame_compressed() local
1786 CLST vcn, end, clst_data; attr_allocate_frame() local
2018 CLST vcn, end; attr_collapse_range() local
2312 CLST svcn, evcn1, vcn, len, end, alen, hole, next_svcn; attr_punch_hole() local
2535 CLST vcn, svcn, evcn1, len, next_svcn; attr_insert_range() local
[all...]
H A Dattrlist.c200 u8 name_len, const CLST *vcn) in al_find_ex() argument
220 le_vcn = le64_to_cpu(le->vcn); in al_find_ex()
235 if (!vcn) in al_find_ex()
238 if (*vcn == le_vcn) in al_find_ex()
241 if (*vcn < le_vcn) in al_find_ex()
258 u8 name_len, CLST vcn) in al_find_le_to_insert() argument
274 if (!le->vcn) { in al_find_le_to_insert()
288 if (le64_to_cpu(le->vcn) >= vcn) in al_find_le_to_insert()
349 le->vcn = cpu_to_le64(svcn); in al_add_le()
H A Dntfs_fs.h411 * Pairs [vcn, len] for all delay allocated clusters.
466 struct runs_tree *run_da, CLST vcn, CLST lcn,
486 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn,
489 int attr_data_get_block_locked(struct ntfs_inode *ni, CLST vcn, CLST clen,
495 CLST vcn);
524 u8 name_len, const CLST *vcn);
586 u8 name_len, const CLST *vcn,
889 bool run_lookup_entry(const struct runs_tree *run, CLST vcn, CLST *lcn,
892 const struct runs_tree *run_da, CLST vcn, CLST *lcn,
894 void run_truncate(struct runs_tree *run, CLST vcn);
1275 attr_load_runs_attr(struct ntfs_inode * ni,struct ATTRIB * attr,struct runs_tree * run,CLST vcn) attr_load_runs_attr() argument
[all...]
H A Dfsntfs.c844 CLST lcn, vcn, len; in ntfs_refresh_zone() local
853 vcn = bytes_to_cluster(sbi, in ntfs_refresh_zone()
856 if (!run_lookup_entry(&ni->file.run, vcn - 1, &lcn, &len, NULL)) in ntfs_refresh_zone()
1132 CLST lcn, clen, vcn = vbo >> cluster_bits, vcn_next; in ntfs_sb_write_run() local
1136 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) in ntfs_sb_write_run()
1156 vcn_next = vcn + clen; in ntfs_sb_write_run()
1157 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in ntfs_sb_write_run()
1158 vcn != vcn_next) in ntfs_sb_write_run()
1201 CLST vcn_next, vcn = vbo >> cluster_bits; in ntfs_read_run_nb_ra() local
1217 } else if (!run_lookup_entry(run, vcn, in ntfs_read_run_nb_ra()
1346 CLST vcn_next, vcn = vbo >> cluster_bits; ntfs_get_bh() local
1524 CLST vcn_next, vcn = vbo >> cluster_bits; ntfs_read_write_run() local
[all...]
/linux/fs/ntfs/
H A Drunlist.c162 if ((dst->vcn + dst->length) != src->vcn) in ntfs_are_rl_mergeable()
255 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append()
259 dst[marker].vcn = dst[marker - 1].vcn + dst[marker - 1].length;
299 disc = (src[0].vcn > 0); in ntfs_rl_insert()
309 disc = (src[0].vcn > dst[loc - 1].vcn + merged_length); in ntfs_rl_insert()
340 dst[marker].vcn in ntfs_rl_insert()
739 s64 vcn; /* Current vcn. */ ntfs_mapping_pairs_decompress() local
1055 ntfs_rl_vcn_to_lcn(const struct runlist_element * rl,const s64 vcn) ntfs_rl_vcn_to_lcn() argument
1101 ntfs_rl_find_vcn_nolock(struct runlist_element * rl,const s64 vcn) ntfs_rl_find_vcn_nolock() argument
1723 ntfs_rle_contain(struct runlist_element * rle,s64 vcn) ntfs_rle_contain() argument
[all...]
H A Dindex.c94 static s64 ntfs_ib_vcn_to_pos(struct ntfs_index_context *icx, s64 vcn)
96 return vcn << icx->vcn_size_bits; in ntfs_ib_pos_to_vcn()
120 s64 ret, vcn = le64_to_cpu(ib->index_block_vcn); in ntfs_ib_write()
122 ntfs_debug("vcn: %lld\n", vcn); in ntfs_ib_write()
133 ntfs_ib_vcn_to_pos(icx, vcn), icx->block_size, in ntfs_icx_ib_write()
141 vcn, (unsigned long long)icx->idx_ni->mft_no); in ntfs_icx_ib_sync_write()
273 * Get the subnode vcn to which the index entry refers. in ntfs_ie_end()
284 s64 vcn, pos; in ntfs_index_header_inconsistent()
294 vcn in ntfs_index_header_inconsistent()
90 ntfs_ib_vcn_to_pos(struct ntfs_index_context * icx,s64 vcn) ntfs_ib_vcn_to_pos() argument
102 s64 ret, vcn = le64_to_cpu(ib->index_block_vcn); ntfs_ib_write() local
446 ntfs_ie_set_vcn(struct index_entry * ie,s64 vcn) ntfs_ie_set_vcn() argument
516 ntfs_index_block_inconsistent(struct ntfs_volume * vol,const struct index_block * ib,u32 block_size,s64 vcn,__le32 cr,u64 inum) ntfs_index_block_inconsistent() argument
649 ntfs_ie_lookup(const void * key,const u32 key_len,struct ntfs_index_context * icx,struct index_header * ih,s64 * vcn,struct index_entry ** ie_out) ntfs_ie_lookup() argument
747 ntfs_ib_read(struct ntfs_index_context * icx,s64 vcn,struct index_block * dst) ntfs_ib_read() argument
824 s64 old_vcn, vcn; ntfs_index_lookup() local
1001 ntfs_ibm_vcn_to_pos(struct ntfs_index_context * icx,s64 vcn) ntfs_ibm_vcn_to_pos() argument
1037 ntfs_ibm_modify(struct ntfs_index_context * icx,s64 vcn,int set) ntfs_ibm_modify() argument
1090 ntfs_ibm_set(struct ntfs_index_context * icx,s64 vcn) ntfs_ibm_set() argument
1095 ntfs_ibm_clear(struct ntfs_index_context * icx,s64 vcn) ntfs_ibm_clear() argument
1105 s64 vcn, byte, size; ntfs_ibm_get_free() local
1939 s64 vcn; ntfs_index_rm_node() local
2138 s64 vcn; ntfs_index_walk_down() local
2186 s64 vcn; ntfs_index_walk_up() local
[all...]
H A Dlogfile.c643 s64 vcn, end_vcn; in ntfs_empty_logfile()
667 vcn = 0; in ntfs_empty_logfile()
675 if (unlikely(!rl || vcn < rl->vcn || !rl->length)) { in ntfs_empty_logfile()
677 err = ntfs_map_runlist_nolock(log_ni, vcn, NULL); in ntfs_empty_logfile()
684 /* Seek to the runlist element containing @vcn. */ in ntfs_empty_logfile()
685 while (rl->length && vcn >= rl[1].vcn) in ntfs_empty_logfile()
711 vcn = rl->vcn; in ntfs_empty_logfile()
642 s64 vcn, end_vcn; ntfs_empty_logfile() local
[all...]
H A Dattrib.h60 int ntfs_map_runlist_nolock(struct ntfs_inode *ni, s64 vcn,
62 int ntfs_map_runlist(struct ntfs_inode *ni, s64 vcn);
63 s64 ntfs_attr_vcn_to_lcn_nolock(struct ntfs_inode *ni, const s64 vcn,
66 const s64 vcn, struct ntfs_attr_search_ctx *ctx);
68 const s64 vcn);
145 struct runlist_element *ntfs_attr_vcn_to_rl(struct ntfs_inode *ni, s64 vcn, s64 *lcn);
H A Dattrib.c43 * @vcn: map runlist part containing this vcn
46 * Map the part of a runlist containing the @vcn of the ntfs inode @ni.
66 * which is not an error as such. This is -ENOENT. It means that @vcn is out
69 * Note the runlist can be NULL after this function returns if @vcn is zero and
86 int ntfs_map_runlist_nolock(struct ntfs_inode *ni, s64 vcn, struct ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock() argument
100 ntfs_debug("Mapping runlist part containing vcn 0x%llx.", in ntfs_map_runlist_nolock()
101 (unsigned long long)vcn); in ntfs_map_runlist_nolock()
144 * If we already have the attribute extent containing @vcn in in ntfs_map_runlist_nolock()
146 * that if vcn exceed in ntfs_map_runlist_nolock()
304 ntfs_map_runlist(struct ntfs_inode * ni,s64 vcn) ntfs_map_runlist() argument
317 ntfs_attr_vcn_to_rl(struct ntfs_inode * ni,s64 vcn,s64 * lcn) ntfs_attr_vcn_to_rl() argument
377 ntfs_attr_vcn_to_lcn_nolock(struct ntfs_inode * ni,const s64 vcn,const bool write_locked) ntfs_attr_vcn_to_lcn_nolock() argument
440 __ntfs_attr_find_vcn_nolock(struct runlist * runlist,const s64 vcn) __ntfs_attr_find_vcn_nolock() argument
527 ntfs_attr_find_vcn_nolock(struct ntfs_inode * ni,const s64 vcn,struct ntfs_attr_search_ctx * ctx) ntfs_attr_find_vcn_nolock() argument
5138 s64 vcn = vcn_start, lcn, clu_count; ntfs_attr_map_cluster() local
5736 s64 vcn_start, vcn_end, vcn_uninit, vcn, try_alloc_cnt; ntfs_attr_fallocate() local
[all...]
H A Dwof.c156 s64 vcn; in ntfs_bdev_read_from_rl() local
165 vcn = start_sector >> sec_per_clu_bits; in ntfs_bdev_read_from_rl()
175 rl = __ntfs_attr_find_vcn_nolock(runlist, vcn); in ntfs_bdev_read_from_rl()
186 if (rl->length <= 0 || vcn < rl->vcn) { in ntfs_bdev_read_from_rl()
191 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_bdev_read_from_rl()
197 if (check_add_overflow(rl->vcn, rl->length, &rl_end) || in ntfs_bdev_read_from_rl()
198 rl_end <= vcn || in ntfs_bdev_read_from_rl()
199 (u64)(rl_end - vcn) > (U64_MAX >> sec_per_clu_bits)) { in ntfs_bdev_read_from_rl()
203 available = (u64)(rl_end - vcn) << sec_per_clu_bit in ntfs_bdev_read_from_rl()
[all...]
H A Dlcnalloc.c122 * @start_vcn: vcn of the first allocated cluster
136 * @start_vcn specifies the vcn of the first allocated cluster. This makes
442 rl[rlpos].vcn = rl[rlpos - 1].vcn + in ntfs_cluster_alloc()
446 rl[rlpos].vcn = start_vcn; in ntfs_cluster_alloc()
754 rl[rlpos].vcn = rl[rlpos - 1].vcn + rl[rlpos - 1].length; in ntfs_cluster_alloc()
814 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters
930 delta = start_vcn - rl->vcn; in __ntfs_cluster_free()
964 s64 vcn; in __ntfs_cluster_free()
935 s64 vcn; __ntfs_cluster_free() local
[all...]
H A Dmft.c1425 rl[1].vcn++; in ntfs_mft_bitmap_extend_allocation_nolock()
1435 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE, in ntfs_mft_bitmap_extend_allocation_nolock()
1482 mftbmp_ni->name_len, CASE_SENSITIVE, rl[1].vcn, NULL, in ntfs_mft_bitmap_extend_initialized_nolock()
1495 if (ll >= rl2->vcn) in ntfs_mft_bitmap_extend_initialized_nolock()
1498 WARN_ON(ll < rl2->vcn); in ntfs_mft_bitmap_extend_initialized_nolock()
1499 WARN_ON(ll >= rl2->vcn + rl2->length); in ntfs_mft_bitmap_extend_initialized_nolock()
1533 a->data.non_resident.highest_vcn = cpu_to_le64(rl[1].vcn - 1); in ntfs_mft_bitmap_extend_initialized_nolock()
1573 mftbmp_ni->name_len, CASE_SENSITIVE, rl[1].vcn, NULL, in ntfs_mft_bitmap_extend_initialized_nolock()
1591 a->data.non_resident.highest_vcn = cpu_to_le64(rl[1].vcn - 2); in ntfs_mft_bitmap_extend_initialized_nolock()
1596 rl[1].vcn
2860 s64 vcn; lcn_from_index() local
2903 s64 vcn = ntfs_pidx_to_cluster(vol, folio->index); ntfs_write_mft_block() local
[all...]
H A Dcompress.c478 s64 vcn; in ntfs_read_compressed_block() local
480 /* The first wanted vcn (minimum alignment is PAGE_SIZE). */ in ntfs_read_compressed_block()
484 * The first vcn after the last wanted vcn (minimum alignment is again in ntfs_read_compressed_block()
489 /* Number of compression blocks (cbs) in the wanted vcn range. */ in ntfs_read_compressed_block()
600 for (vcn = start_vcn, start_vcn += cb_clusters; vcn < start_vcn; in ntfs_read_compressed_block()
601 vcn++) { in ntfs_read_compressed_block()
610 /* Seek to element containing target vcn. */ in ntfs_read_compressed_block()
611 while (rl->length && rl[1].vcn < in ntfs_read_compressed_block()
[all...]
H A Ddir.c89 s64 vcn, old_vcn; in ntfs_lookup_inode_by_name()
291 /* Get the starting vcn of the index_block holding the child node. */ in ntfs_lookup_inode_by_name()
292 vcn = le64_to_cpup((__le64 *)((u8 *)ie + le16_to_cpu(ie->length) - 8)); in ntfs_lookup_inode_by_name()
317 if (!NInoNonResident(NTFS_I(ia_vi)) || vcn < 0 || in ntfs_lookup_inode_by_name()
318 (u64)vcn >= (u64)i_size_read(ia_vi) >> dir_ni->itype.index.vcn_size_bits) { in ntfs_lookup_inode_by_name()
320 "Child node vcn %lld is outside $INDEX_ALLOCATION in directory inode 0x%llx.", in ntfs_lookup_inode_by_name()
321 vcn, dir_ni->mft_no); in ntfs_lookup_inode_by_name()
326 * Convert vcn to index into the index allocation attribute in units in ntfs_lookup_inode_by_name()
330 folio = ntfs_read_metadata_folio(ia_mapping, vcn << in ntfs_lookup_inode_by_name()
353 ia = (struct index_block *)(kaddr + ((vcn << in ntfs_lookup_inode_by_name()
88 s64 vcn, old_vcn; ntfs_lookup_inode_by_name() local
[all...]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dvcn_v5_0_1.c36 #include "vcn/vcn_5_0_0_offset.h"
37 #include "vcn/vcn_5_0_0_sh_mask.h"
38 #include "ivsrcid/vcn/irqsrcs_vcn_5_0.h"
102 adev->vcn.disable_kq = false; in vcn_v5_0_1_early_init()
103 adev->vcn.disable_uq = true; in vcn_v5_0_1_early_init()
106 adev->vcn.disable_kq = true; in vcn_v5_0_1_early_init()
107 adev->vcn.disable_uq = true; in vcn_v5_0_1_early_init()
111 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) in vcn_v5_0_1_early_init()
113 adev->vcn.inst[i].num_enc_rings = 1; in vcn_v5_0_1_early_init()
119 for (i = 0; i < adev->vcn in vcn_v5_0_1_early_init()
[all...]
H A Dvcn_v2_0.c37 #include "vcn/vcn_2_0_0_offset.h"
38 #include "vcn/vcn_2_0_0_sh_mask.h"
39 #include "ivsrcid/vcn/irqsrcs_vcn_2_0.h"
117 adev->vcn.inst[0].num_enc_rings = 1; in vcn_v2_0_early_init()
119 adev->vcn.inst[0].num_enc_rings = 2; in vcn_v2_0_early_init()
121 adev->vcn.inst->set_pg_state = vcn_v2_0_set_pg_state; in vcn_v2_0_early_init()
146 &adev->vcn.inst->irq); in vcn_v2_0_sw_init()
151 for (i = 0; i < adev->vcn.inst[0].num_enc_rings; ++i) { in vcn_v2_0_sw_init()
154 &adev->vcn.inst->irq); in vcn_v2_0_sw_init()
169 ring = &adev->vcn in vcn_v2_0_sw_init()
[all...]
H A Dvcn_v3_0.c36 #include "vcn/vcn_3_0_0_offset.h"
37 #include "vcn/vcn_3_0_0_sh_mask.h"
38 #include "ivsrcid/vcn/irqsrcs_vcn_2_0.h"
133 adev->vcn.num_vcn_inst = VCN_INSTANCES_SIENNA_CICHLID; in vcn_v3_0_early_init()
134 adev->vcn.harvest_config = 0; in vcn_v3_0_early_init()
135 for (i = 0; i < adev->vcn.num_vcn_inst; i++) in vcn_v3_0_early_init()
136 adev->vcn.inst[i].num_enc_rings = 1; in vcn_v3_0_early_init()
139 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v3_0_early_init()
144 for (i = 0; i < adev->vcn.num_vcn_inst; i++) { in vcn_v3_0_early_init()
147 adev->vcn in vcn_v3_0_early_init()
[all...]
H A Dvcn_v5_0_0.c34 #include "vcn/vcn_5_0_0_offset.h"
35 #include "vcn/vcn_5_0_0_sh_mask.h"
36 #include "ivsrcid/vcn/irqsrcs_vcn_5_0.h"
101 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) in vcn_v5_0_0_early_init()
103 adev->vcn.inst[i].num_enc_rings = 1; in vcn_v5_0_0_early_init()
108 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) { in vcn_v5_0_0_early_init()
109 adev->vcn.inst[i].set_pg_state = vcn_v5_0_0_set_pg_state; in vcn_v5_0_0_early_init()
132 for (i = 0; i < adev->vcn.num_vcn_inst; i++) { in vcn_v5_0_0_sw_init()
135 if (adev->vcn.harvest_config & (1 << i)) in vcn_v5_0_0_sw_init()
148 atomic_set(&adev->vcn in vcn_v5_0_0_sw_init()
[all...]
H A Dvcn_v4_0_3.c38 #include "vcn/vcn_4_0_3_offset.h"
39 #include "vcn/vcn_4_0_3_sh_mask.h"
40 #include "ivsrcid/vcn/irqsrcs_vcn_4_0.h"
104 return (adev->vcn.caps & AMDGPU_VCN_CAPS(RRMT_ENABLED)) == 0; in vcn_v4_0_3_normalizn_reqd()
123 adev->vcn.disable_kq = false; in vcn_v4_0_3_early_init()
124 adev->vcn.disable_uq = true; in vcn_v4_0_3_early_init()
127 adev->vcn.disable_kq = true; in vcn_v4_0_3_early_init()
128 adev->vcn.disable_uq = true; in vcn_v4_0_3_early_init()
132 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) in vcn_v4_0_3_early_init()
134 adev->vcn in vcn_v4_0_3_early_init()
[all...]
H A Dvcn_v4_0.c37 #include "vcn/vcn_4_0_0_offset.h"
38 #include "vcn/vcn_4_0_0_sh_mask.h"
39 #include "ivsrcid/vcn/irqsrcs_vcn_4_0.h"
122 adev->vcn.harvest_config = VCN_HARVEST_MMSCH; in vcn_v4_0_early_init()
123 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) { in vcn_v4_0_early_init()
125 adev->vcn.harvest_config |= 1 << i; in vcn_v4_0_early_init()
131 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) in vcn_v4_0_early_init()
133 adev->vcn.inst[i].num_enc_rings = 1; in vcn_v4_0_early_init()
139 for (i = 0; i < adev->vcn.num_vcn_inst; ++i) { in vcn_v4_0_early_init()
140 adev->vcn in vcn_v4_0_early_init()
[all...]
H A Dvega10_reg_init.c83 adev->doorbell_index.vcn.vcn_ring0_1 = AMDGPU_DOORBELL64_VCN0_1; in vega10_doorbell_index_init()
84 adev->doorbell_index.vcn.vcn_ring2_3 = AMDGPU_DOORBELL64_VCN2_3; in vega10_doorbell_index_init()
85 adev->doorbell_index.vcn.vcn_ring4_5 = AMDGPU_DOORBELL64_VCN4_5; in vega10_doorbell_index_init()
86 adev->doorbell_index.vcn.vcn_ring6_7 = AMDGPU_DOORBELL64_VCN6_7; in vega10_doorbell_index_init()
H A Dvega20_reg_init.c89 adev->doorbell_index.vcn.vcn_ring0_1 = AMDGPU_VEGA20_DOORBELL64_VCN0_1; in vega20_doorbell_index_init()
90 adev->doorbell_index.vcn.vcn_ring2_3 = AMDGPU_VEGA20_DOORBELL64_VCN2_3; in vega20_doorbell_index_init()
91 adev->doorbell_index.vcn.vcn_ring4_5 = AMDGPU_VEGA20_DOORBELL64_VCN4_5; in vega20_doorbell_index_init()
92 adev->doorbell_index.vcn.vcn_ring6_7 = AMDGPU_VEGA20_DOORBELL64_VCN6_7; in vega20_doorbell_index_init()
H A Dsoc24.c77 if (adev->vcn.num_vcn_inst == hweight8(adev->vcn.harvest_config)) in soc24_query_video_codecs()
291 adev->doorbell_index.vcn.vcn_ring0_1 = AMDGPU_NAVI10_DOORBELL64_VCN0_1; in soc24_init_doorbell_index()
292 adev->doorbell_index.vcn.vcn_ring2_3 = AMDGPU_NAVI10_DOORBELL64_VCN2_3; in soc24_init_doorbell_index()
293 adev->doorbell_index.vcn.vcn_ring4_5 = AMDGPU_NAVI10_DOORBELL64_VCN4_5; in soc24_init_doorbell_index()
294 adev->doorbell_index.vcn.vcn_ring6_7 = AMDGPU_NAVI10_DOORBELL64_VCN6_7; in soc24_init_doorbell_index()
H A Dsoc21.c173 if (adev->vcn.num_vcn_inst == hweight8(adev->vcn.harvest_config)) in soc21_query_video_codecs()
182 if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) || in soc21_query_video_codecs()
195 if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0)) { in soc21_query_video_codecs()
508 adev->doorbell_index.vcn.vcn_ring0_1 = AMDGPU_NAVI10_DOORBELL64_VCN0_1; in soc21_init_doorbell_index()
509 adev->doorbell_index.vcn.vcn_ring2_3 = AMDGPU_NAVI10_DOORBELL64_VCN2_3; in soc21_init_doorbell_index()
510 adev->doorbell_index.vcn.vcn_ring4_5 = AMDGPU_NAVI10_DOORBELL64_VCN4_5; in soc21_init_doorbell_index()
511 adev->doorbell_index.vcn.vcn_ring6_7 = AMDGPU_NAVI10_DOORBELL64_VCN6_7; in soc21_init_doorbell_index()
925 if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) || in soc21_common_late_init()

123