Lines Matching defs:adev
734 static void gfx_v9_0_rlcg_wreg(struct amdgpu_device *adev, u32 offset, u32 v) in gfx_v9_0_rlcg_wreg()
828 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v9_0_kiq_map_queues() local
930 static void gfx_v9_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_kiq_pm4_funcs()
935 static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v9_0_init_golden_registers()
993 static void gfx_v9_0_scratch_init(struct amdgpu_device *adev) in gfx_v9_0_scratch_init()
1036 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_test_ring() local
1073 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_test_ib() local
1128 static void gfx_v9_0_free_microcode(struct amdgpu_device *adev) in gfx_v9_0_free_microcode()
1146 static void gfx_v9_0_init_rlc_ext_microcode(struct amdgpu_device *adev) in gfx_v9_0_init_rlc_ext_microcode()
1167 static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev) in gfx_v9_0_check_fw_write_wait()
1266 static bool is_raven_kicker(struct amdgpu_device *adev) in is_raven_kicker()
1274 static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev) in gfx_v9_0_check_if_need_gfxoff()
1309 static int gfx_v9_0_init_cp_gfx_microcode(struct amdgpu_device *adev, in gfx_v9_0_init_cp_gfx_microcode()
1389 static int gfx_v9_0_init_rlc_microcode(struct amdgpu_device *adev, in gfx_v9_0_init_rlc_microcode()
1520 static int gfx_v9_0_init_cp_compute_microcode(struct amdgpu_device *adev, in gfx_v9_0_init_cp_compute_microcode()
1611 static int gfx_v9_0_init_microcode(struct amdgpu_device *adev) in gfx_v9_0_init_microcode()
1667 static u32 gfx_v9_0_get_csb_size(struct amdgpu_device *adev) in gfx_v9_0_get_csb_size()
1695 static void gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v9_0_get_csb_buffer()
1736 static void gfx_v9_0_init_always_on_cu_mask(struct amdgpu_device *adev) in gfx_v9_0_init_always_on_cu_mask()
1780 static void gfx_v9_0_init_lbpw(struct amdgpu_device *adev) in gfx_v9_0_init_lbpw()
1829 static void gfx_v9_4_init_lbpw(struct amdgpu_device *adev) in gfx_v9_4_init_lbpw()
1878 static void gfx_v9_0_enable_lbpw(struct amdgpu_device *adev, bool enable) in gfx_v9_0_enable_lbpw()
1883 static int gfx_v9_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v9_0_cp_jump_table_num()
1888 static int gfx_v9_0_rlc_init(struct amdgpu_device *adev) in gfx_v9_0_rlc_init()
1930 static void gfx_v9_0_mec_fini(struct amdgpu_device *adev) in gfx_v9_0_mec_fini()
1936 static int gfx_v9_0_mec_init(struct amdgpu_device *adev) in gfx_v9_0_mec_init()
1996 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
2006 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
2021 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()
2041 static void gfx_v9_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v9_0_read_wave_sgprs()
2050 static void gfx_v9_0_read_wave_vgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v9_0_read_wave_vgprs()
2060 static void gfx_v9_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v9_0_select_me_pipe_q()
2091 static int gfx_v9_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v9_0_gpu_early_init()
2207 static int gfx_v9_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v9_0_compute_ring_init()
2243 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_sw_init() local
2379 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_sw_fini() local
2405 static void gfx_v9_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v9_0_tiling_mode_table_init()
2410 void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, in gfx_v9_0_select_se_sh()
2433 static u32 gfx_v9_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v9_0_get_rb_active_bitmap()
2449 static void gfx_v9_0_setup_rb(struct amdgpu_device *adev) in gfx_v9_0_setup_rb()
2474 static void gfx_v9_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v9_0_init_compute_vmid()
2512 static void gfx_v9_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v9_0_init_gds_vmid()
2530 static void gfx_v9_0_init_sq_config(struct amdgpu_device *adev) in gfx_v9_0_init_sq_config()
2546 static void gfx_v9_0_constants_init(struct amdgpu_device *adev) in gfx_v9_0_constants_init()
2594 static void gfx_v9_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v9_0_wait_for_rlc_serdes()
2632 static void gfx_v9_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v9_0_enable_gui_idle_interrupt()
2645 static void gfx_v9_0_init_csb(struct amdgpu_device *adev) in gfx_v9_0_init_csb()
2694 static int gfx_v9_1_init_rlc_save_restore_list(struct amdgpu_device *adev) in gfx_v9_1_init_rlc_save_restore_list()
2797 static void gfx_v9_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v9_0_enable_save_restore_machine()
2802 static void pwr_10_0_gfxip_control_over_cgpg(struct amdgpu_device *adev, in pwr_10_0_gfxip_control_over_cgpg()
2828 static void gfx_v9_0_init_gfx_power_gating(struct amdgpu_device *adev) in gfx_v9_0_init_gfx_power_gating()
2870 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()
2884 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()
2898 static void gfx_v9_0_enable_cp_power_gating(struct amdgpu_device *adev, in gfx_v9_0_enable_cp_power_gating()
2912 static void gfx_v9_0_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_enable_gfx_cg_power_gating()
2925 static void gfx_v9_0_enable_gfx_pipeline_powergating(struct amdgpu_device *adev, in gfx_v9_0_enable_gfx_pipeline_powergating()
2942 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()
2955 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()
2968 static void gfx_v9_0_init_pg(struct amdgpu_device *adev) in gfx_v9_0_init_pg()
2995 void gfx_v9_0_rlc_stop(struct amdgpu_device *adev) in gfx_v9_0_rlc_stop()
3002 static void gfx_v9_0_rlc_reset(struct amdgpu_device *adev) in gfx_v9_0_rlc_reset()
3010 static void gfx_v9_0_rlc_start(struct amdgpu_device *adev) in gfx_v9_0_rlc_start()
3042 static int gfx_v9_0_rlc_load_microcode(struct amdgpu_device *adev) in gfx_v9_0_rlc_load_microcode()
3067 static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev) in gfx_v9_0_rlc_resume()
3112 static void gfx_v9_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v9_0_cp_gfx_enable()
3123 static int gfx_v9_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v9_0_cp_gfx_load_microcode()
3180 static int gfx_v9_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v9_0_cp_gfx_start()
3242 static int gfx_v9_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v9_0_cp_gfx_resume()
3312 static void gfx_v9_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v9_0_cp_compute_enable()
3324 static int gfx_v9_0_cp_compute_load_microcode(struct amdgpu_device *adev) in gfx_v9_0_cp_compute_load_microcode()
3370 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_setting() local
3383 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_mqd_set_priority() local
3396 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_mqd_init() local
3545 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_init_register() local
3650 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_fini_register() local
3689 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kiq_init_queue() local
3729 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_kcq_init_queue() local
3761 static int gfx_v9_0_kiq_resume(struct amdgpu_device *adev) in gfx_v9_0_kiq_resume()
3784 static int gfx_v9_0_kcq_resume(struct amdgpu_device *adev) in gfx_v9_0_kcq_resume()
3813 static int gfx_v9_0_cp_resume(struct amdgpu_device *adev) in gfx_v9_0_cp_resume()
3865 static void gfx_v9_0_init_tcp_config(struct amdgpu_device *adev) in gfx_v9_0_init_tcp_config()
3882 static void gfx_v9_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v9_0_cp_enable()
3892 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_hw_init() local
3914 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_hw_fini() local
3967 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_is_idle() local
3979 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_wait_for_idle() local
3993 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_soft_reset() local
4052 static uint64_t gfx_v9_0_kiq_read_clock(struct amdgpu_device *adev) in gfx_v9_0_kiq_read_clock()
4126 static uint64_t gfx_v9_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v9_0_get_gpu_clock_counter()
4150 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_gds_switch() local
4409 static int gfx_v9_0_do_edc_gds_workarounds(struct amdgpu_device *adev) in gfx_v9_0_do_edc_gds_workarounds()
4456 static int gfx_v9_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v9_0_do_edc_gpr_workarounds()
4630 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_early_init() local
4648 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_ecc_late_init() local
4681 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_late_init() local
4699 static bool gfx_v9_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v9_0_is_rlc_enabled()
4711 static void gfx_v9_0_set_safe_mode(struct amdgpu_device *adev) in gfx_v9_0_set_safe_mode()
4728 static void gfx_v9_0_unset_safe_mode(struct amdgpu_device *adev) in gfx_v9_0_unset_safe_mode()
4736 static void gfx_v9_0_update_gfx_cg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_update_gfx_cg_power_gating()
4754 static void gfx_v9_0_update_gfx_mg_power_gating(struct amdgpu_device *adev, in gfx_v9_0_update_gfx_mg_power_gating()
4773 static void gfx_v9_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_medium_grain_clock_gating()
4848 static void gfx_v9_0_update_3d_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_3d_clock_gating()
4899 static void gfx_v9_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_coarse_grain_clock_gating()
4951 static int gfx_v9_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v9_0_update_gfx_clock_gating()
4976 static void gfx_v9_0_update_spm_vmid(struct amdgpu_device *adev, unsigned vmid) in gfx_v9_0_update_spm_vmid()
4995 static bool gfx_v9_0_check_rlcg_range(struct amdgpu_device *adev, in gfx_v9_0_check_rlcg_range()
5017 static bool gfx_v9_0_is_rlcg_access_range(struct amdgpu_device *adev, u32 offset) in gfx_v9_0_is_rlcg_access_range()
5044 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_set_powergating_state() local
5088 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_set_clockgating_state() local
5111 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v9_0_get_clockgating_state() local
5160 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_get_wptr_gfx() local
5176 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_set_wptr_gfx() local
5190 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_hdp_flush() local
5362 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_set_wptr_compute() local
5376 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_fence_kiq() local
5516 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_rreg() local
5564 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_emit_reg_write_reg_wait() local
5578 struct amdgpu_device *adev = ring->adev; in gfx_v9_0_ring_soft_recovery() local
5588 static void gfx_v9_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v9_0_set_gfx_eop_interrupt_state()
5603 static void gfx_v9_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v9_0_set_compute_eop_interrupt_state()
5656 static int gfx_v9_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v9_0_set_priv_reg_fault_state()
5675 static int gfx_v9_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v9_0_set_priv_inst_fault_state()
5701 static int gfx_v9_0_set_cp_ecc_error_state(struct amdgpu_device *adev, in gfx_v9_0_set_cp_ecc_error_state()
5732 static int gfx_v9_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v9_0_set_eop_interrupt_state()
5771 static int gfx_v9_0_eop_irq(struct amdgpu_device *adev, in gfx_v9_0_eop_irq()
5803 static void gfx_v9_0_fault(struct amdgpu_device *adev, in gfx_v9_0_fault()
5830 static int gfx_v9_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v9_0_priv_reg_irq()
5839 static int gfx_v9_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v9_0_priv_inst_irq()
6290 static int gfx_v9_0_ras_error_inject(struct amdgpu_device *adev, in gfx_v9_0_ras_error_inject()
6407 static int gfx_v9_0_query_utc_edc_status(struct amdgpu_device *adev, in gfx_v9_0_query_utc_edc_status()
6504 static int gfx_v9_0_ras_error_count(struct amdgpu_device *adev, in gfx_v9_0_ras_error_count()
6546 static void gfx_v9_0_reset_ras_error_count(struct amdgpu_device *adev) in gfx_v9_0_reset_ras_error_count()
6601 static int gfx_v9_0_query_ras_error_count(struct amdgpu_device *adev, in gfx_v9_0_query_ras_error_count()
6798 static void gfx_v9_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_ring_funcs()
6832 static void gfx_v9_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_irq_funcs()
6847 static void gfx_v9_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v9_0_set_rlc_funcs()
6863 static void gfx_v9_0_set_gds_init(struct amdgpu_device *adev) in gfx_v9_0_set_gds_init()
6908 static void gfx_v9_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v9_0_set_user_cu_inactive_bitmap()
6922 static u32 gfx_v9_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v9_0_get_cu_active_bitmap()
6937 static int gfx_v9_0_get_cu_info(struct amdgpu_device *adev, in gfx_v9_0_get_cu_info()