Home
last modified time | relevance | path

Searched defs:adev (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c73 static u32 kv_convert_vid2_to_vid7(struct amdgpu_device *adev, in kv_convert_vid2_to_vid7()
95 static u32 kv_convert_vid7_to_vid2(struct amdgpu_device *adev, in kv_convert_vid7_to_vid2()
119 static void sumo_take_smu_control(struct amdgpu_device *adev, bool enable) in sumo_take_smu_control()
138 static void sumo_construct_sclk_voltage_mapping_table(struct amdgpu_device *adev, in sumo_construct_sclk_voltage_mapping_table()
160 static void sumo_construct_vid_mapping_table(struct amdgpu_device *adev, in sumo_construct_vid_mapping_table()
379 static struct kv_power_info *kv_get_pi(struct amdgpu_device *adev) in kv_get_pi()
412 static int kv_program_pt_config_registers(struct amdgpu_device *adev, in kv_program_pt_config_registers()
461 static void kv_do_enable_didt(struct amdgpu_device *adev, bool enable) in kv_do_enable_didt()
503 static int kv_enable_didt(struct amdgpu_device *adev, bool enable) in kv_enable_didt()
563 static int kv_enable_smc_cac(struct amdgpu_device *adev, bool enable) in kv_enable_smc_cac()
[all …]
Dci_dpm.c191 static u8 ci_get_memory_module_index(struct amdgpu_device *adev) in ci_get_memory_module_index()
201 static int ci_copy_and_switch_arb_sets(struct amdgpu_device *adev, in ci_copy_and_switch_arb_sets()
286 static void ci_trim_voltage_table_to_fit_state_table(struct amdgpu_device *adev, in ci_trim_voltage_table_to_fit_state_table()
318 static struct ci_power_info *ci_get_pi(struct amdgpu_device *adev) in ci_get_pi()
332 static void ci_initialize_powertune_defaults(struct amdgpu_device *adev) in ci_initialize_powertune_defaults()
397 static int ci_populate_bapm_vddc_vid_sidd(struct amdgpu_device *adev) in ci_populate_bapm_vddc_vid_sidd()
426 static int ci_populate_vddc_vid(struct amdgpu_device *adev) in ci_populate_vddc_vid()
441 static int ci_populate_svi_load_line(struct amdgpu_device *adev) in ci_populate_svi_load_line()
454 static int ci_populate_tdc_limit(struct amdgpu_device *adev) in ci_populate_tdc_limit()
469 static int ci_populate_dw8(struct amdgpu_device *adev) in ci_populate_dw8()
[all …]
Damdgpu_device.c95 struct amdgpu_device *adev = dev->dev_private; in amdgpu_device_is_px() local
105 uint32_t amdgpu_mm_rreg(struct amdgpu_device *adev, uint32_t reg, in amdgpu_mm_rreg()
129 void amdgpu_mm_wreg(struct amdgpu_device *adev, uint32_t reg, uint32_t v, in amdgpu_mm_wreg()
159 u32 amdgpu_io_rreg(struct amdgpu_device *adev, u32 reg) in amdgpu_io_rreg()
169 void amdgpu_io_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in amdgpu_io_wreg()
196 u32 amdgpu_mm_rdoorbell(struct amdgpu_device *adev, u32 index) in amdgpu_mm_rdoorbell()
216 void amdgpu_mm_wdoorbell(struct amdgpu_device *adev, u32 index, u32 v) in amdgpu_mm_wdoorbell()
234 u64 amdgpu_mm_rdoorbell64(struct amdgpu_device *adev, u32 index) in amdgpu_mm_rdoorbell64()
254 void amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v) in amdgpu_mm_wdoorbell64()
273 static uint32_t amdgpu_invalid_rreg(struct amdgpu_device *adev, uint32_t reg) in amdgpu_invalid_rreg()
[all …]
Dgfx_v6_0.c308 static int gfx_v6_0_init_microcode(struct amdgpu_device *adev) in gfx_v6_0_init_microcode()
394 static void gfx_v6_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v6_0_tiling_mode_table_init()
1279 static void gfx_v6_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, in gfx_v6_0_select_se_sh()
1304 static u32 gfx_v6_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v6_0_get_rb_active_bitmap()
1319 static void gfx_v6_0_raster_config(struct amdgpu_device *adev, u32 *rconf) in gfx_v6_0_raster_config()
1351 static void gfx_v6_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v6_0_write_harvested_raster_configs()
1441 static void gfx_v6_0_setup_rb(struct amdgpu_device *adev) in gfx_v6_0_setup_rb()
1495 static void gfx_v6_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v6_0_set_user_cu_inactive_bitmap()
1509 static u32 gfx_v6_0_get_cu_enabled(struct amdgpu_device *adev) in gfx_v6_0_get_cu_enabled()
1521 static void gfx_v6_0_setup_spi(struct amdgpu_device *adev) in gfx_v6_0_setup_spi()
[all …]
Dgmc_v7_0.c66 static void gmc_v7_0_init_golden_registers(struct amdgpu_device *adev) in gmc_v7_0_init_golden_registers()
82 static void gmc_v7_0_mc_stop(struct amdgpu_device *adev) in gmc_v7_0_mc_stop()
101 static void gmc_v7_0_mc_resume(struct amdgpu_device *adev) in gmc_v7_0_mc_resume()
124 static int gmc_v7_0_init_microcode(struct amdgpu_device *adev) in gmc_v7_0_init_microcode()
176 static int gmc_v7_0_mc_load_microcode(struct amdgpu_device *adev) in gmc_v7_0_mc_load_microcode()
237 static void gmc_v7_0_vram_gtt_location(struct amdgpu_device *adev, in gmc_v7_0_vram_gtt_location()
261 static void gmc_v7_0_mc_program(struct amdgpu_device *adev) in gmc_v7_0_mc_program()
323 static int gmc_v7_0_mc_init(struct amdgpu_device *adev) in gmc_v7_0_mc_init()
430 static void gmc_v7_0_gart_flush_gpu_tlb(struct amdgpu_device *adev, in gmc_v7_0_gart_flush_gpu_tlb()
451 static int gmc_v7_0_gart_set_pte_pde(struct amdgpu_device *adev, in gmc_v7_0_gart_set_pte_pde()
[all …]
Dgmc_v8_0.c122 static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev) in gmc_v8_0_init_golden_registers()
170 static void gmc_v8_0_mc_stop(struct amdgpu_device *adev) in gmc_v8_0_mc_stop()
189 static void gmc_v8_0_mc_resume(struct amdgpu_device *adev) in gmc_v8_0_mc_resume()
212 static int gmc_v8_0_init_microcode(struct amdgpu_device *adev) in gmc_v8_0_init_microcode()
289 static int gmc_v8_0_tonga_mc_load_microcode(struct amdgpu_device *adev) in gmc_v8_0_tonga_mc_load_microcode()
358 static int gmc_v8_0_polaris_mc_load_microcode(struct amdgpu_device *adev) in gmc_v8_0_polaris_mc_load_microcode()
428 static void gmc_v8_0_vram_gtt_location(struct amdgpu_device *adev, in gmc_v8_0_vram_gtt_location()
455 static void gmc_v8_0_mc_program(struct amdgpu_device *adev) in gmc_v8_0_mc_program()
528 static int gmc_v8_0_mc_init(struct amdgpu_device *adev) in gmc_v8_0_mc_init()
634 static void gmc_v8_0_gart_flush_gpu_tlb(struct amdgpu_device *adev, in gmc_v8_0_gart_flush_gpu_tlb()
[all …]
Dsoc15.c100 static u32 soc15_pcie_rreg(struct amdgpu_device *adev, u32 reg) in soc15_pcie_rreg()
122 static void soc15_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_pcie_wreg()
143 static u32 soc15_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in soc15_uvd_ctx_rreg()
158 static void soc15_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_uvd_ctx_wreg()
171 static u32 soc15_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc15_didt_rreg()
186 static void soc15_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_didt_wreg()
199 static u32 soc15_gc_cac_rreg(struct amdgpu_device *adev, u32 reg) in soc15_gc_cac_rreg()
211 static void soc15_gc_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_gc_cac_wreg()
221 static u32 soc15_se_cac_rreg(struct amdgpu_device *adev, u32 reg) in soc15_se_cac_rreg()
233 static void soc15_se_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_se_cac_wreg()
[all …]
Dgmc_v6_0.c69 static void gmc_v6_0_mc_stop(struct amdgpu_device *adev) in gmc_v6_0_mc_stop()
89 static void gmc_v6_0_mc_resume(struct amdgpu_device *adev) in gmc_v6_0_mc_resume()
103 static int gmc_v6_0_init_microcode(struct amdgpu_device *adev) in gmc_v6_0_init_microcode()
156 static int gmc_v6_0_mc_load_microcode(struct amdgpu_device *adev) in gmc_v6_0_mc_load_microcode()
219 static void gmc_v6_0_vram_gtt_location(struct amdgpu_device *adev, in gmc_v6_0_vram_gtt_location()
234 static void gmc_v6_0_mc_program(struct amdgpu_device *adev) in gmc_v6_0_mc_program()
281 static int gmc_v6_0_mc_init(struct amdgpu_device *adev) in gmc_v6_0_mc_init()
358 static void gmc_v6_0_gart_flush_gpu_tlb(struct amdgpu_device *adev, in gmc_v6_0_gart_flush_gpu_tlb()
366 static int gmc_v6_0_gart_set_pte_pde(struct amdgpu_device *adev, in gmc_v6_0_gart_set_pte_pde()
382 static uint64_t gmc_v6_0_get_vm_pte_flags(struct amdgpu_device *adev, in gmc_v6_0_get_vm_pte_flags()
[all …]
Dvce_v2_0.c57 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_rptr() local
74 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_wptr() local
91 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_set_wptr() local
99 static int vce_v2_0_lmi_clean(struct amdgpu_device *adev) in vce_v2_0_lmi_clean()
116 static int vce_v2_0_firmware_loaded(struct amdgpu_device *adev) in vce_v2_0_firmware_loaded()
142 static void vce_v2_0_disable_cg(struct amdgpu_device *adev) in vce_v2_0_disable_cg()
147 static void vce_v2_0_init_cg(struct amdgpu_device *adev) in vce_v2_0_init_cg()
168 static void vce_v2_0_mc_resume(struct amdgpu_device *adev) in vce_v2_0_mc_resume()
206 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_is_idle() local
213 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_wait_for_idle() local
[all …]
Dvi.c84 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()
[all …]
Dgfx_v9_0.c190 static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v9_0_init_golden_registers()
214 static void gfx_v9_0_scratch_init(struct amdgpu_device *adev) in gfx_v9_0_scratch_init()
257 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_test_ring() local
301 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_test_ib() local
355 static int gfx_v9_0_init_microcode(struct amdgpu_device *adev) in gfx_v9_0_init_microcode()
569 static u32 gfx_v9_0_get_csb_size(struct amdgpu_device *adev) in gfx_v9_0_get_csb_size()
597 static void gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v9_0_get_csb_buffer()
638 static void gfx_v9_0_init_lbpw(struct amdgpu_device *adev) in gfx_v9_0_init_lbpw()
683 static void gfx_v9_0_enable_lbpw(struct amdgpu_device *adev, bool enable) in gfx_v9_0_enable_lbpw()
688 static void rv_init_cp_jump_table(struct amdgpu_device *adev) in rv_init_cp_jump_table()
[all …]
Dgfx_v8_0.c662 static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v8_0_init_golden_registers()
751 static void gfx_v8_0_scratch_init(struct amdgpu_device *adev) in gfx_v8_0_scratch_init()
760 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local
804 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local
859 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
879 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1127 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1174 static void cz_init_cp_jump_table(struct amdgpu_device *adev) in cz_init_cp_jump_table()
1239 static void gfx_v8_0_rlc_fini(struct amdgpu_device *adev) in gfx_v8_0_rlc_fini()
1245 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
[all …]
Dtonga_ih.c58 static void tonga_ih_enable_interrupts(struct amdgpu_device *adev) in tonga_ih_enable_interrupts()
75 static void tonga_ih_disable_interrupts(struct amdgpu_device *adev) in tonga_ih_disable_interrupts()
100 static int tonga_ih_irq_init(struct amdgpu_device *adev) in tonga_ih_irq_init()
177 static void tonga_ih_irq_disable(struct amdgpu_device *adev) in tonga_ih_irq_disable()
196 static u32 tonga_ih_get_wptr(struct amdgpu_device *adev) in tonga_ih_get_wptr()
229 static void tonga_ih_decode_iv(struct amdgpu_device *adev, in tonga_ih_decode_iv()
259 static void tonga_ih_set_rptr(struct amdgpu_device *adev) in tonga_ih_set_rptr()
275 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_early_init() local
290 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_init() local
306 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_fini() local
[all …]
Duvd_v5_0.c56 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_get_rptr() local
70 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_get_wptr() local
84 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_set_wptr() local
91 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_early_init() local
102 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_init() local
128 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_fini() local
146 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_init() local
206 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_fini() local
220 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_suspend() local
233 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_resume() local
[all …]
Dvce_v3_0.c79 struct amdgpu_device *adev = ring->adev; in vce_v3_0_ring_get_rptr() local
111 struct amdgpu_device *adev = ring->adev; in vce_v3_0_ring_get_wptr() local
143 struct amdgpu_device *adev = ring->adev; in vce_v3_0_ring_set_wptr() local
163 static void vce_v3_0_override_vce_clock_gating(struct amdgpu_device *adev, bool override) in vce_v3_0_override_vce_clock_gating()
168 static void vce_v3_0_set_vce_sw_clock_gating(struct amdgpu_device *adev, in vce_v3_0_set_vce_sw_clock_gating()
235 static int vce_v3_0_firmware_loaded(struct amdgpu_device *adev) in vce_v3_0_firmware_loaded()
265 static int vce_v3_0_start(struct amdgpu_device *adev) in vce_v3_0_start()
331 static int vce_v3_0_stop(struct amdgpu_device *adev) in vce_v3_0_stop()
364 static unsigned vce_v3_0_get_harvest_config(struct amdgpu_device *adev) in vce_v3_0_get_harvest_config()
400 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v3_0_early_init() local
[all …]
Duvd_v6_0.c59 struct amdgpu_device *adev = ring->adev; in uvd_v6_0_ring_get_rptr() local
73 struct amdgpu_device *adev = ring->adev; in uvd_v6_0_ring_get_wptr() local
87 struct amdgpu_device *adev = ring->adev; in uvd_v6_0_ring_set_wptr() local
94 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_early_init() local
110 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_sw_init() local
135 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_sw_fini() local
153 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_hw_init() local
212 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_hw_fini() local
226 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_suspend() local
238 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_resume() local
[all …]
Dmmhub_v1_0.c40 u64 mmhub_v1_0_get_fb_location(struct amdgpu_device *adev) in mmhub_v1_0_get_fb_location()
50 static void mmhub_v1_0_init_gart_pt_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_gart_pt_regs()
67 static void mmhub_v1_0_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_gart_aperture_regs()
82 static void mmhub_v1_0_init_system_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_system_aperture_regs()
118 static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_tlb_regs()
139 static void mmhub_v1_0_init_cache_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_cache_regs()
171 static void mmhub_v1_0_enable_system_domain(struct amdgpu_device *adev) in mmhub_v1_0_enable_system_domain()
181 static void mmhub_v1_0_disable_identity_aperture(struct amdgpu_device *adev) in mmhub_v1_0_disable_identity_aperture()
199 static void mmhub_v1_0_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v1_0_setup_vmid_config()
240 static void mmhub_v1_0_program_invalidation(struct amdgpu_device *adev) in mmhub_v1_0_program_invalidation()
[all …]
Dgfxhub_v1_0.c34 u64 gfxhub_v1_0_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v1_0_get_mc_fb_offset()
39 static void gfxhub_v1_0_init_gart_pt_regs(struct amdgpu_device *adev) in gfxhub_v1_0_init_gart_pt_regs()
56 static void gfxhub_v1_0_init_gart_aperture_regs(struct amdgpu_device *adev) in gfxhub_v1_0_init_gart_aperture_regs()
71 static void gfxhub_v1_0_init_system_aperture_regs(struct amdgpu_device *adev) in gfxhub_v1_0_init_system_aperture_regs()
104 static void gfxhub_v1_0_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v1_0_init_tlb_regs()
125 static void gfxhub_v1_0_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v1_0_init_cache_regs()
157 static void gfxhub_v1_0_enable_system_domain(struct amdgpu_device *adev) in gfxhub_v1_0_enable_system_domain()
167 static void gfxhub_v1_0_disable_identity_aperture(struct amdgpu_device *adev) in gfxhub_v1_0_disable_identity_aperture()
184 static void gfxhub_v1_0_setup_vmid_config(struct amdgpu_device *adev) in gfxhub_v1_0_setup_vmid_config()
224 static void gfxhub_v1_0_program_invalidation(struct amdgpu_device *adev) in gfxhub_v1_0_program_invalidation()
[all …]
Dgfx_v7_0.c899 static int gfx_v7_0_init_microcode(struct amdgpu_device *adev) in gfx_v7_0_init_microcode()
993 static void gfx_v7_0_free_microcode(struct amdgpu_device *adev) in gfx_v7_0_free_microcode()
1020 static void gfx_v7_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v7_0_tiling_mode_table_init()
1585 static void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, in gfx_v7_0_select_se_sh()
1618 static u32 gfx_v7_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v7_0_get_rb_active_bitmap()
1635 gfx_v7_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v7_0_raster_config()
1667 gfx_v7_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v7_0_write_harvested_raster_configs()
1784 static void gfx_v7_0_setup_rb(struct amdgpu_device *adev) in gfx_v7_0_setup_rb()
1836 static void gfx_v7_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_compute_vmid()
1865 static void gfx_v7_0_config_init(struct amdgpu_device *adev) in gfx_v7_0_config_init()
[all …]
Dnbio_v6_1.c37 u32 nbio_v6_1_get_rev_id(struct amdgpu_device *adev) in nbio_v6_1_get_rev_id()
47 u32 nbio_v6_1_get_atombios_scratch_regs(struct amdgpu_device *adev, in nbio_v6_1_get_atombios_scratch_regs()
53 void nbio_v6_1_set_atombios_scratch_regs(struct amdgpu_device *adev, in nbio_v6_1_set_atombios_scratch_regs()
59 void nbio_v6_1_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v6_1_mc_access_enable()
69 void nbio_v6_1_hdp_flush(struct amdgpu_device *adev) in nbio_v6_1_hdp_flush()
74 u32 nbio_v6_1_get_memsize(struct amdgpu_device *adev) in nbio_v6_1_get_memsize()
85 void nbio_v6_1_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v6_1_sdma_doorbell_range()
99 void nbio_v6_1_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v6_1_enable_doorbell_aperture()
105 void nbio_v6_1_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v6_1_enable_doorbell_selfring_aperture()
125 void nbio_v6_1_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v6_1_ih_doorbell_range()
[all …]
Dsi_ih.c31 static void si_ih_enable_interrupts(struct amdgpu_device *adev) in si_ih_enable_interrupts()
43 static void si_ih_disable_interrupts(struct amdgpu_device *adev) in si_ih_disable_interrupts()
58 static int si_ih_irq_init(struct amdgpu_device *adev) in si_ih_irq_init()
97 static void si_ih_irq_disable(struct amdgpu_device *adev) in si_ih_irq_disable()
103 static u32 si_ih_get_wptr(struct amdgpu_device *adev) in si_ih_get_wptr()
121 static void si_ih_decode_iv(struct amdgpu_device *adev, in si_ih_decode_iv()
141 static void si_ih_set_rptr(struct amdgpu_device *adev) in si_ih_set_rptr()
148 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_ih_early_init() local
158 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_ih_sw_init() local
169 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_ih_sw_fini() local
[all …]
Dmxgpu_vi.c278 void xgpu_vi_init_golden_registers(struct amdgpu_device *adev) in xgpu_vi_init_golden_registers()
318 static void xgpu_vi_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_vi_mailbox_send_ack()
342 static void xgpu_vi_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_vi_mailbox_set_valid()
352 static void xgpu_vi_mailbox_trans_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_trans_msg()
365 static int xgpu_vi_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_msg()
388 static int xgpu_vi_poll_ack(struct amdgpu_device *adev) in xgpu_vi_poll_ack()
410 static int xgpu_vi_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_vi_poll_msg()
430 static int xgpu_vi_send_access_requests(struct amdgpu_device *adev, in xgpu_vi_send_access_requests()
456 static int xgpu_vi_request_reset(struct amdgpu_device *adev) in xgpu_vi_request_reset()
461 static int xgpu_vi_request_full_gpu_access(struct amdgpu_device *adev, in xgpu_vi_request_full_gpu_access()
[all …]
Dsi_dpm.c1854 static struct si_power_info *si_get_pi(struct amdgpu_device *adev) in si_get_pi()
1887 static void si_calculate_leakage_for_v_and_t(struct amdgpu_device *adev, in si_calculate_leakage_for_v_and_t()
1915 static void si_calculate_leakage_for_v(struct amdgpu_device *adev, in si_calculate_leakage_for_v()
1926 static void si_update_dte_from_pl2(struct amdgpu_device *adev, in si_update_dte_from_pl2()
1956 static struct rv7xx_power_info *rv770_get_pi(struct amdgpu_device *adev) in rv770_get_pi()
1963 static struct ni_power_info *ni_get_pi(struct amdgpu_device *adev) in ni_get_pi()
1977 static void si_initialize_powertune_defaults(struct amdgpu_device *adev) in si_initialize_powertune_defaults()
2181 static u32 si_get_smc_power_scaling_factor(struct amdgpu_device *adev) in si_get_smc_power_scaling_factor()
2186 static u32 si_calculate_cac_wintime(struct amdgpu_device *adev) in si_calculate_cac_wintime()
2211 static int si_calculate_adjusted_tdp_limits(struct amdgpu_device *adev, in si_calculate_adjusted_tdp_limits()
[all …]
Duvd_v4_2.c60 struct amdgpu_device *adev = ring->adev; in uvd_v4_2_ring_get_rptr() local
74 struct amdgpu_device *adev = ring->adev; in uvd_v4_2_ring_get_wptr() local
88 struct amdgpu_device *adev = ring->adev; in uvd_v4_2_ring_set_wptr() local
95 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_early_init() local
106 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_sw_init() local
132 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_sw_fini() local
152 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_hw_init() local
210 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_hw_fini() local
224 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_suspend() local
236 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_resume() local
[all …]
Diceland_ih.c58 static void iceland_ih_enable_interrupts(struct amdgpu_device *adev) in iceland_ih_enable_interrupts()
77 static void iceland_ih_disable_interrupts(struct amdgpu_device *adev) in iceland_ih_disable_interrupts()
104 static int iceland_ih_irq_init(struct amdgpu_device *adev) in iceland_ih_irq_init()
169 static void iceland_ih_irq_disable(struct amdgpu_device *adev) in iceland_ih_irq_disable()
188 static u32 iceland_ih_get_wptr(struct amdgpu_device *adev) in iceland_ih_get_wptr()
218 static void iceland_ih_decode_iv(struct amdgpu_device *adev, in iceland_ih_decode_iv()
248 static void iceland_ih_set_rptr(struct amdgpu_device *adev) in iceland_ih_set_rptr()
255 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_early_init() local
270 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_sw_init() local
283 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_sw_fini() local
[all …]

12345678910>>...12