Lines Matching defs:adev

736 static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev)  in gfx_v8_0_init_golden_registers()
840 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local
870 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local
925 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
939 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1223 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1244 static int gfx_v8_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v8_0_cp_jump_table_num()
1252 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1283 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1288 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
1475 static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v8_0_do_edc_gpr_workarounds()
1639 static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_early_init()
1847 static int gfx_v8_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v8_0_compute_ring_init()
1892 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_sw_init() local
2032 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_sw_fini() local
2060 static void gfx_v8_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v8_0_tiling_mode_table_init()
3383 static void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, in gfx_v8_0_select_se_sh()
3407 static void gfx_v8_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v8_0_select_me_pipe_q()
3413 static u32 gfx_v8_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_rb_active_bitmap()
3429 gfx_v8_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v8_0_raster_config()
3470 gfx_v8_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v8_0_write_harvested_raster_configs()
3578 static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) in gfx_v8_0_setup_rb()
3644 static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_compute_vmid()
3687 static void gfx_v8_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_gds_vmid()
3705 static void gfx_v8_0_config_init(struct amdgpu_device *adev) in gfx_v8_0_config_init()
3718 static void gfx_v8_0_constants_init(struct amdgpu_device *adev) in gfx_v8_0_constants_init()
3801 static void gfx_v8_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v8_0_wait_for_rlc_serdes()
3839 static void gfx_v8_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v8_0_enable_gui_idle_interrupt()
3852 static void gfx_v8_0_init_csb(struct amdgpu_device *adev) in gfx_v8_0_init_csb()
3914 static int gfx_v8_0_init_save_restore_list(struct amdgpu_device *adev) in gfx_v8_0_init_save_restore_list()
3977 static void gfx_v8_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v8_0_enable_save_restore_machine()
3982 static void gfx_v8_0_init_power_gating(struct amdgpu_device *adev) in gfx_v8_0_init_power_gating()
3999 static void cz_enable_sck_slow_down_on_power_up(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_up()
4005 static void cz_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_down()
4011 static void cz_enable_cp_power_gating(struct amdgpu_device *adev, bool enable) in cz_enable_cp_power_gating()
4016 static void gfx_v8_0_init_pg(struct amdgpu_device *adev) in gfx_v8_0_init_pg()
4037 static void gfx_v8_0_rlc_stop(struct amdgpu_device *adev) in gfx_v8_0_rlc_stop()
4045 static void gfx_v8_0_rlc_reset(struct amdgpu_device *adev) in gfx_v8_0_rlc_reset()
4054 static void gfx_v8_0_rlc_start(struct amdgpu_device *adev) in gfx_v8_0_rlc_start()
4065 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev) in gfx_v8_0_rlc_resume()
4080 static void gfx_v8_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_gfx_enable()
4097 static u32 gfx_v8_0_get_csb_size(struct amdgpu_device *adev) in gfx_v8_0_get_csb_size()
4126 static int gfx_v8_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_start()
4189 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()
4223 static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_resume()
4276 static void gfx_v8_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_compute_enable()
4291 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_setting() local
4300 static int gfx_v8_0_kiq_kcq_enable(struct amdgpu_device *adev) in gfx_v8_0_kiq_kcq_enable()
4361 static int gfx_v8_0_deactivate_hqd(struct amdgpu_device *adev, u32 req) in gfx_v8_0_deactivate_hqd()
4384 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_set_priority() local
4397 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_init() local
4542 static int gfx_v8_0_mqd_commit(struct amdgpu_device *adev, in gfx_v8_0_mqd_commit()
4581 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_init_queue() local
4621 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kcq_init_queue() local
4649 static void gfx_v8_0_set_mec_doorbell_range(struct amdgpu_device *adev) in gfx_v8_0_set_mec_doorbell_range()
4659 static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev) in gfx_v8_0_kiq_resume()
4665 static int gfx_v8_0_kcq_resume(struct amdgpu_device *adev) in gfx_v8_0_kcq_resume()
4682 static int gfx_v8_0_cp_test_all_rings(struct amdgpu_device *adev) in gfx_v8_0_cp_test_all_rings()
4706 static int gfx_v8_0_cp_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_resume()
4734 static void gfx_v8_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_enable()
4743 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_hw_init() local
4757 static int gfx_v8_0_kcq_disable(struct amdgpu_device *adev) in gfx_v8_0_kcq_disable()
4796 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_is_idle() local
4807 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_rlc_is_idle() local
4818 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_rlc_idle() local
4832 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_wait_for_idle() local
4845 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_hw_fini() local
4888 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_check_soft_reset() local
4950 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_pre_soft_reset() local
4991 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_soft_reset() local
5053 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_post_soft_reset() local
5100 static uint64_t gfx_v8_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v8_0_get_gpu_clock_counter()
5151 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
5161 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
5176 static void gfx_v8_0_read_wave_data(struct amdgpu_device *adev, uint32_t xcc_id, uint32_t simd, uin… in gfx_v8_0_read_wave_data()
5201 static void gfx_v8_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t xcc_id, uint32_t simd, in gfx_v8_0_read_wave_sgprs()
5221 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_early_init() local
5238 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_late_init() local
5271 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()
5283 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()
5289 static void polaris11_enable_gfx_quick_mg_power_gating(struct amdgpu_device *adev, in polaris11_enable_gfx_quick_mg_power_gating()
5295 static void cz_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_cg_power_gating()
5301 static void cz_enable_gfx_pipeline_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_pipeline_power_gating()
5311 static void cz_update_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_update_gfx_cg_power_gating()
5327 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_set_powergating_state() local
5397 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_get_clockgating_state() local
5437 static void gfx_v8_0_send_serdes_cmd(struct amdgpu_device *adev, in gfx_v8_0_send_serdes_cmd()
5485 static bool gfx_v8_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v8_0_is_rlc_enabled()
5496 static void gfx_v8_0_set_safe_mode(struct amdgpu_device *adev, int xcc_id) in gfx_v8_0_set_safe_mode()
5523 static void gfx_v8_0_unset_safe_mode(struct amdgpu_device *adev, int xcc_id) in gfx_v8_0_unset_safe_mode()
5540 static void gfx_v8_0_update_spm_vmid(struct amdgpu_device *adev, struct amdgpu_ring *ring, unsigned… in gfx_v8_0_update_spm_vmid()
5577 static void gfx_v8_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_medium_grain_clock_gating()
5677 static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_coarse_grain_clock_gating()
5765 static int gfx_v8_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_gfx_clock_gating()
5788 static int gfx_v8_0_tonga_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_tonga_update_gfx_clock_gating()
5837 static int gfx_v8_0_polaris_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_polaris_update_gfx_clock_gating()
5938 struct amdgpu_device *adev = ip_block->adev; in gfx_v8_0_set_clockgating_state() local
5972 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_get_wptr_gfx() local
5983 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_gfx() local
6194 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_compute() local
6305 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_emit_rreg() local
6345 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_soft_recovery() local
6355 static void gfx_v8_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_gfx_eop_interrupt_state()
6362 static void gfx_v8_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_compute_eop_interrupt_state()
6413 static int gfx_v8_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_reg_fault_state()
6424 static int gfx_v8_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_inst_fault_state()
6435 static int gfx_v8_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_eop_interrupt_state()
6474 static int gfx_v8_0_set_cp_ecc_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_cp_ecc_int_state()
6519 static int gfx_v8_0_set_sq_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_sq_int_state()
6545 static int gfx_v8_0_eop_irq(struct amdgpu_device *adev, in gfx_v8_0_eop_irq()
6577 static void gfx_v8_0_fault(struct amdgpu_device *adev, in gfx_v8_0_fault()
6604 static int gfx_v8_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_reg_irq()
6613 static int gfx_v8_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_inst_irq()
6622 static int gfx_v8_0_cp_ecc_error_irq(struct amdgpu_device *adev, in gfx_v8_0_cp_ecc_error_irq()
6630 static void gfx_v8_0_parse_sq_irq(struct amdgpu_device *adev, unsigned ih_data, in gfx_v8_0_parse_sq_irq()
6704 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, gfx.sq_work.work); in gfx_v8_0_sq_irq_work_func() local
6710 static int gfx_v8_0_sq_irq(struct amdgpu_device *adev, in gfx_v8_0_sq_irq()
6795 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_emit_wave_limit() local
6945 static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_ring_funcs()
6983 static void gfx_v8_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_irq_funcs()
7001 static void gfx_v8_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_rlc_funcs()
7006 static void gfx_v8_0_set_gds_init(struct amdgpu_device *adev) in gfx_v8_0_set_gds_init()
7015 static void gfx_v8_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v8_0_set_user_cu_inactive_bitmap()
7029 static u32 gfx_v8_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_cu_active_bitmap()
7041 static void gfx_v8_0_get_cu_info(struct amdgpu_device *adev) in gfx_v8_0_get_cu_info()