Home
last modified time | relevance | path

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

12345678910>>...29

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c157 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local
179 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px() local
196 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco() local
214 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco() local
1604 struct amdgpu_device *adev = dev; in amdgpu_device_ip_set_clockgating_state() local
1638 struct amdgpu_device *adev = dev; in amdgpu_device_ip_set_powergating_state() local
2597 struct amdgpu_device *adev; in amdgpu_device_enable_mgpu_fan_boost() local
2860 struct amdgpu_device *adev = in amdgpu_device_delayed_init_work_handler() local
2871 struct amdgpu_device *adev = in amdgpu_device_delay_enable_gfx_off() local
3334 struct amdgpu_device *adev = in amdgpu_device_xgmi_reset_func() local
[all …]
H A Dnbio_v4_3.c32 static void nbio_v4_3_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v4_3_remap_hdp_registers()
40 static u32 nbio_v4_3_get_rev_id(struct amdgpu_device *adev) in nbio_v4_3_get_rev_id()
60 static u32 nbio_v4_3_get_memsize(struct amdgpu_device *adev) in nbio_v4_3_get_memsize()
146 static void nbio_v4_3_gc_doorbell_init(struct amdgpu_device *adev) in nbio_v4_3_gc_doorbell_init()
182 static void nbio_v4_3_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v4_3_ih_doorbell_range()
217 static void nbio_v4_3_ih_control(struct amdgpu_device *adev) in nbio_v4_3_ih_control()
319 static u32 nbio_v4_3_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v4_3_get_pcie_data_offset()
339 static void nbio_v4_3_init_registers(struct amdgpu_device *adev) in nbio_v4_3_init_registers()
353 static u32 nbio_v4_3_get_rom_offset(struct amdgpu_device *adev) in nbio_v4_3_get_rom_offset()
364 static void nbio_v4_3_program_ltr(struct amdgpu_device *adev) in nbio_v4_3_program_ltr()
[all …]
H A Dnbio_v7_9.c47 static void nbio_v7_9_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_9_remap_hdp_registers()
55 static u32 nbio_v7_9_get_rev_id(struct amdgpu_device *adev) in nbio_v7_9_get_rev_id()
74 static u32 nbio_v7_9_get_memsize(struct amdgpu_device *adev) in nbio_v7_9_get_memsize()
267 static void nbio_v7_9_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_9_ih_doorbell_range()
321 static void nbio_v7_9_get_clockgating_state(struct amdgpu_device *adev, in nbio_v7_9_get_clockgating_state()
326 static void nbio_v7_9_ih_control(struct amdgpu_device *adev) in nbio_v7_9_ih_control()
354 static u32 nbio_v7_9_get_pcie_index_offset(struct amdgpu_device *adev) in nbio_v7_9_get_pcie_index_offset()
359 static u32 nbio_v7_9_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v7_9_get_pcie_data_offset()
424 static void nbio_v7_9_init_registers(struct amdgpu_device *adev) in nbio_v7_9_init_registers()
466 static u64 nbio_v7_9_get_pcie_replay_count(struct amdgpu_device *adev) in nbio_v7_9_get_pcie_replay_count()
[all …]
H A Djpeg_v3_0.c51 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_early_init() local
84 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_init() local
127 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_fini() local
147 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_init() local
172 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_fini() local
192 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_suspend() local
332 static int jpeg_v3_0_start(struct amdgpu_device *adev) in jpeg_v3_0_start()
385 static int jpeg_v3_0_stop(struct amdgpu_device *adev) in jpeg_v3_0_stop()
416 struct amdgpu_device *adev = ring->adev; in jpeg_v3_0_dec_ring_get_rptr() local
430 struct amdgpu_device *adev = ring->adev; in jpeg_v3_0_dec_ring_get_wptr() local
[all …]
H A Damdgpu_amdkfd.c69 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe()
140 void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) in amdgpu_amdkfd_device_init()
207 void amdgpu_amdkfd_device_fini_sw(struct amdgpu_device *adev) in amdgpu_amdkfd_device_fini_sw()
216 void amdgpu_amdkfd_interrupt(struct amdgpu_device *adev, in amdgpu_amdkfd_interrupt()
239 int amdgpu_amdkfd_pre_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_pre_reset()
249 int amdgpu_amdkfd_post_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_post_reset()
259 void amdgpu_amdkfd_gpu_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_gpu_reset()
552 struct amdgpu_device *adev = dst; in amdgpu_amdkfd_get_xgmi_hops_count() local
568 struct amdgpu_device *adev = dst, *peer_adev; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() local
647 int amdgpu_amdkfd_submit_ib(struct amdgpu_device *adev, in amdgpu_amdkfd_submit_ib()
[all …]
H A Dsoc15.c323 static u32 soc15_get_xclk(struct amdgpu_device *adev) in soc15_get_xclk()
339 void soc15_grbm_select(struct amdgpu_device *adev, in soc15_grbm_select()
482 static int soc15_asic_baco_reset(struct amdgpu_device *adev) in soc15_asic_baco_reset()
503 soc15_asic_reset_method(struct amdgpu_device *adev) in soc15_asic_reset_method()
595 static int soc15_asic_reset(struct amdgpu_device *adev) in soc15_asic_reset()
623 static bool soc15_supports_baco(struct amdgpu_device *adev) in soc15_supports_baco()
667 static void soc15_program_aspm(struct amdgpu_device *adev) in soc15_program_aspm()
686 static void soc15_reg_base_init(struct amdgpu_device *adev) in soc15_reg_base_init()
711 void soc15_set_virt_ops(struct amdgpu_device *adev) in soc15_set_virt_ops()
721 static bool soc15_need_full_reset(struct amdgpu_device *adev) in soc15_need_full_reset()
[all …]
H A 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()
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
230 static int vce_v2_0_start(struct amdgpu_device *adev) in vce_v2_0_start()
[all …]
H A Dmxgpu_ai.c37 static void xgpu_ai_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_ai_mailbox_send_ack()
63 static int xgpu_ai_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_msg()
78 static uint8_t xgpu_ai_peek_ack(struct amdgpu_device *adev) { in xgpu_ai_peek_ack()
82 static int xgpu_ai_poll_ack(struct amdgpu_device *adev) in xgpu_ai_poll_ack()
195 static int xgpu_ai_request_reset(struct amdgpu_device *adev) in xgpu_ai_request_reset()
230 static int xgpu_ai_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_ai_mailbox_ack_irq()
312 static int xgpu_ai_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_irq()
353 void xgpu_ai_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_ai_mailbox_set_irq_funcs()
361 int xgpu_ai_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_ai_mailbox_add_irq_id()
378 int xgpu_ai_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_ai_mailbox_get_irq()
[all …]
H A Dmxgpu_nv.c36 static void xgpu_nv_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_nv_mailbox_send_ack()
61 static int xgpu_nv_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_msg()
75 static uint8_t xgpu_nv_peek_ack(struct amdgpu_device *adev) in xgpu_nv_peek_ack()
80 static int xgpu_nv_poll_ack(struct amdgpu_device *adev) in xgpu_nv_poll_ack()
209 static int xgpu_nv_request_reset(struct amdgpu_device *adev) in xgpu_nv_request_reset()
249 static int xgpu_nv_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_nv_mailbox_ack_irq()
340 static int xgpu_nv_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_irq()
378 void xgpu_nv_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_nv_mailbox_set_irq_funcs()
386 int xgpu_nv_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_nv_mailbox_add_irq_id()
403 int xgpu_nv_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_nv_mailbox_get_irq()
[all …]
H A Dnbio_v7_0.c36 static void nbio_v7_0_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_0_remap_hdp_registers()
44 static u32 nbio_v7_0_get_rev_id(struct amdgpu_device *adev) in nbio_v7_0_get_rev_id()
63 static u32 nbio_v7_0_get_memsize(struct amdgpu_device *adev) in nbio_v7_0_get_memsize()
105 static void nbio_v7_0_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_0_enable_doorbell_aperture()
117 static void nbio_v7_0_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_0_ih_doorbell_range()
207 static void nbio_v7_0_get_clockgating_state(struct amdgpu_device *adev, in nbio_v7_0_get_clockgating_state()
223 static void nbio_v7_0_ih_control(struct amdgpu_device *adev) in nbio_v7_0_ih_control()
239 static u32 nbio_v7_0_get_hdp_flush_req_offset(struct amdgpu_device *adev) in nbio_v7_0_get_hdp_flush_req_offset()
249 static u32 nbio_v7_0_get_pcie_index_offset(struct amdgpu_device *adev) in nbio_v7_0_get_pcie_index_offset()
254 static u32 nbio_v7_0_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v7_0_get_pcie_data_offset()
[all …]
H A Dnbio_v7_7.c31 static void nbio_v7_7_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_7_remap_hdp_registers()
39 static u32 nbio_v7_7_get_rev_id(struct amdgpu_device *adev) in nbio_v7_7_get_rev_id()
60 static u32 nbio_v7_7_get_memsize(struct amdgpu_device *adev) in nbio_v7_7_get_memsize()
108 static void nbio_v7_7_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_7_enable_doorbell_aperture()
146 static void nbio_v7_7_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_7_ih_doorbell_range()
169 static void nbio_v7_7_ih_control(struct amdgpu_device *adev) in nbio_v7_7_ih_control()
192 static u32 nbio_v7_7_get_hdp_flush_req_offset(struct amdgpu_device *adev) in nbio_v7_7_get_hdp_flush_req_offset()
202 static u32 nbio_v7_7_get_pcie_index_offset(struct amdgpu_device *adev) in nbio_v7_7_get_pcie_index_offset()
207 static u32 nbio_v7_7_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v7_7_get_pcie_data_offset()
237 static void nbio_v7_7_init_registers(struct amdgpu_device *adev) in nbio_v7_7_init_registers()
[all …]
H A Dgfx_v6_0.c1769 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_test_ring() local
1875 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_test_ib() local
2109 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_get_wptr() local
2123 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_set_wptr_gfx() local
2131 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_set_wptr_compute() local
2333 static int gfx_v6_0_rlc_init(struct amdgpu_device *adev) in gfx_v6_0_rlc_init()
2425 static u32 gfx_v6_0_halt_rlc(struct amdgpu_device *adev) in gfx_v6_0_halt_rlc()
2477 static void gfx_v6_0_init_cg(struct amdgpu_device *adev) in gfx_v6_0_init_cg()
2880 static void gfx_v6_0_init_pg(struct amdgpu_device *adev) in gfx_v6_0_init_pg()
3331 static int gfx_v6_0_eop_irq(struct amdgpu_device *adev, in gfx_v6_0_eop_irq()
[all …]
H A Djpeg_v4_0.c57 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_early_init() local
79 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_sw_init() local
139 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_sw_fini() local
159 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_hw_init() local
198 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_hw_fini() local
221 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_suspend() local
366 static int jpeg_v4_0_start(struct amdgpu_device *adev) in jpeg_v4_0_start()
532 static int jpeg_v4_0_stop(struct amdgpu_device *adev) in jpeg_v4_0_stop()
563 struct amdgpu_device *adev = ring->adev; in jpeg_v4_0_dec_ring_get_rptr() local
577 struct amdgpu_device *adev = ring->adev; in jpeg_v4_0_dec_ring_get_wptr() local
[all …]
H A Dmmhub_v3_0_2.c96 mmhub_v3_0_2_print_l2_protection_fault_status(struct amdgpu_device *adev, in mmhub_v3_0_2_print_l2_protection_fault_status()
203 static void mmhub_v3_0_2_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_tlb_regs()
223 static void mmhub_v3_0_2_init_cache_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_cache_regs()
274 static void mmhub_v3_0_2_enable_system_domain(struct amdgpu_device *adev) in mmhub_v3_0_2_enable_system_domain()
312 static void mmhub_v3_0_2_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v3_0_2_setup_vmid_config()
375 static int mmhub_v3_0_2_gart_enable(struct amdgpu_device *adev) in mmhub_v3_0_2_gart_enable()
391 static void mmhub_v3_0_2_gart_disable(struct amdgpu_device *adev) in mmhub_v3_0_2_gart_disable()
470 static void mmhub_v3_0_2_init(struct amdgpu_device *adev) in mmhub_v3_0_2_init()
515 static u64 mmhub_v3_0_2_get_fb_location(struct amdgpu_device *adev) in mmhub_v3_0_2_get_fb_location()
526 static u64 mmhub_v3_0_2_get_mc_fb_offset(struct amdgpu_device *adev) in mmhub_v3_0_2_get_mc_fb_offset()
[all …]
H A Dgmc_v11_0.c60 gmc_v11_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_vm_fault_interrupt_state()
153 static void gmc_v11_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v11_0_set_irq_funcs()
179 struct amdgpu_device *adev, in gmc_v11_0_get_vmid_pasid_mapping_info()
432 struct amdgpu_device *adev = ring->adev; in gmc_v11_0_emit_pasid_mapping() local
521 static void gmc_v11_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v11_0_get_vm_pte()
640 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v11_0_early_init() local
661 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v11_0_late_init() local
702 static int gmc_v11_0_mc_init(struct amdgpu_device *adev) in gmc_v11_0_mc_init()
741 static int gmc_v11_0_gart_init(struct amdgpu_device *adev) in gmc_v11_0_gart_init()
872 static void gmc_v11_0_gart_fini(struct amdgpu_device *adev) in gmc_v11_0_gart_fini()
[all …]
H A Dsoc21.c192 static u32 soc21_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc21_didt_rreg()
225 static u32 soc21_get_xclk(struct amdgpu_device *adev) in soc21_get_xclk()
231 void soc21_grbm_select(struct amdgpu_device *adev, in soc21_grbm_select()
365 soc21_asic_reset_method(struct amdgpu_device *adev) in soc21_asic_reset_method()
392 static int soc21_asic_reset(struct amdgpu_device *adev) in soc21_asic_reset()
430 static void soc21_program_aspm(struct amdgpu_device *adev) in soc21_program_aspm()
448 static bool soc21_need_full_reset(struct amdgpu_device *adev) in soc21_need_full_reset()
511 static void soc21_pre_asic_init(struct amdgpu_device *adev) in soc21_pre_asic_init()
552 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in soc21_common_early_init() local
704 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in soc21_common_late_init() local
[all …]
H A Damdgpu_virt.c45 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked()
53 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting()
179 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu()
195 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data()
214 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset()
230 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table()
260 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table()
673 void amdgpu_virt_exchange_data(struct amdgpu_device *adev) in amdgpu_virt_exchange_data()
840 void amdgpu_virt_post_reset(struct amdgpu_device *adev) in amdgpu_virt_post_reset()
1075 void amdgpu_sriov_wreg(struct amdgpu_device *adev, in amdgpu_sriov_wreg()
[all …]
H A Dgmc_v8_0.c170 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()
428 static void gmc_v8_0_mc_program(struct amdgpu_device *adev) in gmc_v8_0_mc_program()
500 static int gmc_v8_0_mc_init(struct amdgpu_device *adev) in gmc_v8_0_mc_init()
714 static void gmc_v8_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v8_0_get_vm_pte()
820 static int gmc_v8_0_gart_enable(struct amdgpu_device *adev) in gmc_v8_0_gart_enable()
939 static int gmc_v8_0_gart_init(struct amdgpu_device *adev) in gmc_v8_0_gart_init()
963 static void gmc_v8_0_gart_disable(struct amdgpu_device *adev) in gmc_v8_0_gart_disable()
1038 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v8_0_early_init() local
[all …]
H A Dvi.c323 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg()
349 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg()
540 static u32 vi_get_xclk(struct amdgpu_device *adev) in vi_get_xclk()
579 void vi_srbm_select(struct amdgpu_device *adev, in vi_srbm_select()
916 vi_asic_reset_method(struct amdgpu_device *adev) in vi_asic_reset_method()
957 static int vi_asic_reset(struct amdgpu_device *adev) in vi_asic_reset()
1106 static void vi_enable_aspm(struct amdgpu_device *adev) in vi_enable_aspm()
1121 static void vi_program_aspm(struct amdgpu_device *adev) in vi_program_aspm()
1429 static void vi_pre_asic_init(struct amdgpu_device *adev) in vi_pre_asic_init()
2073 void vi_set_virt_ops(struct amdgpu_device *adev) in vi_set_virt_ops()
[all …]
H A Dmxgpu_vi.c279 void xgpu_vi_init_golden_registers(struct amdgpu_device *adev) in xgpu_vi_init_golden_registers()
366 static int xgpu_vi_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_msg()
389 static int xgpu_vi_poll_ack(struct amdgpu_device *adev) in xgpu_vi_poll_ack()
459 static int xgpu_vi_request_reset(struct amdgpu_device *adev) in xgpu_vi_request_reset()
464 static int xgpu_vi_wait_reset_cmpl(struct amdgpu_device *adev) in xgpu_vi_wait_reset_cmpl()
491 static int xgpu_vi_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_vi_mailbox_ack_irq()
551 static int xgpu_vi_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_irq()
583 void xgpu_vi_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_vi_mailbox_set_irq_funcs()
591 int xgpu_vi_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_vi_mailbox_add_irq_id()
608 int xgpu_vi_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_vi_mailbox_get_irq()
[all …]
H A Dtonga_ih.c102 static int tonga_ih_irq_init(struct amdgpu_device *adev) in tonga_ih_irq_init()
172 static void tonga_ih_irq_disable(struct amdgpu_device *adev) in tonga_ih_irq_disable()
192 static u32 tonga_ih_get_wptr(struct amdgpu_device *adev, in tonga_ih_get_wptr()
242 static void tonga_ih_decode_iv(struct amdgpu_device *adev, in tonga_ih_decode_iv()
274 static void tonga_ih_set_rptr(struct amdgpu_device *adev, in tonga_ih_set_rptr()
288 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_early_init() local
303 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_init() local
319 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_fini() local
330 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_hw_init() local
341 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_hw_fini() local
[all …]
H A Dgfxhub_v2_1.c108 static u64 gfxhub_v2_1_get_fb_location(struct amdgpu_device *adev) in gfxhub_v2_1_get_fb_location()
118 static u64 gfxhub_v2_1_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v2_1_get_mc_fb_offset()
187 static void gfxhub_v2_1_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_tlb_regs()
206 static void gfxhub_v2_1_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_cache_regs()
354 static int gfxhub_v2_1_gart_enable(struct amdgpu_device *adev) in gfxhub_v2_1_gart_enable()
382 static void gfxhub_v2_1_gart_disable(struct amdgpu_device *adev) in gfxhub_v2_1_gart_disable()
463 static void gfxhub_v2_1_init(struct amdgpu_device *adev) in gfxhub_v2_1_init()
505 static int gfxhub_v2_1_get_xgmi_info(struct amdgpu_device *adev) in gfxhub_v2_1_get_xgmi_info()
582 static void gfxhub_v2_1_save_regs(struct amdgpu_device *adev) in gfxhub_v2_1_save_regs()
617 static void gfxhub_v2_1_restore_regs(struct amdgpu_device *adev) in gfxhub_v2_1_restore_regs()
[all …]
H A Dnv.c279 static u32 nv_didt_rreg(struct amdgpu_device *adev, u32 reg) in nv_didt_rreg()
307 static u32 nv_get_config_memsize(struct amdgpu_device *adev) in nv_get_config_memsize()
312 static u32 nv_get_xclk(struct amdgpu_device *adev) in nv_get_xclk()
318 void nv_grbm_select(struct amdgpu_device *adev, in nv_grbm_select()
411 static int nv_asic_mode2_reset(struct amdgpu_device *adev) in nv_asic_mode2_reset()
444 nv_asic_reset_method(struct amdgpu_device *adev) in nv_asic_reset_method()
476 static int nv_asic_reset(struct amdgpu_device *adev) in nv_asic_reset()
514 static void nv_program_aspm(struct amdgpu_device *adev) in nv_program_aspm()
533 void nv_set_virt_ops(struct amdgpu_device *adev) in nv_set_virt_ops()
538 static bool nv_need_full_reset(struct amdgpu_device *adev) in nv_need_full_reset()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c36 #define amdgpu_dpm_enable_bapm(adev, e) \ argument
126 int amdgpu_dpm_baco_enter(struct amdgpu_device *adev) in amdgpu_dpm_baco_enter()
145 int amdgpu_dpm_baco_exit(struct amdgpu_device *adev) in amdgpu_dpm_baco_exit()
164 int amdgpu_dpm_set_mp1_state(struct amdgpu_device *adev, in amdgpu_dpm_set_mp1_state()
214 int amdgpu_dpm_mode2_reset(struct amdgpu_device *adev) in amdgpu_dpm_mode2_reset()
250 int amdgpu_dpm_baco_reset(struct amdgpu_device *adev) in amdgpu_dpm_baco_reset()
288 int amdgpu_dpm_mode1_reset(struct amdgpu_device *adev) in amdgpu_dpm_mode1_reset()
338 int amdgpu_dpm_set_df_cstate(struct amdgpu_device *adev, in amdgpu_dpm_set_df_cstate()
805 int amdgpu_dpm_get_ecc_info(struct amdgpu_device *adev, in amdgpu_dpm_get_ecc_info()
1149 int amdgpu_dpm_get_sclk_od(struct amdgpu_device *adev) in amdgpu_dpm_get_sclk_od()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c641 static void kv_program_vc(struct amdgpu_device *adev) in kv_program_vc()
646 static void kv_clear_vc(struct amdgpu_device *adev) in kv_clear_vc()
715 static void kv_start_dpm(struct amdgpu_device *adev) in kv_start_dpm()
725 static void kv_stop_dpm(struct amdgpu_device *adev) in kv_stop_dpm()
730 static void kv_start_am(struct amdgpu_device *adev) in kv_start_am()
741 static void kv_reset_am(struct amdgpu_device *adev) in kv_reset_am()
1262 static int kv_dpm_enable(struct amdgpu_device *adev) in kv_dpm_enable()
1373 static void kv_dpm_disable(struct amdgpu_device *adev) in kv_dpm_disable()
1428 static void kv_init_sclk_t(struct amdgpu_device *adev) in kv_init_sclk_t()
2781 static int kv_dpm_init(struct amdgpu_device *adev) in kv_dpm_init()
[all …]

12345678910>>...29