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
930 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
950 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1243 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1290 static int gfx_v8_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v8_0_cp_jump_table_num()
1298 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1329 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1334 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
1520 static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v8_0_do_edc_gpr_workarounds()
1684 static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v8_0_gpu_early_init()
1892 static int gfx_v8_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v8_0_compute_ring_init()
1937 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_init() local
2079 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_sw_fini() local
2107 static void gfx_v8_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v8_0_tiling_mode_table_init()
3430 static void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, in gfx_v8_0_select_se_sh()
3453 static void gfx_v8_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v8_0_select_me_pipe_q()
3459 static u32 gfx_v8_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_rb_active_bitmap()
3475 gfx_v8_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v8_0_raster_config()
3516 gfx_v8_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v8_0_write_harvested_raster_configs()
3624 static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) in gfx_v8_0_setup_rb()
3690 static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_compute_vmid()
3733 static void gfx_v8_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v8_0_init_gds_vmid()
3751 static void gfx_v8_0_config_init(struct amdgpu_device *adev) in gfx_v8_0_config_init()
3764 static void gfx_v8_0_constants_init(struct amdgpu_device *adev) in gfx_v8_0_constants_init()
3847 static void gfx_v8_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v8_0_wait_for_rlc_serdes()
3885 static void gfx_v8_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v8_0_enable_gui_idle_interrupt()
3898 static void gfx_v8_0_init_csb(struct amdgpu_device *adev) in gfx_v8_0_init_csb()
3960 static int gfx_v8_0_init_save_restore_list(struct amdgpu_device *adev) in gfx_v8_0_init_save_restore_list()
4023 static void gfx_v8_0_enable_save_restore_machine(struct amdgpu_device *adev) in gfx_v8_0_enable_save_restore_machine()
4028 static void gfx_v8_0_init_power_gating(struct amdgpu_device *adev) in gfx_v8_0_init_power_gating()
4045 static void cz_enable_sck_slow_down_on_power_up(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_up()
4051 static void cz_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, in cz_enable_sck_slow_down_on_power_down()
4057 static void cz_enable_cp_power_gating(struct amdgpu_device *adev, bool enable) in cz_enable_cp_power_gating()
4062 static void gfx_v8_0_init_pg(struct amdgpu_device *adev) in gfx_v8_0_init_pg()
4083 static void gfx_v8_0_rlc_stop(struct amdgpu_device *adev) in gfx_v8_0_rlc_stop()
4091 static void gfx_v8_0_rlc_reset(struct amdgpu_device *adev) in gfx_v8_0_rlc_reset()
4100 static void gfx_v8_0_rlc_start(struct amdgpu_device *adev) in gfx_v8_0_rlc_start()
4111 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev) in gfx_v8_0_rlc_resume()
4126 static void gfx_v8_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_gfx_enable()
4143 static u32 gfx_v8_0_get_csb_size(struct amdgpu_device *adev) in gfx_v8_0_get_csb_size()
4172 static int gfx_v8_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_start()
4235 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()
4269 static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_gfx_resume()
4323 static void gfx_v8_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_compute_enable()
4338 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_setting() local
4349 static int gfx_v8_0_kiq_kcq_enable(struct amdgpu_device *adev) in gfx_v8_0_kiq_kcq_enable()
4410 static int gfx_v8_0_deactivate_hqd(struct amdgpu_device *adev, u32 req) in gfx_v8_0_deactivate_hqd()
4433 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_set_priority() local
4446 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_init() local
4591 static int gfx_v8_0_mqd_commit(struct amdgpu_device *adev, in gfx_v8_0_mqd_commit()
4630 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_init_queue() local
4669 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kcq_init_queue() local
4698 static void gfx_v8_0_set_mec_doorbell_range(struct amdgpu_device *adev) in gfx_v8_0_set_mec_doorbell_range()
4708 static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev) in gfx_v8_0_kiq_resume()
4731 static int gfx_v8_0_kcq_resume(struct amdgpu_device *adev) in gfx_v8_0_kcq_resume()
4765 static int gfx_v8_0_cp_test_all_rings(struct amdgpu_device *adev) in gfx_v8_0_cp_test_all_rings()
4789 static int gfx_v8_0_cp_resume(struct amdgpu_device *adev) in gfx_v8_0_cp_resume()
4817 static void gfx_v8_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v8_0_cp_enable()
4826 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_init() local
4840 static int gfx_v8_0_kcq_disable(struct amdgpu_device *adev) in gfx_v8_0_kcq_disable()
4872 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_is_idle() local
4883 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_rlc_is_idle() local
4894 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_rlc_idle() local
4908 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_wait_for_idle() local
4921 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_hw_fini() local
4963 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_check_soft_reset() local
5025 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_pre_soft_reset() local
5066 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_soft_reset() local
5128 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_post_soft_reset() local
5175 static uint64_t gfx_v8_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v8_0_get_gpu_clock_counter()
5226 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
5236 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
5251 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()
5275 static void gfx_v8_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v8_0_read_wave_sgprs()
5295 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_early_init() local
5310 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_late_init() local
5343 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()
5355 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()
5361 static void polaris11_enable_gfx_quick_mg_power_gating(struct amdgpu_device *adev, in polaris11_enable_gfx_quick_mg_power_gating()
5367 static void cz_enable_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_cg_power_gating()
5373 static void cz_enable_gfx_pipeline_power_gating(struct amdgpu_device *adev, in cz_enable_gfx_pipeline_power_gating()
5383 static void cz_update_gfx_cg_power_gating(struct amdgpu_device *adev, in cz_update_gfx_cg_power_gating()
5399 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_powergating_state() local
5469 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_get_clockgating_state() local
5509 static void gfx_v8_0_send_serdes_cmd(struct amdgpu_device *adev, in gfx_v8_0_send_serdes_cmd()
5557 static bool gfx_v8_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v8_0_is_rlc_enabled()
5568 static void gfx_v8_0_set_safe_mode(struct amdgpu_device *adev) in gfx_v8_0_set_safe_mode()
5595 static void gfx_v8_0_unset_safe_mode(struct amdgpu_device *adev) in gfx_v8_0_unset_safe_mode()
5612 static void gfx_v8_0_update_spm_vmid(struct amdgpu_device *adev, unsigned vmid) in gfx_v8_0_update_spm_vmid()
5645 static void gfx_v8_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_medium_grain_clock_gating()
5749 static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_coarse_grain_clock_gating()
5841 static int gfx_v8_0_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_update_gfx_clock_gating()
5860 static int gfx_v8_0_tonga_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_tonga_update_gfx_clock_gating()
5909 static int gfx_v8_0_polaris_update_gfx_clock_gating(struct amdgpu_device *adev, in gfx_v8_0_polaris_update_gfx_clock_gating()
6010 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v8_0_set_clockgating_state() local
6044 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_get_wptr_gfx() local
6055 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_gfx() local
6264 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_compute() local
6386 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_emit_rreg() local
6426 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_soft_recovery() local
6436 static void gfx_v8_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_gfx_eop_interrupt_state()
6443 static void gfx_v8_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_compute_eop_interrupt_state()
6494 static int gfx_v8_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_reg_fault_state()
6505 static int gfx_v8_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v8_0_set_priv_inst_fault_state()
6516 static int gfx_v8_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v8_0_set_eop_interrupt_state()
6555 static int gfx_v8_0_set_cp_ecc_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_cp_ecc_int_state()
6600 static int gfx_v8_0_set_sq_int_state(struct amdgpu_device *adev, in gfx_v8_0_set_sq_int_state()
6626 static int gfx_v8_0_eop_irq(struct amdgpu_device *adev, in gfx_v8_0_eop_irq()
6658 static void gfx_v8_0_fault(struct amdgpu_device *adev, in gfx_v8_0_fault()
6685 static int gfx_v8_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_reg_irq()
6694 static int gfx_v8_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v8_0_priv_inst_irq()
6703 static int gfx_v8_0_cp_ecc_error_irq(struct amdgpu_device *adev, in gfx_v8_0_cp_ecc_error_irq()
6711 static void gfx_v8_0_parse_sq_irq(struct amdgpu_device *adev, unsigned ih_data) in gfx_v8_0_parse_sq_irq()
6784 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, gfx.sq_work.work); in gfx_v8_0_sq_irq_work_func() local
6790 static int gfx_v8_0_sq_irq(struct amdgpu_device *adev, in gfx_v8_0_sq_irq()
6962 static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_ring_funcs()
7000 static void gfx_v8_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_irq_funcs()
7018 static void gfx_v8_0_set_rlc_funcs(struct amdgpu_device *adev) in gfx_v8_0_set_rlc_funcs()
7023 static void gfx_v8_0_set_gds_init(struct amdgpu_device *adev) in gfx_v8_0_set_gds_init()
7032 static void gfx_v8_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v8_0_set_user_cu_inactive_bitmap()
7046 static u32 gfx_v8_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v8_0_get_cu_active_bitmap()
7058 static void gfx_v8_0_get_cu_info(struct amdgpu_device *adev) in gfx_v8_0_get_cu_info()