Lines Matching defs:adev
729 static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v8_0_init_golden_registers()
826 static void gfx_v8_0_scratch_init(struct amdgpu_device *adev) in gfx_v8_0_scratch_init()
835 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local
879 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local
941 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
961 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1257 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1304 static void cz_init_cp_jump_table(struct amdgpu_device *adev) in cz_init_cp_jump_table()
1369 static void gfx_v8_0_rlc_fini(struct amdgpu_device *adev) in gfx_v8_0_rlc_fini()
1375 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1430 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1435 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
1620 static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v8_0_do_edc_gpr_workarounds()
1783 static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_early_init()
1987 static int gfx_v8_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v8_0_compute_ring_init()
2029 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_init() local
2195 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_fini() local
2226 static void gfx_v8_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v8_0_tiling_mode_table_init()
3548 static void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, in gfx_v8_0_select_se_sh()
3571 static void gfx_v8_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v8_0_select_me_pipe_q()
3577 static u32 gfx_v8_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_rb_active_bitmap()
3593 gfx_v8_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v8_0_raster_config()
3634 gfx_v8_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v8_0_write_harvested_raster_configs()
3742 static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) in gfx_v8_0_setup_rb()
3810 static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_compute_vmid()
3844 static void gfx_v8_0_config_init(struct amdgpu_device *adev) in gfx_v8_0_config_init()
3857 static void gfx_v8_0_gpu_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_init()
3939 static void gfx_v8_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v8_0_wait_for_rlc_serdes()
3977 static void gfx_v8_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v8_0_enable_gui_idle_interrupt()
3990 static void gfx_v8_0_init_csb(struct amdgpu_device *adev) in gfx_v8_0_init_csb()
4051 static int gfx_v8_0_init_save_restore_list(struct amdgpu_device *adev) in gfx_v8_0_init_save_restore_list()
4115 static void gfx_v8_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v8_0_enable_save_restore_machine()
4120 static void gfx_v8_0_init_power_gating(struct amdgpu_device *adev) in gfx_v8_0_init_power_gating()
4137 static void cz_enable_sck_slow_down_on_power_up(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_up()
4143 static void cz_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_down()
4149 static void cz_enable_cp_power_gating(struct amdgpu_device *adev, bool enable) in cz_enable_cp_power_gating()
4154 static void gfx_v8_0_init_pg(struct amdgpu_device *adev) in gfx_v8_0_init_pg()
4175 static void gfx_v8_0_rlc_stop(struct amdgpu_device *adev) in gfx_v8_0_rlc_stop()
4183 static void gfx_v8_0_rlc_reset(struct amdgpu_device *adev) in gfx_v8_0_rlc_reset()
4192 static void gfx_v8_0_rlc_start(struct amdgpu_device *adev) in gfx_v8_0_rlc_start()
4203 static int gfx_v8_0_rlc_load_microcode(struct amdgpu_device *adev) in gfx_v8_0_rlc_load_microcode()
4227 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev) in gfx_v8_0_rlc_resume()
4267 static void gfx_v8_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_gfx_enable()
4287 static int gfx_v8_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_load_microcode()
4344 static u32 gfx_v8_0_get_csb_size(struct amdgpu_device *adev) in gfx_v8_0_get_csb_size()
4373 static int gfx_v8_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_start()
4436 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()
4470 static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_resume()
4528 static void gfx_v8_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_compute_enable()
4543 static int gfx_v8_0_cp_compute_load_microcode(struct amdgpu_device *adev) in gfx_v8_0_cp_compute_load_microcode()
4593 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_setting() local
4604 static int gfx_v8_0_kiq_kcq_enable(struct amdgpu_device *adev) in gfx_v8_0_kiq_kcq_enable()
4690 static int gfx_v8_0_deactivate_hqd(struct amdgpu_device *adev, u32 req) in gfx_v8_0_deactivate_hqd()
4713 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_init() local
4856 int gfx_v8_0_mqd_commit(struct amdgpu_device *adev, in gfx_v8_0_mqd_commit()
4895 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_init_queue() local
4934 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kcq_init_queue() local
4963 static void gfx_v8_0_set_mec_doorbell_range(struct amdgpu_device *adev) in gfx_v8_0_set_mec_doorbell_range()
4973 static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev) in gfx_v8_0_kiq_resume()
5041 static int gfx_v8_0_cp_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_resume()
5072 static void gfx_v8_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_enable()
5081 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_init() local
5097 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v8_0_kcq_disable() local
5148 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_fini() local
5178 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_suspend() local
5186 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_resume() local
5195 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_is_idle() local
5206 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_idle() local
5219 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_check_soft_reset() local
5281 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_pre_soft_reset() local
5323 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_soft_reset() local
5385 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_post_soft_reset() local
5429 static uint64_t gfx_v8_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v8_0_get_gpu_clock_counter()
5489 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
5499 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
5514 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()
5538 static void gfx_v8_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v8_0_read_wave_sgprs()
5558 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_early_init() local
5573 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_late_init() local
5606 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()
5619 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()
5625 static void polaris11_enable_gfx_quick_mg_power_gating(struct amdgpu_device *adev, in polaris11_enable_gfx_quick_mg_power_gating()
5631 static void cz_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_cg_power_gating()
5637 static void cz_enable_gfx_pipeline_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_pipeline_power_gating()
5647 static void cz_update_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_update_gfx_cg_power_gating()
5663 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_powergating_state() local
5733 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_get_clockgating_state() local
5773 static void gfx_v8_0_send_serdes_cmd(struct amdgpu_device *adev, in gfx_v8_0_send_serdes_cmd()
5821 static void iceland_enter_rlc_safe_mode(struct amdgpu_device *adev) in iceland_enter_rlc_safe_mode()
5855 static void iceland_exit_rlc_safe_mode(struct amdgpu_device *adev) in iceland_exit_rlc_safe_mode()
5885 static void gfx_v8_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_medium_grain_clock_gating()
5989 static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_coarse_grain_clock_gating()
6081 static int gfx_v8_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_gfx_clock_gating()
6100 static int gfx_v8_0_tonga_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_tonga_update_gfx_clock_gating()
6151 static int gfx_v8_0_polaris_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_polaris_update_gfx_clock_gating()
6257 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_clockgating_state() local
6291 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_get_wptr_gfx() local
6302 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_gfx() local
6491 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_compute() local
6501 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_pipe_percent() local
6517 static void gfx_v8_0_pipe_reserve_resources(struct amdgpu_device *adev, in gfx_v8_0_pipe_reserve_resources()
6567 static void gfx_v8_0_hqd_set_priority(struct amdgpu_device *adev, in gfx_v8_0_hqd_set_priority()
6586 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_priority_compute() local
6710 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_emit_rreg() local
6748 static void gfx_v8_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_gfx_eop_interrupt_state()
6755 static void gfx_v8_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_compute_eop_interrupt_state()
6806 static int gfx_v8_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_reg_fault_state()
6817 static int gfx_v8_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_inst_fault_state()
6828 static int gfx_v8_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_eop_interrupt_state()
6867 static int gfx_v8_0_set_cp_ecc_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_cp_ecc_int_state()
6912 static int gfx_v8_0_set_sq_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_sq_int_state()
6938 static int gfx_v8_0_eop_irq(struct amdgpu_device *adev, in gfx_v8_0_eop_irq()
6970 static int gfx_v8_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_reg_irq()
6979 static int gfx_v8_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_inst_irq()
6988 static int gfx_v8_0_cp_ecc_error_irq(struct amdgpu_device *adev, in gfx_v8_0_cp_ecc_error_irq()
6996 static void gfx_v8_0_parse_sq_irq(struct amdgpu_device *adev, unsigned ih_data) in gfx_v8_0_parse_sq_irq()
7069 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, gfx.sq_work.work); in gfx_v8_0_sq_irq_work_func() local
7075 static int gfx_v8_0_sq_irq(struct amdgpu_device *adev, in gfx_v8_0_sq_irq()
7096 static int gfx_v8_0_kiq_set_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_kiq_set_interrupt_state()
7125 static int gfx_v8_0_kiq_irq(struct amdgpu_device *adev, in gfx_v8_0_kiq_irq()
7263 static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_ring_funcs()
7306 static void gfx_v8_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_irq_funcs()
7327 static void gfx_v8_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_rlc_funcs()
7332 static void gfx_v8_0_set_gds_init(struct amdgpu_device *adev) in gfx_v8_0_set_gds_init()
7360 static void gfx_v8_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v8_0_set_user_cu_inactive_bitmap()
7374 static u32 gfx_v8_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_cu_active_bitmap()
7386 static void gfx_v8_0_get_cu_info(struct amdgpu_device *adev) in gfx_v8_0_get_cu_info()