Home
last modified time | relevance | path

Searched refs:VCN (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Dvcn_v2_5.c87 harvest = RREG32_SOC15(VCN, i, mmCC_UVD_HARVESTING); in vcn_v2_5_early_init()
175 adev->vcn.inst[j].external.scratch9 = SOC15_REG_OFFSET(VCN, j, mmUVD_SCRATCH9); in vcn_v2_5_sw_init()
177 adev->vcn.inst[j].external.data0 = SOC15_REG_OFFSET(VCN, j, mmUVD_GPCOM_VCPU_DATA0); in vcn_v2_5_sw_init()
179 adev->vcn.inst[j].external.data1 = SOC15_REG_OFFSET(VCN, j, mmUVD_GPCOM_VCPU_DATA1); in vcn_v2_5_sw_init()
181 adev->vcn.inst[j].external.cmd = SOC15_REG_OFFSET(VCN, j, mmUVD_GPCOM_VCPU_CMD); in vcn_v2_5_sw_init()
183 adev->vcn.inst[j].external.nop = SOC15_REG_OFFSET(VCN, j, mmUVD_NO_OP); in vcn_v2_5_sw_init()
330 RREG32_SOC15(VCN, i, mmUVD_STATUS))) in vcn_v2_5_hw_fini()
397 WREG32_SOC15(VCN, i, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW, in vcn_v2_5_mc_resume()
399 WREG32_SOC15(VCN, i, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH, in vcn_v2_5_mc_resume()
401 WREG32_SOC15(VCN, i, mmUVD_VCPU_CACHE_OFFSET0, 0); in vcn_v2_5_mc_resume()
[all …]
Dvcn_v3_0.c97 harvest = RREG32_SOC15(VCN, i, mmCC_UVD_HARVESTING); in vcn_v3_0_early_init()
176 adev->vcn.inst[i].external.scratch9 = SOC15_REG_OFFSET(VCN, i, mmUVD_SCRATCH9); in vcn_v3_0_sw_init()
178 adev->vcn.inst[i].external.data0 = SOC15_REG_OFFSET(VCN, i, mmUVD_GPCOM_VCPU_DATA0); in vcn_v3_0_sw_init()
180 adev->vcn.inst[i].external.data1 = SOC15_REG_OFFSET(VCN, i, mmUVD_GPCOM_VCPU_DATA1); in vcn_v3_0_sw_init()
182 adev->vcn.inst[i].external.cmd = SOC15_REG_OFFSET(VCN, i, mmUVD_GPCOM_VCPU_CMD); in vcn_v3_0_sw_init()
184 adev->vcn.inst[i].external.nop = SOC15_REG_OFFSET(VCN, i, mmUVD_NO_OP); in vcn_v3_0_sw_init()
360 RREG32_SOC15(VCN, i, mmUVD_STATUS))) { in vcn_v3_0_hw_fini()
432 WREG32_SOC15(VCN, inst, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW, in vcn_v3_0_mc_resume()
434 WREG32_SOC15(VCN, inst, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH, in vcn_v3_0_mc_resume()
436 WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_OFFSET0, 0); in vcn_v3_0_mc_resume()
[all …]
Dvcn_v1_0.c236 RREG32_SOC15(VCN, 0, mmUVD_STATUS)) in vcn_v1_0_hw_fini()
443 data = RREG32_SOC15(VCN, 0, mmJPEG_CGC_CTRL); in vcn_v1_0_disable_clock_gating()
452 WREG32_SOC15(VCN, 0, mmJPEG_CGC_CTRL, data); in vcn_v1_0_disable_clock_gating()
454 data = RREG32_SOC15(VCN, 0, mmJPEG_CGC_GATE); in vcn_v1_0_disable_clock_gating()
456 WREG32_SOC15(VCN, 0, mmJPEG_CGC_GATE, data); in vcn_v1_0_disable_clock_gating()
459 data = RREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL); in vcn_v1_0_disable_clock_gating()
467 WREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL, data); in vcn_v1_0_disable_clock_gating()
469 data = RREG32_SOC15(VCN, 0, mmUVD_CGC_GATE); in vcn_v1_0_disable_clock_gating()
490 WREG32_SOC15(VCN, 0, mmUVD_CGC_GATE, data); in vcn_v1_0_disable_clock_gating()
492 data = RREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL); in vcn_v1_0_disable_clock_gating()
[all …]
Dvcn_v2_0.c267 RREG32_SOC15(VCN, 0, mmUVD_STATUS))) in vcn_v2_0_hw_fini()
490 data = RREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL); in vcn_v2_0_disable_clock_gating()
497 WREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL, data); in vcn_v2_0_disable_clock_gating()
499 data = RREG32_SOC15(VCN, 0, mmUVD_CGC_GATE); in vcn_v2_0_disable_clock_gating()
520 WREG32_SOC15(VCN, 0, mmUVD_CGC_GATE, data); in vcn_v2_0_disable_clock_gating()
522 data = RREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL); in vcn_v2_0_disable_clock_gating()
543 WREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL, data); in vcn_v2_0_disable_clock_gating()
546 data = RREG32_SOC15(VCN, 0, mmUVD_SUVD_CGC_GATE); in vcn_v2_0_disable_clock_gating()
571 WREG32_SOC15(VCN, 0, mmUVD_SUVD_CGC_GATE, data); in vcn_v2_0_disable_clock_gating()
573 data = RREG32_SOC15(VCN, 0, mmUVD_SUVD_CGC_CTRL); in vcn_v2_0_disable_clock_gating()
[all …]
Damdgpu_vcn.h126 WREG32_SOC15(VCN, inst_idx, mmUVD_DPG_LMA_CTL, \
130 RREG32_SOC15(VCN, inst_idx, mmUVD_DPG_LMA_DATA); \
136 WREG32_SOC15(VCN, inst_idx, mmUVD_DPG_LMA_DATA, value); \
137 WREG32_SOC15(VCN, inst_idx, mmUVD_DPG_LMA_CTL, \
/Linux-v5.10/fs/ntfs/
Drunlist.h29 VCN vcn; /* vcn = Starting virtual cluster number. */
65 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
70 const VCN vcn);
73 const runlist_element *rl, const VCN first_vcn,
74 const VCN last_vcn);
78 const VCN first_vcn, const VCN last_vcn, VCN *const stop_vcn);
84 const VCN start, const s64 length);
Dattrib.h49 extern int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn,
51 extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn);
53 extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn,
57 const VCN vcn, ntfs_attr_search_ctx *ctx);
61 const VCN lowest_vcn, const u8 *val, const u32 val_len,
Dlcnalloc.h30 const VCN start_vcn, const s64 count, const LCN start_lcn,
34 extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn,
93 static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, in ntfs_cluster_free()
Drunlist.c527 VCN marker_vcn = 0; in ntfs_runlists_merge()
738 VCN vcn; /* Current vcn. */ in ntfs_mapping_pairs_decompress()
752 attr->data.non_resident.lowest_vcn) < (VCN)0) { in ntfs_mapping_pairs_decompress()
900 VCN max_cluster; in ntfs_mapping_pairs_decompress()
990 LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn) in ntfs_rl_vcn_to_lcn()
1039 runlist_element *ntfs_rl_find_vcn_nolock(runlist_element *rl, const VCN vcn) in ntfs_rl_find_vcn_nolock()
1118 const runlist_element *rl, const VCN first_vcn, in ntfs_get_size_for_mapping_pairs()
1119 const VCN last_vcn) in ntfs_get_size_for_mapping_pairs()
1311 const VCN first_vcn, const VCN last_vcn, VCN *const stop_vcn) in ntfs_mapping_pairs_build()
1631 const VCN start, const s64 length) in ntfs_rl_punch_nolock()
[all …]
Dtypes.h29 typedef s64 VCN; typedef
Daops.c167 VCN vcn; in ntfs_read_block()
242 vcn = (VCN)iblock << blocksize_bits >> in ntfs_read_block()
244 vcn_ofs = ((VCN)iblock << blocksize_bits) & in ntfs_read_block()
532 VCN vcn; in ntfs_write_block()
699 vcn = (VCN)block << blocksize_bits; in ntfs_write_block()
1002 VCN vcn; in ntfs_write_mst_block()
1008 vcn = (VCN)block << bh_size_bits; in ntfs_write_mst_block()
Dattrib.c70 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock()
72 VCN end_vcn; in ntfs_map_runlist_nolock()
100 VCN allocated_size_vcn; in ntfs_map_runlist_nolock()
284 int ntfs_map_runlist(ntfs_inode *ni, VCN vcn) in ntfs_map_runlist()
327 LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, in ntfs_attr_vcn_to_lcn_nolock()
450 runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, const VCN vcn, in ntfs_attr_find_vcn_nolock()
845 const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, in ntfs_external_attr_find()
1175 const VCN lowest_vcn, const u8 *val, const u32 val_len, in ntfs_attr_lookup()
1893 VCN vcn; in ntfs_attr_extend_allocation()
Dcompress.c478 VCN vcn; in ntfs_read_compressed_block()
481 VCN start_vcn = (((s64)index << PAGE_SHIFT) & ~cb_size_mask) >> in ntfs_read_compressed_block()
487 VCN end_vcn = ((((s64)(index + 1UL) << PAGE_SHIFT) + cb_size - 1) in ntfs_read_compressed_block()
Dlcnalloc.c132 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc()
835 s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count, in __ntfs_cluster_free()
916 VCN vcn; in __ntfs_cluster_free()
Dfile.c573 VCN vcn, highest_vcn = 0, cpos, cend, bh_cpos, bh_cend; in ntfs_prepare_pages_for_non_resident_write()
645 VCN cdelta; in ntfs_prepare_pages_for_non_resident_write()
1739 VCN last_vcn; in ntfs_perform_write()
1779 VCN vcn; in ntfs_perform_write()
Dindex.c108 VCN vcn, old_vcn; in ntfs_index_lookup()
Dmft.c525 VCN vcn; in ntfs_sync_mft_mirror()
531 vcn = ((VCN)mft_no << vol->mft_record_size_bits) + in ntfs_sync_mft_mirror()
718 VCN vcn; in write_mft_record_nolock()
724 vcn = ((VCN)ni->mft_no << vol->mft_record_size_bits) + in write_mft_record_nolock()
1712 VCN old_last_vcn; in ntfs_mft_data_extend_allocation_nolock()
Dlogfile.c715 VCN vcn, end_vcn; in ntfs_empty_logfile()
Ddir.c80 VCN vcn, old_vcn; in ntfs_lookup_inode_by_name()
634 VCN vcn, old_vcn;
Dinode.c1743 VCN next_vcn, last_vcn, highest_vcn; in ntfs_read_inode_mount()
2341 VCN highest_vcn; in ntfs_truncate()