Lines Matching defs:adev
355 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v12_0_kiq_unmap_queues() local
424 static void gfx_v12_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_kiq_pm4_funcs()
453 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_test_ring() local
495 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_test_ib() local
555 static void gfx_v12_0_free_microcode(struct amdgpu_device *adev) in gfx_v12_0_free_microcode()
565 static int gfx_v12_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v12_0_init_toc_microcode()
588 static int gfx_v12_0_init_microcode(struct amdgpu_device *adev) in gfx_v12_0_init_microcode()
669 static u32 gfx_v12_0_get_csb_size(struct amdgpu_device *adev) in gfx_v12_0_get_csb_size()
688 static void gfx_v12_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v12_0_get_csb_buffer()
719 static void gfx_v12_0_rlc_fini(struct amdgpu_device *adev) in gfx_v12_0_rlc_fini()
732 static void gfx_v12_0_init_rlcg_reg_access_ctrl(struct amdgpu_device *adev) in gfx_v12_0_init_rlcg_reg_access_ctrl()
747 static int gfx_v12_0_rlc_init(struct amdgpu_device *adev) in gfx_v12_0_rlc_init()
770 static void gfx_v12_0_mec_fini(struct amdgpu_device *adev) in gfx_v12_0_mec_fini()
777 static void gfx_v12_0_me_init(struct amdgpu_device *adev) in gfx_v12_0_me_init()
784 static int gfx_v12_0_mec_init(struct amdgpu_device *adev) in gfx_v12_0_mec_init()
817 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t wave, uint32_t address) in wave_read_ind()
825 static void wave_read_regs(struct amdgpu_device *adev, uint32_t wave, in wave_read_regs()
838 static void gfx_v12_0_read_wave_data(struct amdgpu_device *adev, in gfx_v12_0_read_wave_data()
875 static void gfx_v12_0_read_wave_sgprs(struct amdgpu_device *adev, in gfx_v12_0_read_wave_sgprs()
887 static void gfx_v12_0_read_wave_vgprs(struct amdgpu_device *adev, in gfx_v12_0_read_wave_vgprs()
898 static void gfx_v12_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v12_0_select_me_pipe_q()
910 static void gfx_v12_0_get_gfx_shadow_info_nocheck(struct amdgpu_device *adev, in gfx_v12_0_get_gfx_shadow_info_nocheck()
919 static int gfx_v12_0_get_gfx_shadow_info(struct amdgpu_device *adev, in gfx_v12_0_get_gfx_shadow_info()
943 static int gfx_v12_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v12_0_gpu_early_init()
963 static int gfx_v12_0_gfx_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v12_0_gfx_ring_init()
994 static int gfx_v12_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v12_0_compute_ring_init()
1043 static void gfx_v12_0_parse_rlc_toc(struct amdgpu_device *adev, void *rlc_toc) in gfx_v12_0_parse_rlc_toc()
1058 static uint32_t gfx_v12_0_calc_toc_total_size(struct amdgpu_device *adev) in gfx_v12_0_calc_toc_total_size()
1078 static int gfx_v12_0_rlc_autoload_buffer_init(struct amdgpu_device *adev) in gfx_v12_0_rlc_autoload_buffer_init()
1099 static void gfx_v12_0_rlc_backdoor_autoload_copy_ucode(struct amdgpu_device *adev, in gfx_v12_0_rlc_backdoor_autoload_copy_ucode()
1127 gfx_v12_0_rlc_backdoor_autoload_copy_toc_ucode(struct amdgpu_device *adev) in gfx_v12_0_rlc_backdoor_autoload_copy_toc_ucode()
1144 gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode(struct amdgpu_device *adev) in gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode()
1256 gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode(struct amdgpu_device *adev) in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()
1273 gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode(struct amdgpu_device *adev) in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
1306 static int gfx_v12_0_rlc_backdoor_autoload_enable(struct amdgpu_device *adev) in gfx_v12_0_rlc_backdoor_autoload_enable()
1351 static void gfx_v12_0_alloc_ip_dump(struct amdgpu_device *adev) in gfx_v12_0_alloc_ip_dump()
1397 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_sw_init() local
1597 static void gfx_v12_0_pfp_fini(struct amdgpu_device *adev) in gfx_v12_0_pfp_fini()
1608 static void gfx_v12_0_me_fini(struct amdgpu_device *adev) in gfx_v12_0_me_fini()
1619 static void gfx_v12_0_rlc_autoload_buffer_fini(struct amdgpu_device *adev) in gfx_v12_0_rlc_autoload_buffer_fini()
1629 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_sw_fini() local
1662 static void gfx_v12_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, in gfx_v12_0_select_se_sh()
1689 static u32 gfx_v12_0_get_sa_active_bitmap(struct amdgpu_device *adev) in gfx_v12_0_get_sa_active_bitmap()
1707 static u32 gfx_v12_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v12_0_get_rb_active_bitmap()
1726 static void gfx_v12_0_setup_rb(struct amdgpu_device *adev) in gfx_v12_0_setup_rb()
1761 static void gfx_v12_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v12_0_init_compute_vmid()
1792 static void gfx_v12_0_tcp_harvest(struct amdgpu_device *adev) in gfx_v12_0_tcp_harvest()
1797 static void gfx_v12_0_get_tcc_info(struct amdgpu_device *adev) in gfx_v12_0_get_tcc_info()
1801 static void gfx_v12_0_constants_init(struct amdgpu_device *adev) in gfx_v12_0_constants_init()
1836 static u32 gfx_v12_0_get_cpg_int_cntl(struct amdgpu_device *adev, in gfx_v12_0_get_cpg_int_cntl()
1850 static u32 gfx_v12_0_get_cpc_int_cntl(struct amdgpu_device *adev, in gfx_v12_0_get_cpc_int_cntl()
1871 static void gfx_v12_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v12_0_enable_gui_idle_interrupt()
1900 static int gfx_v12_0_init_csb(struct amdgpu_device *adev) in gfx_v12_0_init_csb()
1913 static void gfx_v12_0_rlc_stop(struct amdgpu_device *adev) in gfx_v12_0_rlc_stop()
1921 static void gfx_v12_0_rlc_reset(struct amdgpu_device *adev) in gfx_v12_0_rlc_reset()
1929 static void gfx_v12_0_rlc_smu_handshake_cntl(struct amdgpu_device *adev, in gfx_v12_0_rlc_smu_handshake_cntl()
1951 static void gfx_v12_0_rlc_start(struct amdgpu_device *adev) in gfx_v12_0_rlc_start()
1962 static void gfx_v12_0_rlc_enable_srm(struct amdgpu_device *adev) in gfx_v12_0_rlc_enable_srm()
1973 static void gfx_v12_0_load_rlcg_microcode(struct amdgpu_device *adev) in gfx_v12_0_load_rlcg_microcode()
1994 static void gfx_v12_0_load_rlc_iram_dram_microcode(struct amdgpu_device *adev) in gfx_v12_0_load_rlc_iram_dram_microcode()
2038 static int gfx_v12_0_rlc_load_microcode(struct amdgpu_device *adev) in gfx_v12_0_rlc_load_microcode()
2066 static int gfx_v12_0_rlc_resume(struct amdgpu_device *adev) in gfx_v12_0_rlc_resume()
2104 static void gfx_v12_0_config_gfx_rs64(struct amdgpu_device *adev) in gfx_v12_0_config_gfx_rs64()
2189 static void gfx_v12_0_set_pfp_ucode_start_addr(struct amdgpu_device *adev) in gfx_v12_0_set_pfp_ucode_start_addr()
2231 static void gfx_v12_0_set_me_ucode_start_addr(struct amdgpu_device *adev) in gfx_v12_0_set_me_ucode_start_addr()
2273 static void gfx_v12_0_set_mec_ucode_start_addr(struct amdgpu_device *adev) in gfx_v12_0_set_mec_ucode_start_addr()
2293 static int gfx_v12_0_wait_for_rlc_autoload_complete(struct amdgpu_device *adev) in gfx_v12_0_wait_for_rlc_autoload_complete()
2327 static int gfx_v12_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v12_0_cp_gfx_enable()
2348 static int gfx_v12_0_cp_gfx_load_pfp_microcode_rs64(struct amdgpu_device *adev) in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64()
2492 static int gfx_v12_0_cp_gfx_load_me_microcode_rs64(struct amdgpu_device *adev) in gfx_v12_0_cp_gfx_load_me_microcode_rs64()
2637 static int gfx_v12_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v12_0_cp_gfx_load_microcode()
2661 static int gfx_v12_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v12_0_cp_gfx_start()
2674 static void gfx_v12_0_cp_gfx_switch_pipe(struct amdgpu_device *adev, in gfx_v12_0_cp_gfx_switch_pipe()
2685 static void gfx_v12_0_cp_gfx_set_doorbell(struct amdgpu_device *adev, in gfx_v12_0_cp_gfx_set_doorbell()
2710 static int gfx_v12_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v12_0_cp_gfx_resume()
2773 static void gfx_v12_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v12_0_cp_compute_enable()
2805 static int gfx_v12_0_cp_compute_load_microcode_rs64(struct amdgpu_device *adev) in gfx_v12_0_cp_compute_load_microcode_rs64()
2940 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_kiq_setting() local
2949 static void gfx_v12_0_cp_set_doorbell_range(struct amdgpu_device *adev) in gfx_v12_0_cp_set_doorbell_range()
2964 static int gfx_v12_0_gfx_mqd_init(struct amdgpu_device *adev, void *m, in gfx_v12_0_gfx_mqd_init()
3062 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_kgq_init_queue() local
3088 static int gfx_v12_0_cp_async_gfx_ring_resume(struct amdgpu_device *adev) in gfx_v12_0_cp_async_gfx_ring_resume()
3105 static int gfx_v12_0_compute_mqd_init(struct amdgpu_device *adev, void *m, in gfx_v12_0_compute_mqd_init()
3242 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_kiq_init_register() local
3352 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_kiq_init_queue() local
3392 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_kcq_init_queue() local
3419 static int gfx_v12_0_kiq_resume(struct amdgpu_device *adev) in gfx_v12_0_kiq_resume()
3426 static int gfx_v12_0_kcq_resume(struct amdgpu_device *adev) in gfx_v12_0_kcq_resume()
3442 static int gfx_v12_0_cp_resume(struct amdgpu_device *adev) in gfx_v12_0_cp_resume()
3506 static void gfx_v12_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v12_0_cp_enable()
3512 static int gfx_v12_0_gfxhub_enable(struct amdgpu_device *adev) in gfx_v12_0_gfxhub_enable()
3534 static int get_gb_addr_config(struct amdgpu_device *adev) in get_gb_addr_config()
3570 static void gfx_v12_0_disable_gpa_mode(struct amdgpu_device *adev) in gfx_v12_0_disable_gpa_mode()
3583 static void gfx_v12_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v12_0_init_golden_registers()
3608 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_hw_init() local
3695 static int gfx_v12_0_set_userq_eop_interrupts(struct amdgpu_device *adev, in gfx_v12_0_set_userq_eop_interrupts()
3740 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_hw_fini() local
3793 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_is_idle() local
3806 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_wait_for_idle() local
3820 static uint64_t gfx_v12_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v12_0_get_gpu_clock_counter()
3835 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_early_init() local
3879 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_late_init() local
3901 static bool gfx_v12_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v12_0_is_rlc_enabled()
3910 static void gfx_v12_0_set_safe_mode(struct amdgpu_device *adev, in gfx_v12_0_set_safe_mode()
3930 static void gfx_v12_0_unset_safe_mode(struct amdgpu_device *adev, in gfx_v12_0_unset_safe_mode()
3936 static void gfx_v12_0_update_perf_clk(struct amdgpu_device *adev, in gfx_v12_0_update_perf_clk()
3955 static void gfx_v12_0_update_spm_vmid(struct amdgpu_device *adev, in gfx_v12_0_update_spm_vmid()
4013 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_set_powergating_state() local
4031 static void gfx_v12_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v12_0_update_coarse_grain_clock_gating()
4148 static void gfx_v12_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v12_0_update_medium_grain_clock_gating()
4182 static void gfx_v12_0_update_repeater_fgcg(struct amdgpu_device *adev, in gfx_v12_0_update_repeater_fgcg()
4203 static void gfx_v12_0_update_sram_fgcg(struct amdgpu_device *adev, in gfx_v12_0_update_sram_fgcg()
4222 static int gfx_v12_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v12_0_update_gfx_clock_gating()
4253 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_set_clockgating_state() local
4273 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_0_get_clockgating_state() local
4320 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_get_wptr_gfx() local
4336 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_set_wptr_gfx() local
4371 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_set_wptr_compute() local
4385 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_emit_hdp_flush() local
4525 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_emit_fence_kiq() local
4589 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_preempt_ib() local
4649 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_emit_rreg() local
4704 gfx_v12_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v12_0_set_gfx_eop_interrupt_state()
4746 static void gfx_v12_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v12_0_set_compute_eop_interrupt_state()
4797 static int gfx_v12_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v12_0_set_eop_interrupt_state()
4827 static int gfx_v12_0_eop_irq(struct amdgpu_device *adev, in gfx_v12_0_eop_irq()
4880 static int gfx_v12_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v12_0_set_priv_reg_fault_state()
4926 static int gfx_v12_0_set_bad_op_fault_state(struct amdgpu_device *adev, in gfx_v12_0_set_bad_op_fault_state()
4971 static int gfx_v12_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v12_0_set_priv_inst_fault_state()
5003 static void gfx_v12_0_handle_priv_fault(struct amdgpu_device *adev, in gfx_v12_0_handle_priv_fault()
5040 static int gfx_v12_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v12_0_priv_reg_irq()
5049 static int gfx_v12_0_bad_op_irq(struct amdgpu_device *adev, in gfx_v12_0_bad_op_irq()
5058 static int gfx_v12_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v12_0_priv_inst_irq()
5114 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_ip_print() local
5178 struct amdgpu_device *adev = ip_block->adev; in gfx_v12_ip_dump() local
5242 static bool gfx_v12_pipe_reset_support(struct amdgpu_device *adev) in gfx_v12_pipe_reset_support()
5251 struct amdgpu_device *adev = ring->adev; in gfx_v12_reset_gfx_pipe() local
5309 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_reset_kgq() local
5339 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_reset_compute_pipe() local
5424 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_reset_kcq() local
5600 static void gfx_v12_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_ring_funcs()
5633 static void gfx_v12_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_irq_funcs()
5648 static void gfx_v12_0_set_imu_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_imu_funcs()
5658 static void gfx_v12_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_rlc_funcs()
5663 static void gfx_v12_0_set_mqd_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_mqd_funcs()
5677 static void gfx_v12_0_set_user_wgp_inactive_bitmap_per_sh(struct amdgpu_device *adev, in gfx_v12_0_set_user_wgp_inactive_bitmap_per_sh()
5691 static u32 gfx_v12_0_get_wgp_active_bitmap_per_sh(struct amdgpu_device *adev) in gfx_v12_0_get_wgp_active_bitmap_per_sh()
5706 static u32 gfx_v12_0_get_cu_active_bitmap_per_sh(struct amdgpu_device *adev) in gfx_v12_0_get_cu_active_bitmap_per_sh()
5724 static int gfx_v12_0_get_cu_info(struct amdgpu_device *adev, in gfx_v12_0_get_cu_info()