Lines Matching defs:adev
84 static u32 vi_pcie_rreg(struct amdgpu_device *adev, u32 reg) in vi_pcie_rreg()
97 static void vi_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_pcie_wreg()
109 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg()
121 static void vi_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_smc_wreg()
135 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg()
147 static void cz_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in cz_smc_wreg()
157 static u32 vi_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in vi_uvd_ctx_rreg()
169 static void vi_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_uvd_ctx_wreg()
179 static u32 vi_didt_rreg(struct amdgpu_device *adev, u32 reg) in vi_didt_rreg()
191 static void vi_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_didt_wreg()
201 static u32 vi_gc_cac_rreg(struct amdgpu_device *adev, u32 reg) in vi_gc_cac_rreg()
213 static void vi_gc_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_gc_cac_wreg()
271 static void vi_init_golden_registers(struct amdgpu_device *adev) in vi_init_golden_registers()
325 static u32 vi_get_xclk(struct amdgpu_device *adev) in vi_get_xclk()
357 void vi_srbm_select(struct amdgpu_device *adev, in vi_srbm_select()
368 static void vi_vga_set_state(struct amdgpu_device *adev, bool state) in vi_vga_set_state()
373 static bool vi_read_disabled_bios(struct amdgpu_device *adev) in vi_read_disabled_bios()
418 static bool vi_read_bios_from_rom(struct amdgpu_device *adev, in vi_read_bios_from_rom()
449 static void vi_detect_hw_virtualization(struct amdgpu_device *adev) in vi_detect_hw_virtualization()
550 static uint32_t vi_get_register_value(struct amdgpu_device *adev, in vi_get_register_value()
646 static int vi_read_register(struct amdgpu_device *adev, u32 se_num, in vi_read_register()
665 static int vi_gpu_pci_config_reset(struct amdgpu_device *adev) in vi_gpu_pci_config_reset()
700 static int vi_asic_reset(struct amdgpu_device *adev) in vi_asic_reset()
713 static u32 vi_get_config_memsize(struct amdgpu_device *adev) in vi_get_config_memsize()
718 static int vi_set_uvd_clock(struct amdgpu_device *adev, u32 clock, in vi_set_uvd_clock()
764 static int vi_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk) in vi_set_uvd_clocks()
789 static int vi_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in vi_set_vce_clocks()
843 static void vi_pcie_gen3_enable(struct amdgpu_device *adev) in vi_pcie_gen3_enable()
861 static void vi_program_aspm(struct amdgpu_device *adev) in vi_program_aspm()
870 static void vi_enable_doorbell_aperture(struct amdgpu_device *adev, in vi_enable_doorbell_aperture()
892 static uint32_t vi_get_rev_id(struct amdgpu_device *adev) in vi_get_rev_id()
921 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_early_init() local
1131 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_late_init() local
1141 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_sw_init() local
1156 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_hw_init() local
1172 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_hw_fini() local
1185 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_suspend() local
1192 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_resume() local
1212 static void vi_update_bif_medium_grain_light_sleep(struct amdgpu_device *adev, in vi_update_bif_medium_grain_light_sleep()
1232 static void vi_update_hdp_medium_grain_clock_gating(struct amdgpu_device *adev, in vi_update_hdp_medium_grain_clock_gating()
1248 static void vi_update_hdp_light_sleep(struct amdgpu_device *adev, in vi_update_hdp_light_sleep()
1264 static void vi_update_drm_light_sleep(struct amdgpu_device *adev, in vi_update_drm_light_sleep()
1281 static void vi_update_rom_medium_grain_clock_gating(struct amdgpu_device *adev, in vi_update_rom_medium_grain_clock_gating()
1304 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_set_clockgating_state_by_smu() local
1420 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_set_clockgating_state() local
1466 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vi_common_get_clockgating_state() local
1520 int vi_set_ip_blocks(struct amdgpu_device *adev) in vi_set_ip_blocks()