Lines Matching defs:adev

192 	struct amdgpu_device *adev = kiq_ring->adev;  in gfx11_kiq_unmap_queues()  local
261 static void gfx_v11_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_kiq_pm4_funcs()
266 static void gfx_v11_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v11_0_init_golden_registers()
315 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ring() local
356 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ib() local
433 static void gfx_v11_0_free_microcode(struct amdgpu_device *adev) in gfx_v11_0_free_microcode()
443 static int gfx_v11_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v11_0_init_toc_microcode()
466 static int gfx_v11_0_init_microcode(struct amdgpu_device *adev) in gfx_v11_0_init_microcode()
553 static u32 gfx_v11_0_get_csb_size(struct amdgpu_device *adev) in gfx_v11_0_get_csb_size()
583 static void gfx_v11_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v11_0_get_csb_buffer()
631 static void gfx_v11_0_rlc_fini(struct amdgpu_device *adev) in gfx_v11_0_rlc_fini()
644 static void gfx_v11_0_init_rlcg_reg_access_ctrl(struct amdgpu_device *adev) in gfx_v11_0_init_rlcg_reg_access_ctrl()
659 static int gfx_v11_0_rlc_init(struct amdgpu_device *adev) in gfx_v11_0_rlc_init()
682 static void gfx_v11_0_mec_fini(struct amdgpu_device *adev) in gfx_v11_0_mec_fini()
689 static void gfx_v11_0_me_init(struct amdgpu_device *adev) in gfx_v11_0_me_init()
696 static int gfx_v11_0_mec_init(struct amdgpu_device *adev) in gfx_v11_0_mec_init()
729 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t wave, uint32_t address) in wave_read_ind()
737 static void wave_read_regs(struct amdgpu_device *adev, uint32_t wave, in wave_read_regs()
750 static void gfx_v11_0_read_wave_data(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint… in gfx_v11_0_read_wave_data()
776 static void gfx_v11_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v11_0_read_wave_sgprs()
787 static void gfx_v11_0_read_wave_vgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v11_0_read_wave_vgprs()
797 static void gfx_v11_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v11_0_select_me_pipe_q()
813 static int gfx_v11_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v11_0_gpu_early_init()
849 static int gfx_v11_0_gfx_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v11_0_gfx_ring_init()
879 static int gfx_v11_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v11_0_compute_ring_init()
921 static void gfx_v11_0_parse_rlc_toc(struct amdgpu_device *adev, void *rlc_toc) in gfx_v11_0_parse_rlc_toc()
935 static uint32_t gfx_v11_0_calc_toc_total_size(struct amdgpu_device *adev) in gfx_v11_0_calc_toc_total_size()
953 static int gfx_v11_0_rlc_autoload_buffer_init(struct amdgpu_device *adev) in gfx_v11_0_rlc_autoload_buffer_init()
975 static void gfx_v11_0_rlc_backdoor_autoload_copy_ucode(struct amdgpu_device *adev, in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
1006 static void gfx_v11_0_rlc_backdoor_autoload_copy_toc_ucode(struct amdgpu_device *adev, in gfx_v11_0_rlc_backdoor_autoload_copy_toc_ucode()
1027 static void gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode(struct amdgpu_device *adev, in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1154 static void gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode(struct amdgpu_device *adev, in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1178 static void gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode(struct amdgpu_device *adev, in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1214 static int gfx_v11_0_rlc_backdoor_autoload_enable(struct amdgpu_device *adev) in gfx_v11_0_rlc_backdoor_autoload_enable()
1256 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_sw_init() local
1420 static void gfx_v11_0_pfp_fini(struct amdgpu_device *adev) in gfx_v11_0_pfp_fini()
1431 static void gfx_v11_0_me_fini(struct amdgpu_device *adev) in gfx_v11_0_me_fini()
1442 static void gfx_v11_0_rlc_autoload_buffer_fini(struct amdgpu_device *adev) in gfx_v11_0_rlc_autoload_buffer_fini()
1452 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_sw_fini() local
1479 static void gfx_v11_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, in gfx_v11_0_select_se_sh()
1506 static u32 gfx_v11_0_get_sa_active_bitmap(struct amdgpu_device *adev) in gfx_v11_0_get_sa_active_bitmap()
1524 static u32 gfx_v11_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v11_0_get_rb_active_bitmap()
1543 static void gfx_v11_0_setup_rb(struct amdgpu_device *adev) in gfx_v11_0_setup_rb()
1576 static void gfx_v11_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v11_0_init_compute_vmid()
1615 static void gfx_v11_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v11_0_init_gds_vmid()
1633 static void gfx_v11_0_tcp_harvest(struct amdgpu_device *adev) in gfx_v11_0_tcp_harvest()
1638 static void gfx_v11_0_get_tcc_info(struct amdgpu_device *adev) in gfx_v11_0_get_tcc_info()
1649 static void gfx_v11_0_constants_init(struct amdgpu_device *adev) in gfx_v11_0_constants_init()
1690 static void gfx_v11_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v11_0_enable_gui_idle_interrupt()
1712 static int gfx_v11_0_init_csb(struct amdgpu_device *adev) in gfx_v11_0_init_csb()
1725 static void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) in gfx_v11_0_rlc_stop()
1733 static void gfx_v11_0_rlc_reset(struct amdgpu_device *adev) in gfx_v11_0_rlc_reset()
1741 static void gfx_v11_0_rlc_smu_handshake_cntl(struct amdgpu_device *adev, in gfx_v11_0_rlc_smu_handshake_cntl()
1763 static void gfx_v11_0_rlc_start(struct amdgpu_device *adev) in gfx_v11_0_rlc_start()
1774 static void gfx_v11_0_rlc_enable_srm(struct amdgpu_device *adev) in gfx_v11_0_rlc_enable_srm()
1785 static void gfx_v11_0_load_rlcg_microcode(struct amdgpu_device *adev) in gfx_v11_0_load_rlcg_microcode()
1806 static void gfx_v11_0_load_rlc_iram_dram_microcode(struct amdgpu_device *adev) in gfx_v11_0_load_rlc_iram_dram_microcode()
1850 static void gfx_v11_0_load_rlcp_rlcv_microcode(struct amdgpu_device *adev) in gfx_v11_0_load_rlcp_rlcv_microcode()
1898 static int gfx_v11_0_rlc_load_microcode(struct amdgpu_device *adev) in gfx_v11_0_rlc_load_microcode()
1928 static int gfx_v11_0_rlc_resume(struct amdgpu_device *adev) in gfx_v11_0_rlc_resume()
1965 static int gfx_v11_0_config_me_cache(struct amdgpu_device *adev, uint64_t addr) in gfx_v11_0_config_me_cache()
2009 static int gfx_v11_0_config_pfp_cache(struct amdgpu_device *adev, uint64_t addr) in gfx_v11_0_config_pfp_cache()
2053 static int gfx_v11_0_config_mec_cache(struct amdgpu_device *adev, uint64_t addr) in gfx_v11_0_config_mec_cache()
2097 static int gfx_v11_0_config_pfp_cache_rs64(struct amdgpu_device *adev, uint64_t addr, uint64_t addr… in gfx_v11_0_config_pfp_cache_rs64()
2219 static int gfx_v11_0_config_me_cache_rs64(struct amdgpu_device *adev, uint64_t addr, uint64_t addr2) in gfx_v11_0_config_me_cache_rs64()
2342 static int gfx_v11_0_config_mec_cache_rs64(struct amdgpu_device *adev, uint64_t addr, uint64_t addr… in gfx_v11_0_config_mec_cache_rs64()
2425 static void gfx_v11_0_config_gfx_rs64(struct amdgpu_device *adev) in gfx_v11_0_config_gfx_rs64()
2510 static int gfx_v11_0_wait_for_rlc_autoload_complete(struct amdgpu_device *adev) in gfx_v11_0_wait_for_rlc_autoload_complete()
2585 static int gfx_v11_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v11_0_cp_gfx_enable()
2606 static int gfx_v11_0_cp_gfx_load_pfp_microcode(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_load_pfp_microcode()
2651 static int gfx_v11_0_cp_gfx_load_pfp_microcode_rs64(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2824 static int gfx_v11_0_cp_gfx_load_me_microcode(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_load_me_microcode()
2869 static int gfx_v11_0_cp_gfx_load_me_microcode_rs64(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_load_me_microcode_rs64()
3043 static int gfx_v11_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_load_microcode()
3073 static int gfx_v11_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_start()
3149 static void gfx_v11_0_cp_gfx_switch_pipe(struct amdgpu_device *adev, in gfx_v11_0_cp_gfx_switch_pipe()
3160 static void gfx_v11_0_cp_gfx_set_doorbell(struct amdgpu_device *adev, in gfx_v11_0_cp_gfx_set_doorbell()
3185 static int gfx_v11_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v11_0_cp_gfx_resume()
3291 static void gfx_v11_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v11_0_cp_compute_enable()
3338 static int gfx_v11_0_cp_compute_load_microcode(struct amdgpu_device *adev) in gfx_v11_0_cp_compute_load_microcode()
3389 static int gfx_v11_0_cp_compute_load_microcode_rs64(struct amdgpu_device *adev) in gfx_v11_0_cp_compute_load_microcode_rs64()
3524 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kiq_setting() local
3535 static void gfx_v11_0_cp_set_doorbell_range(struct amdgpu_device *adev) in gfx_v11_0_cp_set_doorbell_range()
3550 static int gfx_v11_0_gfx_mqd_init(struct amdgpu_device *adev, void *m, in gfx_v11_0_gfx_mqd_init()
3639 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_gfx_queue_init_register() local
3687 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_gfx_init_queue() local
3726 static int gfx_v11_0_kiq_enable_kgq(struct amdgpu_device *adev) in gfx_v11_0_kiq_enable_kgq()
3749 static int gfx_v11_0_cp_async_gfx_ring_resume(struct amdgpu_device *adev) in gfx_v11_0_cp_async_gfx_ring_resume()
3788 static int gfx_v11_0_compute_mqd_init(struct amdgpu_device *adev, void *m, in gfx_v11_0_compute_mqd_init()
3919 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kiq_init_register() local
4029 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kiq_init_queue() local
4069 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kcq_init_queue() local
4099 static int gfx_v11_0_kiq_resume(struct amdgpu_device *adev) in gfx_v11_0_kiq_resume()
4124 static int gfx_v11_0_kcq_resume(struct amdgpu_device *adev) in gfx_v11_0_kcq_resume()
4154 static int gfx_v11_0_cp_resume(struct amdgpu_device *adev) in gfx_v11_0_cp_resume()
4221 static void gfx_v11_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v11_0_cp_enable()
4227 static int gfx_v11_0_gfxhub_enable(struct amdgpu_device *adev) in gfx_v11_0_gfxhub_enable()
4247 static void gfx_v11_0_select_cp_fw_arch(struct amdgpu_device *adev) in gfx_v11_0_select_cp_fw_arch()
4266 static int get_gb_addr_config(struct amdgpu_device * adev) in get_gb_addr_config()
4302 static void gfx_v11_0_disable_gpa_mode(struct amdgpu_device *adev) in gfx_v11_0_disable_gpa_mode()
4318 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_hw_init() local
4411 static int gfx_v11_0_kiq_disable_kgq(struct amdgpu_device *adev) in gfx_v11_0_kiq_disable_kgq()
4437 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_hw_fini() local
4488 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_is_idle() local
4501 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_wait_for_idle() local
4520 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_soft_reset() local
4637 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_check_soft_reset() local
4658 static uint64_t gfx_v11_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v11_0_get_gpu_clock_counter()
4677 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_emit_gds_switch() local
4702 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_early_init() local
4725 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_ras_late_init() local
4745 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_late_init() local
4765 static bool gfx_v11_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v11_0_is_rlc_enabled()
4774 static void gfx_v11_0_set_safe_mode(struct amdgpu_device *adev) in gfx_v11_0_set_safe_mode()
4793 static void gfx_v11_0_unset_safe_mode(struct amdgpu_device *adev) in gfx_v11_0_unset_safe_mode()
4798 static void gfx_v11_0_update_perf_clk(struct amdgpu_device *adev, in gfx_v11_0_update_perf_clk()
4817 static void gfx_v11_0_update_sram_fgcg(struct amdgpu_device *adev, in gfx_v11_0_update_sram_fgcg()
4836 static void gfx_v11_0_update_repeater_fgcg(struct amdgpu_device *adev, in gfx_v11_0_update_repeater_fgcg()
4855 static void gfx_v11_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v11_0_update_medium_grain_clock_gating()
4890 static void gfx_v11_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v11_0_update_coarse_grain_clock_gating()
5018 static int gfx_v11_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v11_0_update_gfx_clock_gating()
5046 static void gfx_v11_0_update_spm_vmid(struct amdgpu_device *adev, unsigned vmid) in gfx_v11_0_update_spm_vmid()
5083 static void gfx_v11_cntl_power_gating(struct amdgpu_device *adev, bool enable) in gfx_v11_cntl_power_gating()
5107 static void gfx_v11_cntl_pg(struct amdgpu_device *adev, bool enable) in gfx_v11_cntl_pg()
5119 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_set_powergating_state() local
5146 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_set_clockgating_state() local
5169 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v11_0_get_clockgating_state() local
5216 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_get_wptr_gfx() local
5232 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_set_wptr_gfx() local
5295 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_set_wptr_compute() local
5337 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_emit_hdp_flush() local
5522 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_emit_fence_kiq() local
5596 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_preempt_ib() local
5642 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_emit_de_meta() local
5703 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_emit_rreg() local
5759 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_soft_recovery() local
5770 gfx_v11_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v11_0_set_gfx_eop_interrupt_state()
5815 static void gfx_v11_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v11_0_set_compute_eop_interrupt_state()
5880 static int gfx_v11_0_set_cp_ecc_error_state(struct amdgpu_device *adev, in gfx_v11_0_set_cp_ecc_error_state()
5902 static int gfx_v11_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v11_0_set_eop_interrupt_state()
5932 static int gfx_v11_0_eop_irq(struct amdgpu_device *adev, in gfx_v11_0_eop_irq()
5987 static int gfx_v11_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v11_0_set_priv_reg_fault_state()
6006 static int gfx_v11_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v11_0_set_priv_inst_fault_state()
6025 static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev, in gfx_v11_0_handle_priv_fault()
6060 static int gfx_v11_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v11_0_priv_reg_irq()
6069 static int gfx_v11_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v11_0_priv_inst_irq()
6078 static int gfx_v11_0_rlc_gc_fed_irq(struct amdgpu_device *adev, in gfx_v11_0_rlc_gc_fed_irq()
6290 static void gfx_v11_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_ring_funcs()
6327 static void gfx_v11_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_irq_funcs()
6346 static void gfx_v11_0_set_imu_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_imu_funcs()
6356 static void gfx_v11_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_rlc_funcs()
6361 static void gfx_v11_0_set_gds_init(struct amdgpu_device *adev) in gfx_v11_0_set_gds_init()
6373 static void gfx_v11_0_set_mqd_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_mqd_funcs()
6387 static void gfx_v11_0_set_user_wgp_inactive_bitmap_per_sh(struct amdgpu_device *adev, in gfx_v11_0_set_user_wgp_inactive_bitmap_per_sh()
6401 static u32 gfx_v11_0_get_wgp_active_bitmap_per_sh(struct amdgpu_device *adev) in gfx_v11_0_get_wgp_active_bitmap_per_sh()
6416 static u32 gfx_v11_0_get_cu_active_bitmap_per_sh(struct amdgpu_device *adev) in gfx_v11_0_get_cu_active_bitmap_per_sh()
6434 static int gfx_v11_0_get_cu_info(struct amdgpu_device *adev, in gfx_v11_0_get_cu_info()