Lines Matching defs:adev

257 static int vi_query_video_codecs(struct amdgpu_device *adev, bool encode,  in vi_query_video_codecs()
298 static u32 vi_pcie_rreg(struct amdgpu_device *adev, u32 reg) in vi_pcie_rreg()
311 static void vi_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_pcie_wreg()
323 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg()
335 static void vi_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_smc_wreg()
349 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg()
361 static void cz_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in cz_smc_wreg()
371 static u32 vi_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in vi_uvd_ctx_rreg()
383 static void vi_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_uvd_ctx_wreg()
393 static u32 vi_didt_rreg(struct amdgpu_device *adev, u32 reg) in vi_didt_rreg()
405 static void vi_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_didt_wreg()
415 static u32 vi_gc_cac_rreg(struct amdgpu_device *adev, u32 reg) in vi_gc_cac_rreg()
427 static void vi_gc_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_gc_cac_wreg()
485 static void vi_init_golden_registers(struct amdgpu_device *adev) in vi_init_golden_registers()
540 static u32 vi_get_xclk(struct amdgpu_device *adev) in vi_get_xclk()
572 void vi_srbm_select(struct amdgpu_device *adev, in vi_srbm_select()
583 static void vi_vga_set_state(struct amdgpu_device *adev, bool state) in vi_vga_set_state()
588 static bool vi_read_disabled_bios(struct amdgpu_device *adev) in vi_read_disabled_bios()
633 static bool vi_read_bios_from_rom(struct amdgpu_device *adev, in vi_read_bios_from_rom()
743 static uint32_t vi_get_register_value(struct amdgpu_device *adev, in vi_get_register_value()
839 static int vi_read_register(struct amdgpu_device *adev, u32 se_num, in vi_read_register()
867 static int vi_asic_pci_config_reset(struct amdgpu_device *adev) in vi_asic_pci_config_reset()
898 static bool vi_asic_supports_baco(struct amdgpu_device *adev) in vi_asic_supports_baco()
914 vi_asic_reset_method(struct amdgpu_device *adev) in vi_asic_reset_method()
955 static int vi_asic_reset(struct amdgpu_device *adev) in vi_asic_reset()
970 static u32 vi_get_config_memsize(struct amdgpu_device *adev) in vi_get_config_memsize()
975 static int vi_set_uvd_clock(struct amdgpu_device *adev, u32 clock, in vi_set_uvd_clock()
1021 static int vi_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk) in vi_set_uvd_clocks()
1046 static int vi_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in vi_set_vce_clocks()
1100 static void vi_pcie_gen3_enable(struct amdgpu_device *adev) in vi_pcie_gen3_enable()
1118 static void vi_enable_aspm(struct amdgpu_device *adev) in vi_enable_aspm()
1133 static void vi_program_aspm(struct amdgpu_device *adev) in vi_program_aspm()
1292 static void vi_enable_doorbell_aperture(struct amdgpu_device *adev, in vi_enable_doorbell_aperture()
1314 static uint32_t vi_get_rev_id(struct amdgpu_device *adev) in vi_get_rev_id()
1324 static void vi_flush_hdp(struct amdgpu_device *adev, struct amdgpu_ring *ring) in vi_flush_hdp()
1334 static void vi_invalidate_hdp(struct amdgpu_device *adev, in vi_invalidate_hdp()
1345 static bool vi_need_full_reset(struct amdgpu_device *adev) in vi_need_full_reset()
1366 static void vi_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in vi_get_pcie_usage()
1412 static uint64_t vi_get_pcie_replay_count(struct amdgpu_device *adev) in vi_get_pcie_replay_count()
1424 static bool vi_need_reset_on_init(struct amdgpu_device *adev) in vi_need_reset_on_init()
1441 static void vi_pre_asic_init(struct amdgpu_device *adev) in vi_pre_asic_init()
1474 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_early_init() local
1698 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_late_init() local
1708 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_sw_init() local
1723 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_hw_init() local
1739 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_hw_fini() local
1752 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_suspend() local
1759 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_resume() local
1779 static void vi_update_bif_medium_grain_light_sleep(struct amdgpu_device *adev, in vi_update_bif_medium_grain_light_sleep()
1799 static void vi_update_hdp_medium_grain_clock_gating(struct amdgpu_device *adev, in vi_update_hdp_medium_grain_clock_gating()
1815 static void vi_update_hdp_light_sleep(struct amdgpu_device *adev, in vi_update_hdp_light_sleep()
1831 static void vi_update_drm_light_sleep(struct amdgpu_device *adev, in vi_update_drm_light_sleep()
1848 static void vi_update_rom_medium_grain_clock_gating(struct amdgpu_device *adev, in vi_update_rom_medium_grain_clock_gating()
1871 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_set_clockgating_state_by_smu() local
1986 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_set_clockgating_state() local
2034 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_get_clockgating_state() local
2088 void vi_set_virt_ops(struct amdgpu_device *adev) in vi_set_virt_ops()
2093 int vi_set_ip_blocks(struct amdgpu_device *adev) in vi_set_ip_blocks()
2218 void legacy_doorbell_index_init(struct amdgpu_device *adev) in legacy_doorbell_index_init()