Lines Matching defs:adev

737 static void gfx_v9_0_rlcg_w(struct amdgpu_device *adev, u32 offset, u32 v, u32 flag)  in gfx_v9_0_rlcg_w()
790 static void gfx_v9_0_sriov_wreg(struct amdgpu_device *adev, u32 offset, in gfx_v9_0_sriov_wreg()
847 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v9_0_kiq_map_queues() local
949 static void gfx_v9_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_kiq_pm4_funcs()
954 static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v9_0_init_golden_registers()
1017 static void gfx_v9_0_scratch_init(struct amdgpu_device *adev) in gfx_v9_0_scratch_init()
1060 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_test_ring() local
1097 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_test_ib() local
1152 static void gfx_v9_0_free_microcode(struct amdgpu_device *adev) in gfx_v9_0_free_microcode()
1170 static void gfx_v9_0_init_rlc_ext_microcode(struct amdgpu_device *adev) in gfx_v9_0_init_rlc_ext_microcode()
1191 static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev) in gfx_v9_0_check_fw_write_wait()
1290 static bool is_raven_kicker(struct amdgpu_device *adev) in is_raven_kicker()
1298 static bool check_if_enlarge_doorbell_range(struct amdgpu_device *adev) in check_if_enlarge_doorbell_range()
1308 static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev) in gfx_v9_0_check_if_need_gfxoff()
1343 static int gfx_v9_0_init_cp_gfx_microcode(struct amdgpu_device *adev, in gfx_v9_0_init_cp_gfx_microcode()
1423 static int gfx_v9_0_init_rlc_microcode(struct amdgpu_device *adev, in gfx_v9_0_init_rlc_microcode()
1554 static bool gfx_v9_0_load_mec2_fw_bin_support(struct amdgpu_device *adev) in gfx_v9_0_load_mec2_fw_bin_support()
1564 static int gfx_v9_0_init_cp_compute_microcode(struct amdgpu_device *adev, in gfx_v9_0_init_cp_compute_microcode()
1659 static int gfx_v9_0_init_microcode(struct amdgpu_device *adev) in gfx_v9_0_init_microcode()
1718 static u32 gfx_v9_0_get_csb_size(struct amdgpu_device *adev) in gfx_v9_0_get_csb_size()
1746 static void gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v9_0_get_csb_buffer()
1787 static void gfx_v9_0_init_always_on_cu_mask(struct amdgpu_device *adev) in gfx_v9_0_init_always_on_cu_mask()
1831 static void gfx_v9_0_init_lbpw(struct amdgpu_device *adev) in gfx_v9_0_init_lbpw()
1880 static void gfx_v9_4_init_lbpw(struct amdgpu_device *adev) in gfx_v9_4_init_lbpw()
1929 static void gfx_v9_0_enable_lbpw(struct amdgpu_device *adev, bool enable) in gfx_v9_0_enable_lbpw()
1934 static int gfx_v9_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v9_0_cp_jump_table_num()
1942 static int gfx_v9_0_rlc_init(struct amdgpu_device *adev) in gfx_v9_0_rlc_init()
1984 static void gfx_v9_0_mec_fini(struct amdgpu_device *adev) in gfx_v9_0_mec_fini()
1990 static int gfx_v9_0_mec_init(struct amdgpu_device *adev) in gfx_v9_0_mec_init()
2050 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
2060 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
2075 static void gfx_v9_0_read_wave_data(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint3… in gfx_v9_0_read_wave_data()
2096 static void gfx_v9_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v9_0_read_wave_sgprs()
2105 static void gfx_v9_0_read_wave_vgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v9_0_read_wave_vgprs()
2115 static void gfx_v9_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v9_0_select_me_pipe_q()
2138 static int gfx_v9_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v9_0_gpu_early_init()
2270 static int gfx_v9_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v9_0_compute_ring_init()
2306 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_sw_init() local
2442 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_sw_fini() local
2470 static void gfx_v9_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v9_0_tiling_mode_table_init()
2475 void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, in gfx_v9_0_select_se_sh()
2498 static u32 gfx_v9_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v9_0_get_rb_active_bitmap()
2514 static void gfx_v9_0_setup_rb(struct amdgpu_device *adev) in gfx_v9_0_setup_rb()
2539 static void gfx_v9_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v9_0_init_compute_vmid()
2577 static void gfx_v9_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v9_0_init_gds_vmid()
2595 static void gfx_v9_0_init_sq_config(struct amdgpu_device *adev) in gfx_v9_0_init_sq_config()
2611 static void gfx_v9_0_constants_init(struct amdgpu_device *adev) in gfx_v9_0_constants_init()
2659 static void gfx_v9_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v9_0_wait_for_rlc_serdes()
2697 static void gfx_v9_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v9_0_enable_gui_idle_interrupt()
2715 static void gfx_v9_0_init_csb(struct amdgpu_device *adev) in gfx_v9_0_init_csb()
2764 static int gfx_v9_1_init_rlc_save_restore_list(struct amdgpu_device *adev) in gfx_v9_1_init_rlc_save_restore_list()
2867 static void gfx_v9_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v9_0_enable_save_restore_machine()
2872 static void pwr_10_0_gfxip_control_over_cgpg(struct amdgpu_device *adev, in pwr_10_0_gfxip_control_over_cgpg()
2898 static void gfx_v9_0_init_gfx_power_gating(struct amdgpu_device *adev) in gfx_v9_0_init_gfx_power_gating()
2940 static void gfx_v9_0_enable_sck_slow_down_on_power_up(struct amdgpu_device *adev, in gfx_v9_0_enable_sck_slow_down_on_power_up()
2954 static void gfx_v9_0_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, in gfx_v9_0_enable_sck_slow_down_on_power_down()
2968 static void gfx_v9_0_enable_cp_power_gating(struct amdgpu_device *adev, in gfx_v9_0_enable_cp_power_gating()
2982 static void gfx_v9_0_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_enable_gfx_cg_power_gating()
2995 static void gfx_v9_0_enable_gfx_pipeline_powergating(struct amdgpu_device *adev, in gfx_v9_0_enable_gfx_pipeline_powergating()
3012 static void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_enable_gfx_static_mg_power_gating()
3025 static void gfx_v9_0_enable_gfx_dynamic_mg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_enable_gfx_dynamic_mg_power_gating()
3038 static void gfx_v9_0_init_pg(struct amdgpu_device *adev) in gfx_v9_0_init_pg()
3065 static void gfx_v9_0_rlc_stop(struct amdgpu_device *adev) in gfx_v9_0_rlc_stop()
3072 static void gfx_v9_0_rlc_reset(struct amdgpu_device *adev) in gfx_v9_0_rlc_reset()
3080 static void gfx_v9_0_rlc_start(struct amdgpu_device *adev) in gfx_v9_0_rlc_start()
3112 static int gfx_v9_0_rlc_load_microcode(struct amdgpu_device *adev) in gfx_v9_0_rlc_load_microcode()
3137 static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev) in gfx_v9_0_rlc_resume()
3182 static void gfx_v9_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v9_0_cp_gfx_enable()
3193 static int gfx_v9_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v9_0_cp_gfx_load_microcode()
3250 static int gfx_v9_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v9_0_cp_gfx_start()
3312 static int gfx_v9_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v9_0_cp_gfx_resume()
3382 static void gfx_v9_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v9_0_cp_compute_enable()
3394 static int gfx_v9_0_cp_compute_load_microcode(struct amdgpu_device *adev) in gfx_v9_0_cp_compute_load_microcode()
3440 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_setting() local
3453 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_mqd_set_priority() local
3466 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_mqd_init() local
3615 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_init_register() local
3729 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_fini_register() local
3768 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_init_queue() local
3815 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kcq_init_queue() local
3854 static int gfx_v9_0_kiq_resume(struct amdgpu_device *adev) in gfx_v9_0_kiq_resume()
3877 static int gfx_v9_0_kcq_resume(struct amdgpu_device *adev) in gfx_v9_0_kcq_resume()
3906 static int gfx_v9_0_cp_resume(struct amdgpu_device *adev) in gfx_v9_0_cp_resume()
3958 static void gfx_v9_0_init_tcp_config(struct amdgpu_device *adev) in gfx_v9_0_init_tcp_config()
3976 static void gfx_v9_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v9_0_cp_enable()
3986 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_hw_init() local
4011 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_hw_fini() local
4070 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_is_idle() local
4082 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_wait_for_idle() local
4096 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_soft_reset() local
4155 static uint64_t gfx_v9_0_kiq_read_clock(struct amdgpu_device *adev) in gfx_v9_0_kiq_read_clock()
4229 static uint64_t gfx_v9_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v9_0_get_gpu_clock_counter()
4253 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_gds_switch() local
4512 static int gfx_v9_0_do_edc_gds_workarounds(struct amdgpu_device *adev) in gfx_v9_0_do_edc_gds_workarounds()
4559 static int gfx_v9_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v9_0_do_edc_gpr_workarounds()
4733 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_early_init() local
4753 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_ecc_late_init() local
4794 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_late_init() local
4812 static bool gfx_v9_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v9_0_is_rlc_enabled()
4824 static void gfx_v9_0_set_safe_mode(struct amdgpu_device *adev) in gfx_v9_0_set_safe_mode()
4841 static void gfx_v9_0_unset_safe_mode(struct amdgpu_device *adev) in gfx_v9_0_unset_safe_mode()
4849 static void gfx_v9_0_update_gfx_cg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_update_gfx_cg_power_gating()
4867 static void gfx_v9_0_update_gfx_mg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_update_gfx_mg_power_gating()
4886 static void gfx_v9_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_medium_grain_clock_gating()
4961 static void gfx_v9_0_update_3d_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_3d_clock_gating()
5016 static void gfx_v9_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_coarse_grain_clock_gating()
5068 static int gfx_v9_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_gfx_clock_gating()
5093 static void gfx_v9_0_update_spm_vmid(struct amdgpu_device *adev, unsigned vmid) in gfx_v9_0_update_spm_vmid()
5112 static bool gfx_v9_0_check_rlcg_range(struct amdgpu_device *adev, in gfx_v9_0_check_rlcg_range()
5134 static bool gfx_v9_0_is_rlcg_access_range(struct amdgpu_device *adev, u32 offset) in gfx_v9_0_is_rlcg_access_range()
5161 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_set_powergating_state() local
5205 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_set_clockgating_state() local
5229 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_get_clockgating_state() local
5278 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_get_wptr_gfx() local
5294 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_set_wptr_gfx() local
5308 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_hdp_flush() local
5480 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_set_wptr_compute() local
5494 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_fence_kiq() local
5634 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_rreg() local
5682 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_reg_write_reg_wait() local
5696 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_soft_recovery() local
5706 static void gfx_v9_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v9_0_set_gfx_eop_interrupt_state()
5721 static void gfx_v9_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v9_0_set_compute_eop_interrupt_state()
5774 static int gfx_v9_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v9_0_set_priv_reg_fault_state()
5793 static int gfx_v9_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v9_0_set_priv_inst_fault_state()
5820 static int gfx_v9_0_set_cp_ecc_error_state(struct amdgpu_device *adev, in gfx_v9_0_set_cp_ecc_error_state()
5851 static int gfx_v9_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v9_0_set_eop_interrupt_state()
5890 static int gfx_v9_0_eop_irq(struct amdgpu_device *adev, in gfx_v9_0_eop_irq()
5922 static void gfx_v9_0_fault(struct amdgpu_device *adev, in gfx_v9_0_fault()
5949 static int gfx_v9_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v9_0_priv_reg_irq()
5958 static int gfx_v9_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v9_0_priv_inst_irq()
6409 static int gfx_v9_0_ras_error_inject(struct amdgpu_device *adev, in gfx_v9_0_ras_error_inject()
6526 static int gfx_v9_0_query_utc_edc_status(struct amdgpu_device *adev, in gfx_v9_0_query_utc_edc_status()
6623 static int gfx_v9_0_ras_error_count(struct amdgpu_device *adev, in gfx_v9_0_ras_error_count()
6665 static void gfx_v9_0_reset_ras_error_count(struct amdgpu_device *adev) in gfx_v9_0_reset_ras_error_count()
6720 static int gfx_v9_0_query_ras_error_count(struct amdgpu_device *adev, in gfx_v9_0_query_ras_error_count()
6784 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_emit_wave_limit_cs() local
6814 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_emit_wave_limit() local
6979 static void gfx_v9_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_ring_funcs()
7013 static void gfx_v9_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_irq_funcs()
7028 static void gfx_v9_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_rlc_funcs()
7045 static void gfx_v9_0_set_gds_init(struct amdgpu_device *adev) in gfx_v9_0_set_gds_init()
7100 static void gfx_v9_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v9_0_set_user_cu_inactive_bitmap()
7114 static u32 gfx_v9_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v9_0_get_cu_active_bitmap()
7129 static int gfx_v9_0_get_cu_info(struct amdgpu_device *adev, in gfx_v9_0_get_cu_info()