Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dnv.c70 static u32 nv_pcie_rreg(struct amdgpu_device *adev, u32 reg) in nv_pcie_rreg()
79 static void nv_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in nv_pcie_wreg()
89 static u64 nv_pcie_rreg64(struct amdgpu_device *adev, u32 reg) in nv_pcie_rreg64()
98 static void nv_pcie_wreg64(struct amdgpu_device *adev, u32 reg, u64 v) in nv_pcie_wreg64()
108 static u32 nv_didt_rreg(struct amdgpu_device *adev, u32 reg) in nv_didt_rreg()
123 static void nv_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in nv_didt_wreg()
136 static u32 nv_get_config_memsize(struct amdgpu_device *adev) in nv_get_config_memsize()
141 static u32 nv_get_xclk(struct amdgpu_device *adev) in nv_get_xclk()
147 void nv_grbm_select(struct amdgpu_device *adev, in nv_grbm_select()
159 static void nv_vga_set_state(struct amdgpu_device *adev, bool state) in nv_vga_set_state()
[all …]
Damdgpu_device.c133 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local
158 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_product_name() local
180 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_product_number() local
202 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_serial_number() local
220 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco() local
237 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco() local
255 void amdgpu_device_vram_access(struct amdgpu_device *adev, loff_t pos, in amdgpu_device_vram_access()
317 uint32_t amdgpu_device_rreg(struct amdgpu_device *adev, in amdgpu_device_rreg()
357 uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset) in amdgpu_mm_rreg8()
382 void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value) in amdgpu_mm_wreg8()
[all …]
Dsoc15.c102 static u32 soc15_pcie_rreg(struct amdgpu_device *adev, u32 reg) in soc15_pcie_rreg()
111 static void soc15_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_pcie_wreg()
121 static u64 soc15_pcie_rreg64(struct amdgpu_device *adev, u32 reg) in soc15_pcie_rreg64()
130 static void soc15_pcie_wreg64(struct amdgpu_device *adev, u32 reg, u64 v) in soc15_pcie_wreg64()
140 static u32 soc15_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in soc15_uvd_ctx_rreg()
155 static void soc15_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_uvd_ctx_wreg()
168 static u32 soc15_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc15_didt_rreg()
183 static void soc15_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_didt_wreg()
196 static u32 soc15_gc_cac_rreg(struct amdgpu_device *adev, u32 reg) in soc15_gc_cac_rreg()
208 static void soc15_gc_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_gc_cac_wreg()
[all …]
Djpeg_v3_0.c51 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_early_init() local
74 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_init() local
116 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_fini() local
136 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_init() local
161 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_fini() local
181 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_suspend() local
202 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_resume() local
214 static void jpeg_v3_0_disable_clock_gating(struct amdgpu_device* adev) in jpeg_v3_0_disable_clock_gating()
244 static void jpeg_v3_0_enable_clock_gating(struct amdgpu_device* adev) in jpeg_v3_0_enable_clock_gating()
257 static int jpeg_v3_0_disable_static_power_gating(struct amdgpu_device *adev) in jpeg_v3_0_disable_static_power_gating()
[all …]
Dvi.c85 static u32 vi_pcie_rreg(struct amdgpu_device *adev, u32 reg) in vi_pcie_rreg()
98 static void vi_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_pcie_wreg()
110 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg()
122 static void vi_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_smc_wreg()
136 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg()
148 static void cz_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in cz_smc_wreg()
158 static u32 vi_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in vi_uvd_ctx_rreg()
170 static void vi_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_uvd_ctx_wreg()
180 static u32 vi_didt_rreg(struct amdgpu_device *adev, u32 reg) in vi_didt_rreg()
192 static void vi_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_didt_wreg()
[all …]
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()
54 static void nbio_v7_0_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_0_mc_access_enable()
63 static void nbio_v7_0_hdp_flush(struct amdgpu_device *adev, in nbio_v7_0_hdp_flush()
72 static u32 nbio_v7_0_get_memsize(struct amdgpu_device *adev) in nbio_v7_0_get_memsize()
77 static void nbio_v7_0_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_0_sdma_doorbell_range()
94 static void nbio_v7_0_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_0_vcn_doorbell_range()
114 static void nbio_v7_0_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_0_enable_doorbell_aperture()
120 static void nbio_v7_0_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_0_enable_doorbell_selfring_aperture()
126 static void nbio_v7_0_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_0_ih_doorbell_range()
[all …]
Dmxgpu_nv.c34 static void xgpu_nv_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_nv_mailbox_send_ack()
39 static void xgpu_nv_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_nv_mailbox_set_valid()
53 static enum idh_event xgpu_nv_mailbox_peek_msg(struct amdgpu_device *adev) in xgpu_nv_mailbox_peek_msg()
59 static int xgpu_nv_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_msg()
73 static uint8_t xgpu_nv_peek_ack(struct amdgpu_device *adev) in xgpu_nv_peek_ack()
78 static int xgpu_nv_poll_ack(struct amdgpu_device *adev) in xgpu_nv_poll_ack()
97 static int xgpu_nv_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_nv_poll_msg()
114 static void xgpu_nv_mailbox_trans_msg (struct amdgpu_device *adev, in xgpu_nv_mailbox_trans_msg()
149 static int xgpu_nv_send_access_requests(struct amdgpu_device *adev, in xgpu_nv_send_access_requests()
201 static int xgpu_nv_request_reset(struct amdgpu_device *adev) in xgpu_nv_request_reset()
[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 …]
Dgfx_v6_0.c311 static int gfx_v6_0_init_microcode(struct amdgpu_device *adev) in gfx_v6_0_init_microcode()
397 static void gfx_v6_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v6_0_tiling_mode_table_init()
1301 static void gfx_v6_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, in gfx_v6_0_select_se_sh()
1326 static u32 gfx_v6_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v6_0_get_rb_active_bitmap()
1341 static void gfx_v6_0_raster_config(struct amdgpu_device *adev, u32 *rconf) in gfx_v6_0_raster_config()
1373 static void gfx_v6_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v6_0_write_harvested_raster_configs()
1463 static void gfx_v6_0_setup_rb(struct amdgpu_device *adev) in gfx_v6_0_setup_rb()
1517 static void gfx_v6_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v6_0_set_user_cu_inactive_bitmap()
1531 static u32 gfx_v6_0_get_cu_enabled(struct amdgpu_device *adev) in gfx_v6_0_get_cu_enabled()
1543 static void gfx_v6_0_setup_spi(struct amdgpu_device *adev) in gfx_v6_0_setup_spi()
[all …]
Dnbio_v7_4.c58 static void nbio_v7_4_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_4_remap_hdp_registers()
66 static u32 nbio_v7_4_get_rev_id(struct amdgpu_device *adev) in nbio_v7_4_get_rev_id()
76 static void nbio_v7_4_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_4_mc_access_enable()
85 static void nbio_v7_4_hdp_flush(struct amdgpu_device *adev, in nbio_v7_4_hdp_flush()
94 static u32 nbio_v7_4_get_memsize(struct amdgpu_device *adev) in nbio_v7_4_get_memsize()
99 static void nbio_v7_4_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_4_sdma_doorbell_range()
130 static void nbio_v7_4_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_4_vcn_doorbell_range()
156 static void nbio_v7_4_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_4_enable_doorbell_aperture()
162 static void nbio_v7_4_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_4_enable_doorbell_selfring_aperture()
181 static void nbio_v7_4_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_4_ih_doorbell_range()
[all …]
Damdgpu_virt.c40 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked()
48 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting()
59 void amdgpu_virt_kiq_reg_write_reg_wait(struct amdgpu_device *adev, in amdgpu_virt_kiq_reg_write_reg_wait()
112 int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_request_full_gpu()
135 int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_release_full_gpu()
156 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu()
172 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data()
191 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset()
207 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table()
236 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table()
[all …]
Dvcn_v1_0.c68 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_early_init() local
93 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_sw_init() local
174 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_sw_fini() local
196 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_hw_init() local
233 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_hw_fini() local
256 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_suspend() local
284 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_resume() local
302 static void vcn_v1_0_mc_resume_spg_mode(struct amdgpu_device *adev) in vcn_v1_0_mc_resume_spg_mode()
369 static void vcn_v1_0_mc_resume_dpg_mode(struct amdgpu_device *adev) in vcn_v1_0_mc_resume_dpg_mode()
449 static void vcn_v1_0_disable_clock_gating(struct amdgpu_device *adev) in vcn_v1_0_disable_clock_gating()
[all …]
Dnbio_v6_1.c33 static u32 nbio_v6_1_get_rev_id(struct amdgpu_device *adev) in nbio_v6_1_get_rev_id()
43 static void nbio_v6_1_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v6_1_mc_access_enable()
53 static void nbio_v6_1_hdp_flush(struct amdgpu_device *adev, in nbio_v6_1_hdp_flush()
65 static u32 nbio_v6_1_get_memsize(struct amdgpu_device *adev) in nbio_v6_1_get_memsize()
70 static void nbio_v6_1_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v6_1_sdma_doorbell_range()
88 static void nbio_v6_1_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v6_1_enable_doorbell_aperture()
94 static void nbio_v6_1_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v6_1_enable_doorbell_selfring_aperture()
114 static void nbio_v6_1_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v6_1_ih_doorbell_range()
129 static void nbio_v6_1_ih_control(struct amdgpu_device *adev) in nbio_v6_1_ih_control()
145 static void nbio_v6_1_update_medium_grain_clock_gating(struct amdgpu_device *adev, in nbio_v6_1_update_medium_grain_clock_gating()
[all …]
Dmxgpu_ai.c35 static void xgpu_ai_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_ai_mailbox_send_ack()
40 static void xgpu_ai_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_ai_mailbox_set_valid()
54 static enum idh_event xgpu_ai_mailbox_peek_msg(struct amdgpu_device *adev) in xgpu_ai_mailbox_peek_msg()
61 static int xgpu_ai_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_msg()
76 static uint8_t xgpu_ai_peek_ack(struct amdgpu_device *adev) { in xgpu_ai_peek_ack()
80 static int xgpu_ai_poll_ack(struct amdgpu_device *adev) in xgpu_ai_poll_ack()
99 static int xgpu_ai_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_ai_poll_msg()
117 static void xgpu_ai_mailbox_trans_msg (struct amdgpu_device *adev, in xgpu_ai_mailbox_trans_msg()
161 static int xgpu_ai_send_access_requests(struct amdgpu_device *adev, in xgpu_ai_send_access_requests()
188 static int xgpu_ai_request_reset(struct amdgpu_device *adev) in xgpu_ai_request_reset()
[all …]
Dgmc_v10_0.c59 static int gmc_v10_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v10_0_ecc_interrupt_state()
68 gmc_v10_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v10_0_vm_fault_interrupt_state()
92 static int gmc_v10_0_process_interrupt(struct amdgpu_device *adev, in gmc_v10_0_process_interrupt()
148 static void gmc_v10_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v10_0_set_irq_funcs()
166 static bool gmc_v10_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v10_0_use_invalidate_semaphore()
175 struct amdgpu_device *adev, in gmc_v10_0_get_atc_vmid_pasid_mapping_info()
194 static void gmc_v10_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid, in gmc_v10_0_flush_vm_hub()
273 static void gmc_v10_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v10_0_flush_gpu_tlb()
365 static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v10_0_flush_gpu_tlb_pasid()
473 struct amdgpu_device *adev = ring->adev; in gmc_v10_0_emit_pasid_mapping() local
[all …]
Dgmc_v8_0.c129 static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev) in gmc_v8_0_init_golden_registers()
178 static void gmc_v8_0_mc_stop(struct amdgpu_device *adev) in gmc_v8_0_mc_stop()
197 static void gmc_v8_0_mc_resume(struct amdgpu_device *adev) in gmc_v8_0_mc_resume()
220 static int gmc_v8_0_init_microcode(struct amdgpu_device *adev) in gmc_v8_0_init_microcode()
298 static int gmc_v8_0_tonga_mc_load_microcode(struct amdgpu_device *adev) in gmc_v8_0_tonga_mc_load_microcode()
367 static int gmc_v8_0_polaris_mc_load_microcode(struct amdgpu_device *adev) in gmc_v8_0_polaris_mc_load_microcode()
430 static void gmc_v8_0_vram_gtt_location(struct amdgpu_device *adev, in gmc_v8_0_vram_gtt_location()
451 static void gmc_v8_0_mc_program(struct amdgpu_device *adev) in gmc_v8_0_mc_program()
524 static int gmc_v8_0_mc_init(struct amdgpu_device *adev) in gmc_v8_0_mc_init()
638 static int gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v8_0_flush_gpu_tlb_pasid()
[all …]
Dtonga_ih.c60 static void tonga_ih_enable_interrupts(struct amdgpu_device *adev) in tonga_ih_enable_interrupts()
77 static void tonga_ih_disable_interrupts(struct amdgpu_device *adev) in tonga_ih_disable_interrupts()
102 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()
191 static u32 tonga_ih_get_wptr(struct amdgpu_device *adev, in tonga_ih_get_wptr()
233 static void tonga_ih_decode_iv(struct amdgpu_device *adev, in tonga_ih_decode_iv()
264 static void tonga_ih_set_rptr(struct amdgpu_device *adev, in tonga_ih_set_rptr()
278 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_early_init() local
293 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_init() local
309 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_fini() local
[all …]
Dmxgpu_vi.c277 void xgpu_vi_init_golden_registers(struct amdgpu_device *adev) in xgpu_vi_init_golden_registers()
317 static void xgpu_vi_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_vi_mailbox_send_ack()
341 static void xgpu_vi_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_vi_mailbox_set_valid()
351 static void xgpu_vi_mailbox_trans_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_trans_msg()
364 static int xgpu_vi_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_msg()
387 static int xgpu_vi_poll_ack(struct amdgpu_device *adev) in xgpu_vi_poll_ack()
409 static int xgpu_vi_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_vi_poll_msg()
429 static int xgpu_vi_send_access_requests(struct amdgpu_device *adev, in xgpu_vi_send_access_requests()
457 static int xgpu_vi_request_reset(struct amdgpu_device *adev) in xgpu_vi_request_reset()
462 static int xgpu_vi_wait_reset_cmpl(struct amdgpu_device *adev) in xgpu_vi_wait_reset_cmpl()
[all …]
Dgfxhub_v2_1.c76 gfxhub_v2_1_print_l2_protection_fault_status(struct amdgpu_device *adev, in gfxhub_v2_1_print_l2_protection_fault_status()
105 static u64 gfxhub_v2_1_get_fb_location(struct amdgpu_device *adev) in gfxhub_v2_1_get_fb_location()
115 static u64 gfxhub_v2_1_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v2_1_get_mc_fb_offset()
120 static void gfxhub_v2_1_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v2_1_setup_vm_pt_regs()
134 static void gfxhub_v2_1_init_gart_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_gart_aperture_regs()
151 static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_system_aperture_regs()
185 static void gfxhub_v2_1_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_tlb_regs()
205 static void gfxhub_v2_1_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_cache_regs()
256 static void gfxhub_v2_1_enable_system_domain(struct amdgpu_device *adev) in gfxhub_v2_1_enable_system_domain()
268 static void gfxhub_v2_1_disable_identity_aperture(struct amdgpu_device *adev) in gfxhub_v2_1_disable_identity_aperture()
[all …]
Djpeg_v2_5.c57 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_early_init() local
88 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_sw_init() local
139 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_sw_fini() local
158 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_hw_init() local
189 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_hw_fini() local
215 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_suspend() local
236 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v2_5_resume() local
248 static void jpeg_v2_5_disable_clock_gating(struct amdgpu_device* adev, int inst) in jpeg_v2_5_disable_clock_gating()
277 static void jpeg_v2_5_enable_clock_gating(struct amdgpu_device* adev, int inst) in jpeg_v2_5_enable_clock_gating()
297 static int jpeg_v2_5_start(struct amdgpu_device *adev) in jpeg_v2_5_start()
[all …]
Dmmhub_v1_0.c37 static u64 mmhub_v1_0_get_fb_location(struct amdgpu_device *adev) in mmhub_v1_0_get_fb_location()
54 static void mmhub_v1_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in mmhub_v1_0_setup_vm_pt_regs()
68 static void mmhub_v1_0_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_gart_aperture_regs()
85 static void mmhub_v1_0_init_system_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_system_aperture_regs()
136 static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_tlb_regs()
157 static void mmhub_v1_0_init_cache_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_cache_regs()
199 static void mmhub_v1_0_enable_system_domain(struct amdgpu_device *adev) in mmhub_v1_0_enable_system_domain()
211 static void mmhub_v1_0_disable_identity_aperture(struct amdgpu_device *adev) in mmhub_v1_0_disable_identity_aperture()
232 static void mmhub_v1_0_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v1_0_setup_vmid_config()
288 static void mmhub_v1_0_program_invalidation(struct amdgpu_device *adev) in mmhub_v1_0_program_invalidation()
[all …]
Duvd_v5_0.c58 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_get_rptr() local
72 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_get_wptr() local
86 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_set_wptr() local
93 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_early_init() local
105 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_init() local
136 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_fini() local
154 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_init() local
211 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_fini() local
222 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_suspend() local
235 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_resume() local
[all …]
Damdgpu_amdkfd.c65 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe()
92 static void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev, in amdgpu_doorbell_get_kfd_info()
112 void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) in amdgpu_amdkfd_device_init()
172 void amdgpu_amdkfd_device_fini(struct amdgpu_device *adev) in amdgpu_amdkfd_device_fini()
180 void amdgpu_amdkfd_interrupt(struct amdgpu_device *adev, in amdgpu_amdkfd_interrupt()
187 void amdgpu_amdkfd_suspend(struct amdgpu_device *adev, bool run_pm) in amdgpu_amdkfd_suspend()
193 int amdgpu_amdkfd_resume_iommu(struct amdgpu_device *adev) in amdgpu_amdkfd_resume_iommu()
203 int amdgpu_amdkfd_resume(struct amdgpu_device *adev, bool run_pm) in amdgpu_amdkfd_resume()
213 int amdgpu_amdkfd_pre_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_pre_reset()
223 int amdgpu_amdkfd_post_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_post_reset()
[all …]
Dgfxhub_v2_0.c76 gfxhub_v2_0_print_l2_protection_fault_status(struct amdgpu_device *adev, in gfxhub_v2_0_print_l2_protection_fault_status()
105 static u64 gfxhub_v2_0_get_fb_location(struct amdgpu_device *adev) in gfxhub_v2_0_get_fb_location()
115 static u64 gfxhub_v2_0_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v2_0_get_mc_fb_offset()
120 static void gfxhub_v2_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v2_0_setup_vm_pt_regs()
134 static void gfxhub_v2_0_init_gart_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_gart_aperture_regs()
151 static void gfxhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_system_aperture_regs()
187 static void gfxhub_v2_0_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_tlb_regs()
207 static void gfxhub_v2_0_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_cache_regs()
256 static void gfxhub_v2_0_enable_system_domain(struct amdgpu_device *adev) in gfxhub_v2_0_enable_system_domain()
268 static void gfxhub_v2_0_disable_identity_aperture(struct amdgpu_device *adev) in gfxhub_v2_0_disable_identity_aperture()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c71 static u32 kv_convert_vid2_to_vid7(struct amdgpu_device *adev, in kv_convert_vid2_to_vid7()
93 static u32 kv_convert_vid7_to_vid2(struct amdgpu_device *adev, in kv_convert_vid7_to_vid2()
117 static void sumo_take_smu_control(struct amdgpu_device *adev, bool enable) in sumo_take_smu_control()
136 static void sumo_construct_sclk_voltage_mapping_table(struct amdgpu_device *adev, in sumo_construct_sclk_voltage_mapping_table()
158 static void sumo_construct_vid_mapping_table(struct amdgpu_device *adev, in sumo_construct_vid_mapping_table()
377 static struct kv_power_info *kv_get_pi(struct amdgpu_device *adev) in kv_get_pi()
410 static int kv_program_pt_config_registers(struct amdgpu_device *adev, in kv_program_pt_config_registers()
459 static void kv_do_enable_didt(struct amdgpu_device *adev, bool enable) in kv_do_enable_didt()
501 static int kv_enable_didt(struct amdgpu_device *adev, bool enable) in kv_enable_didt()
561 static int kv_enable_smc_cac(struct amdgpu_device *adev, bool enable) in kv_enable_smc_cac()
[all …]

12345678910>>...20