Lines Matching defs:adev
662 static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v8_0_init_golden_registers()
751 static void gfx_v8_0_scratch_init(struct amdgpu_device *adev) in gfx_v8_0_scratch_init()
760 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local
804 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local
859 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
879 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1127 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1174 static void cz_init_cp_jump_table(struct amdgpu_device *adev) in cz_init_cp_jump_table()
1239 static void gfx_v8_0_rlc_fini(struct amdgpu_device *adev) in gfx_v8_0_rlc_fini()
1245 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1300 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1305 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
1490 static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v8_0_do_edc_gpr_workarounds()
1653 static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_early_init()
1856 static int gfx_v8_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v8_0_compute_ring_init()
1896 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_init() local
2045 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_fini() local
2067 static void gfx_v8_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v8_0_tiling_mode_table_init()
3388 static void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, in gfx_v8_0_select_se_sh()
3411 static u32 gfx_v8_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_rb_active_bitmap()
3427 gfx_v8_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v8_0_raster_config()
3467 gfx_v8_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v8_0_write_harvested_raster_configs()
3575 static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) in gfx_v8_0_setup_rb()
3643 static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_compute_vmid()
3677 static void gfx_v8_0_config_init(struct amdgpu_device *adev) in gfx_v8_0_config_init()
3690 static void gfx_v8_0_gpu_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_init()
3772 static void gfx_v8_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v8_0_wait_for_rlc_serdes()
3802 static void gfx_v8_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v8_0_enable_gui_idle_interrupt()
3815 static void gfx_v8_0_init_csb(struct amdgpu_device *adev) in gfx_v8_0_init_csb()
3876 static int gfx_v8_0_init_save_restore_list(struct amdgpu_device *adev) in gfx_v8_0_init_save_restore_list()
3940 static void gfx_v8_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v8_0_enable_save_restore_machine()
3945 static void gfx_v8_0_init_power_gating(struct amdgpu_device *adev) in gfx_v8_0_init_power_gating()
3962 static void cz_enable_sck_slow_down_on_power_up(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_up()
3968 static void cz_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_down()
3974 static void cz_enable_cp_power_gating(struct amdgpu_device *adev, bool enable) in cz_enable_cp_power_gating()
3979 static void gfx_v8_0_init_pg(struct amdgpu_device *adev) in gfx_v8_0_init_pg()
3999 static void gfx_v8_0_rlc_stop(struct amdgpu_device *adev) in gfx_v8_0_rlc_stop()
4007 static void gfx_v8_0_rlc_reset(struct amdgpu_device *adev) in gfx_v8_0_rlc_reset()
4016 static void gfx_v8_0_rlc_start(struct amdgpu_device *adev) in gfx_v8_0_rlc_start()
4027 static int gfx_v8_0_rlc_load_microcode(struct amdgpu_device *adev) in gfx_v8_0_rlc_load_microcode()
4051 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev) in gfx_v8_0_rlc_resume()
4096 static void gfx_v8_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_gfx_enable()
4116 static int gfx_v8_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_load_microcode()
4173 static u32 gfx_v8_0_get_csb_size(struct amdgpu_device *adev) in gfx_v8_0_get_csb_size()
4202 static int gfx_v8_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_start()
4294 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()
4328 static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_resume()
4386 static void gfx_v8_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_compute_enable()
4401 static int gfx_v8_0_cp_compute_load_microcode(struct amdgpu_device *adev) in gfx_v8_0_cp_compute_load_microcode()
4451 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_setting() local
4462 static int gfx_v8_0_kiq_kcq_enable(struct amdgpu_device *adev) in gfx_v8_0_kiq_kcq_enable()
4548 static int gfx_v8_0_deactivate_hqd(struct amdgpu_device *adev, u32 req) in gfx_v8_0_deactivate_hqd()
4571 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_init() local
4714 int gfx_v8_0_mqd_commit(struct amdgpu_device *adev, in gfx_v8_0_mqd_commit()
4753 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_init_queue() local
4792 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kcq_init_queue() local
4821 static void gfx_v8_0_set_mec_doorbell_range(struct amdgpu_device *adev) in gfx_v8_0_set_mec_doorbell_range()
4831 static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev) in gfx_v8_0_kiq_resume()
4899 static int gfx_v8_0_cp_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_resume()
4958 static void gfx_v8_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_enable()
4967 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_init() local
4983 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_fini() local
5002 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_suspend() local
5010 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_resume() local
5019 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_is_idle() local
5030 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_idle() local
5043 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_check_soft_reset() local
5105 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_pre_soft_reset() local
5147 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_soft_reset() local
5209 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_post_soft_reset() local
5253 static uint64_t gfx_v8_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v8_0_get_gpu_clock_counter()
5313 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
5323 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
5338 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()
5362 static void gfx_v8_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v8_0_read_wave_sgprs()
5381 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_early_init() local
5396 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_late_init() local
5418 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()
5432 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()
5438 static void polaris11_enable_gfx_quick_mg_power_gating(struct amdgpu_device *adev, in polaris11_enable_gfx_quick_mg_power_gating()
5444 static void cz_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_cg_power_gating()
5450 static void cz_enable_gfx_pipeline_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_pipeline_power_gating()
5460 static void cz_update_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_update_gfx_cg_power_gating()
5476 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_powergating_state() local
5545 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_get_clockgating_state() local
5585 static void gfx_v8_0_send_serdes_cmd(struct amdgpu_device *adev, in gfx_v8_0_send_serdes_cmd()
5633 static void iceland_enter_rlc_safe_mode(struct amdgpu_device *adev) in iceland_enter_rlc_safe_mode()
5667 static void iceland_exit_rlc_safe_mode(struct amdgpu_device *adev) in iceland_exit_rlc_safe_mode()
5697 static void gfx_v8_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_medium_grain_clock_gating()
5801 static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_coarse_grain_clock_gating()
5893 static int gfx_v8_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_gfx_clock_gating()
5912 static int gfx_v8_0_tonga_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_tonga_update_gfx_clock_gating()
5962 static int gfx_v8_0_polaris_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_polaris_update_gfx_clock_gating()
6064 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_clockgating_state() local
6097 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_get_wptr_gfx() local
6108 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_gfx() local
6315 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_compute() local
6436 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_emit_rreg() local
6460 static void gfx_v8_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_gfx_eop_interrupt_state()
6467 static void gfx_v8_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_compute_eop_interrupt_state()
6518 static int gfx_v8_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_reg_fault_state()
6529 static int gfx_v8_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_inst_fault_state()
6540 static int gfx_v8_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_eop_interrupt_state()
6579 static int gfx_v8_0_eop_irq(struct amdgpu_device *adev, in gfx_v8_0_eop_irq()
6611 static int gfx_v8_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_reg_irq()
6620 static int gfx_v8_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_inst_irq()
6629 static int gfx_v8_0_kiq_set_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_kiq_set_interrupt_state()
6658 static int gfx_v8_0_kiq_irq(struct amdgpu_device *adev, in gfx_v8_0_kiq_irq()
6795 static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_ring_funcs()
6828 static void gfx_v8_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_irq_funcs()
6843 static void gfx_v8_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_rlc_funcs()
6848 static void gfx_v8_0_set_gds_init(struct amdgpu_device *adev) in gfx_v8_0_set_gds_init()
6876 static void gfx_v8_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v8_0_set_user_cu_inactive_bitmap()
6890 static u32 gfx_v8_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_cu_active_bitmap()
6902 static void gfx_v8_0_get_cu_info(struct amdgpu_device *adev) in gfx_v8_0_get_cu_info()