Lines Matching defs:adev
732 static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v8_0_init_golden_registers()
829 static void gfx_v8_0_scratch_init(struct amdgpu_device *adev) in gfx_v8_0_scratch_init()
838 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local
875 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local
929 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
949 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1242 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1289 static int gfx_v8_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v8_0_cp_jump_table_num()
1297 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1324 static int gfx_v8_0_csb_vram_pin(struct amdgpu_device *adev) in gfx_v8_0_csb_vram_pin()
1343 static void gfx_v8_0_csb_vram_unpin(struct amdgpu_device *adev) in gfx_v8_0_csb_vram_unpin()
1357 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1362 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
1547 static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v8_0_do_edc_gpr_workarounds()
1710 static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_early_init()
1914 static int gfx_v8_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v8_0_compute_ring_init()
1956 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_init() local
2097 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_fini() local
2125 static void gfx_v8_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v8_0_tiling_mode_table_init()
3448 static void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, in gfx_v8_0_select_se_sh()
3471 static void gfx_v8_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v8_0_select_me_pipe_q()
3477 static u32 gfx_v8_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_rb_active_bitmap()
3493 gfx_v8_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v8_0_raster_config()
3534 gfx_v8_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v8_0_write_harvested_raster_configs()
3642 static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) in gfx_v8_0_setup_rb()
3710 static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_compute_vmid()
3753 static void gfx_v8_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_gds_vmid()
3771 static void gfx_v8_0_config_init(struct amdgpu_device *adev) in gfx_v8_0_config_init()
3784 static void gfx_v8_0_constants_init(struct amdgpu_device *adev) in gfx_v8_0_constants_init()
3867 static void gfx_v8_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v8_0_wait_for_rlc_serdes()
3905 static void gfx_v8_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v8_0_enable_gui_idle_interrupt()
3918 static void gfx_v8_0_init_csb(struct amdgpu_device *adev) in gfx_v8_0_init_csb()
3979 static int gfx_v8_0_init_save_restore_list(struct amdgpu_device *adev) in gfx_v8_0_init_save_restore_list()
4042 static void gfx_v8_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v8_0_enable_save_restore_machine()
4047 static void gfx_v8_0_init_power_gating(struct amdgpu_device *adev) in gfx_v8_0_init_power_gating()
4064 static void cz_enable_sck_slow_down_on_power_up(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_up()
4070 static void cz_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_down()
4076 static void cz_enable_cp_power_gating(struct amdgpu_device *adev, bool enable) in cz_enable_cp_power_gating()
4081 static void gfx_v8_0_init_pg(struct amdgpu_device *adev) in gfx_v8_0_init_pg()
4102 static void gfx_v8_0_rlc_stop(struct amdgpu_device *adev) in gfx_v8_0_rlc_stop()
4110 static void gfx_v8_0_rlc_reset(struct amdgpu_device *adev) in gfx_v8_0_rlc_reset()
4119 static void gfx_v8_0_rlc_start(struct amdgpu_device *adev) in gfx_v8_0_rlc_start()
4130 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev) in gfx_v8_0_rlc_resume()
4145 static void gfx_v8_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_gfx_enable()
4165 static u32 gfx_v8_0_get_csb_size(struct amdgpu_device *adev) in gfx_v8_0_get_csb_size()
4194 static int gfx_v8_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_start()
4257 static void gfx_v8_0_set_cpg_door_bell(struct amdgpu_device *adev, struct amdgpu_ring *ring) in gfx_v8_0_set_cpg_door_bell()
4291 static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_resume()
4345 static void gfx_v8_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_compute_enable()
4364 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_setting() local
4375 static int gfx_v8_0_kiq_kcq_enable(struct amdgpu_device *adev) in gfx_v8_0_kiq_kcq_enable()
4436 static int gfx_v8_0_deactivate_hqd(struct amdgpu_device *adev, u32 req) in gfx_v8_0_deactivate_hqd()
4459 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_init() local
4600 int gfx_v8_0_mqd_commit(struct amdgpu_device *adev, in gfx_v8_0_mqd_commit()
4639 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_init_queue() local
4678 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kcq_init_queue() local
4707 static void gfx_v8_0_set_mec_doorbell_range(struct amdgpu_device *adev) in gfx_v8_0_set_mec_doorbell_range()
4717 static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev) in gfx_v8_0_kiq_resume()
4740 static int gfx_v8_0_kcq_resume(struct amdgpu_device *adev) in gfx_v8_0_kcq_resume()
4774 static int gfx_v8_0_cp_test_all_rings(struct amdgpu_device *adev) in gfx_v8_0_cp_test_all_rings()
4798 static int gfx_v8_0_cp_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_resume()
4826 static void gfx_v8_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_enable()
4835 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_init() local
4853 static int gfx_v8_0_kcq_disable(struct amdgpu_device *adev) in gfx_v8_0_kcq_disable()
4885 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_is_idle() local
4896 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_rlc_is_idle() local
4907 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_rlc_idle() local
4921 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_idle() local
4934 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_fini() local
4978 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_check_soft_reset() local
5040 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_pre_soft_reset() local
5081 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_soft_reset() local
5143 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_post_soft_reset() local
5190 static uint64_t gfx_v8_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v8_0_get_gpu_clock_counter()
5241 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
5251 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
5266 static void gfx_v8_0_read_wave_data(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint3… in gfx_v8_0_read_wave_data()
5290 static void gfx_v8_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v8_0_read_wave_sgprs()
5310 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_early_init() local
5325 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_late_init() local
5358 static void gfx_v8_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev, in gfx_v8_0_enable_gfx_static_mg_power_gating()
5371 static void gfx_v8_0_enable_gfx_dynamic_mg_power_gating(struct amdgpu_device *adev, in gfx_v8_0_enable_gfx_dynamic_mg_power_gating()
5377 static void polaris11_enable_gfx_quick_mg_power_gating(struct amdgpu_device *adev, in polaris11_enable_gfx_quick_mg_power_gating()
5383 static void cz_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_cg_power_gating()
5389 static void cz_enable_gfx_pipeline_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_pipeline_power_gating()
5399 static void cz_update_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_update_gfx_cg_power_gating()
5415 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_powergating_state() local
5485 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_get_clockgating_state() local
5525 static void gfx_v8_0_send_serdes_cmd(struct amdgpu_device *adev, in gfx_v8_0_send_serdes_cmd()
5573 static bool gfx_v8_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v8_0_is_rlc_enabled()
5584 static void gfx_v8_0_set_safe_mode(struct amdgpu_device *adev) in gfx_v8_0_set_safe_mode()
5611 static void gfx_v8_0_unset_safe_mode(struct amdgpu_device *adev) in gfx_v8_0_unset_safe_mode()
5642 static void gfx_v8_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_medium_grain_clock_gating()
5746 static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_coarse_grain_clock_gating()
5838 static int gfx_v8_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_gfx_clock_gating()
5857 static int gfx_v8_0_tonga_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_tonga_update_gfx_clock_gating()
5908 static int gfx_v8_0_polaris_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_polaris_update_gfx_clock_gating()
6014 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_clockgating_state() local
6048 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_get_wptr_gfx() local
6059 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_gfx() local
6252 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_compute() local
6262 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_pipe_percent() local
6278 static void gfx_v8_0_pipe_reserve_resources(struct amdgpu_device *adev, in gfx_v8_0_pipe_reserve_resources()
6328 static void gfx_v8_0_hqd_set_priority(struct amdgpu_device *adev, in gfx_v8_0_hqd_set_priority()
6347 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_priority_compute() local
6471 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_emit_rreg() local
6511 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_soft_recovery() local
6521 static void gfx_v8_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_gfx_eop_interrupt_state()
6528 static void gfx_v8_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_compute_eop_interrupt_state()
6579 static int gfx_v8_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_reg_fault_state()
6590 static int gfx_v8_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_inst_fault_state()
6601 static int gfx_v8_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_eop_interrupt_state()
6640 static int gfx_v8_0_set_cp_ecc_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_cp_ecc_int_state()
6685 static int gfx_v8_0_set_sq_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_sq_int_state()
6711 static int gfx_v8_0_eop_irq(struct amdgpu_device *adev, in gfx_v8_0_eop_irq()
6743 static void gfx_v8_0_fault(struct amdgpu_device *adev, in gfx_v8_0_fault()
6770 static int gfx_v8_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_reg_irq()
6779 static int gfx_v8_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_inst_irq()
6788 static int gfx_v8_0_cp_ecc_error_irq(struct amdgpu_device *adev, in gfx_v8_0_cp_ecc_error_irq()
6796 static void gfx_v8_0_parse_sq_irq(struct amdgpu_device *adev, unsigned ih_data) in gfx_v8_0_parse_sq_irq()
6869 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, gfx.sq_work.work); in gfx_v8_0_sq_irq_work_func() local
6875 static int gfx_v8_0_sq_irq(struct amdgpu_device *adev, in gfx_v8_0_sq_irq()
7016 static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_ring_funcs()
7054 static void gfx_v8_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_irq_funcs()
7072 static void gfx_v8_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_rlc_funcs()
7077 static void gfx_v8_0_set_gds_init(struct amdgpu_device *adev) in gfx_v8_0_set_gds_init()
7086 static void gfx_v8_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v8_0_set_user_cu_inactive_bitmap()
7100 static u32 gfx_v8_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_cu_active_bitmap()
7112 static void gfx_v8_0_get_cu_info(struct amdgpu_device *adev) in gfx_v8_0_get_cu_info()