Lines Matching defs:adev
902 static int gfx_v7_0_init_microcode(struct amdgpu_device *adev) in gfx_v7_0_init_microcode()
996 static void gfx_v7_0_free_microcode(struct amdgpu_device *adev) in gfx_v7_0_free_microcode()
1023 static void gfx_v7_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v7_0_tiling_mode_table_init()
1588 static void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, in gfx_v7_0_select_se_sh()
1621 static u32 gfx_v7_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v7_0_get_rb_active_bitmap()
1638 gfx_v7_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v7_0_raster_config()
1670 gfx_v7_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v7_0_write_harvested_raster_configs()
1787 static void gfx_v7_0_setup_rb(struct amdgpu_device *adev) in gfx_v7_0_setup_rb()
1855 static void gfx_v7_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_compute_vmid()
1893 static void gfx_v7_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_gds_vmid()
1911 static void gfx_v7_0_config_init(struct amdgpu_device *adev) in gfx_v7_0_config_init()
1924 static void gfx_v7_0_constants_init(struct amdgpu_device *adev) in gfx_v7_0_constants_init()
2069 static void gfx_v7_0_scratch_init(struct amdgpu_device *adev) in gfx_v7_0_scratch_init()
2089 struct amdgpu_device *adev = ring->adev; in gfx_v7_0_ring_test_ring() local
2354 struct amdgpu_device *adev = ring->adev; in gfx_v7_0_ring_test_ib() local
2432 static void gfx_v7_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable) in gfx_v7_0_cp_gfx_enable()
2454 static int gfx_v7_0_cp_gfx_load_microcode(struct amdgpu_device *adev) in gfx_v7_0_cp_gfx_load_microcode()
2523 static int gfx_v7_0_cp_gfx_start(struct amdgpu_device *adev) in gfx_v7_0_cp_gfx_start()
2599 static int gfx_v7_0_cp_gfx_resume(struct amdgpu_device *adev) in gfx_v7_0_cp_gfx_resume()
2665 struct amdgpu_device *adev = ring->adev; in gfx_v7_0_ring_get_wptr_gfx() local
2672 struct amdgpu_device *adev = ring->adev; in gfx_v7_0_ring_set_wptr_gfx() local
2686 struct amdgpu_device *adev = ring->adev; in gfx_v7_0_ring_set_wptr_compute() local
2701 static void gfx_v7_0_cp_compute_enable(struct amdgpu_device *adev, bool enable) in gfx_v7_0_cp_compute_enable()
2723 static int gfx_v7_0_cp_compute_load_microcode(struct amdgpu_device *adev) in gfx_v7_0_cp_compute_load_microcode()
2784 static void gfx_v7_0_cp_compute_fini(struct amdgpu_device *adev) in gfx_v7_0_cp_compute_fini()
2795 static void gfx_v7_0_mec_fini(struct amdgpu_device *adev) in gfx_v7_0_mec_fini()
2800 static int gfx_v7_0_mec_init(struct amdgpu_device *adev) in gfx_v7_0_mec_init()
2874 static void gfx_v7_0_compute_pipe_init(struct amdgpu_device *adev, in gfx_v7_0_compute_pipe_init()
2904 static int gfx_v7_0_mqd_deactivate(struct amdgpu_device *adev) in gfx_v7_0_mqd_deactivate()
2928 static void gfx_v7_0_mqd_init(struct amdgpu_device *adev, in gfx_v7_0_mqd_init()
3048 int gfx_v7_0_mqd_commit(struct amdgpu_device *adev, struct cik_mqd *mqd) in gfx_v7_0_mqd_commit()
3073 static int gfx_v7_0_compute_queue_init(struct amdgpu_device *adev, int ring_id) in gfx_v7_0_compute_queue_init()
3112 static int gfx_v7_0_cp_compute_resume(struct amdgpu_device *adev) in gfx_v7_0_cp_compute_resume()
3147 static void gfx_v7_0_cp_enable(struct amdgpu_device *adev, bool enable) in gfx_v7_0_cp_enable()
3153 static int gfx_v7_0_cp_load_microcode(struct amdgpu_device *adev) in gfx_v7_0_cp_load_microcode()
3167 static void gfx_v7_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, in gfx_v7_0_enable_gui_idle_interrupt()
3181 static int gfx_v7_0_cp_resume(struct amdgpu_device *adev) in gfx_v7_0_cp_resume()
3300 static int gfx_v7_0_rlc_init(struct amdgpu_device *adev) in gfx_v7_0_rlc_init()
3352 static void gfx_v7_0_enable_lbpw(struct amdgpu_device *adev, bool enable) in gfx_v7_0_enable_lbpw()
3364 static void gfx_v7_0_wait_for_rlc_serdes(struct amdgpu_device *adev) in gfx_v7_0_wait_for_rlc_serdes()
3394 static void gfx_v7_0_update_rlc(struct amdgpu_device *adev, u32 rlc) in gfx_v7_0_update_rlc()
3403 static u32 gfx_v7_0_halt_rlc(struct amdgpu_device *adev) in gfx_v7_0_halt_rlc()
3427 static bool gfx_v7_0_is_rlc_enabled(struct amdgpu_device *adev) in gfx_v7_0_is_rlc_enabled()
3432 static void gfx_v7_0_set_safe_mode(struct amdgpu_device *adev) in gfx_v7_0_set_safe_mode()
3454 static void gfx_v7_0_unset_safe_mode(struct amdgpu_device *adev) in gfx_v7_0_unset_safe_mode()
3469 static void gfx_v7_0_rlc_stop(struct amdgpu_device *adev) in gfx_v7_0_rlc_stop()
3485 static void gfx_v7_0_rlc_start(struct amdgpu_device *adev) in gfx_v7_0_rlc_start()
3494 static void gfx_v7_0_rlc_reset(struct amdgpu_device *adev) in gfx_v7_0_rlc_reset()
3515 static int gfx_v7_0_rlc_resume(struct amdgpu_device *adev) in gfx_v7_0_rlc_resume()
3573 static void gfx_v7_0_enable_cgcg(struct amdgpu_device *adev, bool enable) in gfx_v7_0_enable_cgcg()
3616 static void gfx_v7_0_enable_mgcg(struct amdgpu_device *adev, bool enable) in gfx_v7_0_enable_mgcg()
3701 static void gfx_v7_0_update_cg(struct amdgpu_device *adev, in gfx_v7_0_update_cg()
3716 static void gfx_v7_0_enable_sclk_slowdown_on_pu(struct amdgpu_device *adev, in gfx_v7_0_enable_sclk_slowdown_on_pu()
3730 static void gfx_v7_0_enable_sclk_slowdown_on_pd(struct amdgpu_device *adev, in gfx_v7_0_enable_sclk_slowdown_on_pd()
3744 static void gfx_v7_0_enable_cp_pg(struct amdgpu_device *adev, bool enable) in gfx_v7_0_enable_cp_pg()
3757 static void gfx_v7_0_enable_gds_pg(struct amdgpu_device *adev, bool enable) in gfx_v7_0_enable_gds_pg()
3770 static int gfx_v7_0_cp_pg_table_num(struct amdgpu_device *adev) in gfx_v7_0_cp_pg_table_num()
3778 static void gfx_v7_0_enable_gfx_cgpg(struct amdgpu_device *adev, in gfx_v7_0_enable_gfx_cgpg()
3808 static void gfx_v7_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v7_0_set_user_cu_inactive_bitmap()
3822 static u32 gfx_v7_0_get_cu_active_bitmap(struct amdgpu_device *adev) in gfx_v7_0_get_cu_active_bitmap()
3837 static void gfx_v7_0_init_ao_cu_mask(struct amdgpu_device *adev) in gfx_v7_0_init_ao_cu_mask()
3849 static void gfx_v7_0_enable_gfx_static_mgpg(struct amdgpu_device *adev, in gfx_v7_0_enable_gfx_static_mgpg()
3863 static void gfx_v7_0_enable_gfx_dynamic_mgpg(struct amdgpu_device *adev, in gfx_v7_0_enable_gfx_dynamic_mgpg()
3880 static void gfx_v7_0_init_gfx_cgpg(struct amdgpu_device *adev) in gfx_v7_0_init_gfx_cgpg()
3929 static void gfx_v7_0_update_gfx_pg(struct amdgpu_device *adev, bool enable) in gfx_v7_0_update_gfx_pg()
3936 static u32 gfx_v7_0_get_csb_size(struct amdgpu_device *adev) in gfx_v7_0_get_csb_size()
3968 static void gfx_v7_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v7_0_get_csb_buffer()
4034 static void gfx_v7_0_init_pg(struct amdgpu_device *adev) in gfx_v7_0_init_pg()
4054 static void gfx_v7_0_fini_pg(struct amdgpu_device *adev) in gfx_v7_0_fini_pg()
4078 static uint64_t gfx_v7_0_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v7_0_get_gpu_clock_counter()
4131 struct amdgpu_device *adev = ring->adev; in gfx_v7_0_ring_soft_recovery() local
4141 static uint32_t wave_read_ind(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t ad… in wave_read_ind()
4151 static void wave_read_regs(struct amdgpu_device *adev, uint32_t simd, in wave_read_regs()
4166 static void gfx_v7_0_read_wave_data(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint3… in gfx_v7_0_read_wave_data()
4190 static void gfx_v7_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, in gfx_v7_0_read_wave_sgprs()
4199 static void gfx_v7_0_select_me_pipe_q(struct amdgpu_device *adev, in gfx_v7_0_select_me_pipe_q()
4229 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_early_init() local
4244 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_late_init() local
4258 static void gfx_v7_0_gpu_early_init(struct amdgpu_device *adev) in gfx_v7_0_gpu_early_init()
4398 static int gfx_v7_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, in gfx_v7_0_compute_ring_init()
4432 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_sw_init() local
4526 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_sw_fini() local
4553 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_hw_init() local
4571 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_hw_fini() local
4584 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_suspend() local
4591 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_resume() local
4598 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_is_idle() local
4610 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_wait_for_idle() local
4627 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_soft_reset() local
4702 static void gfx_v7_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v7_0_set_gfx_eop_interrupt_state()
4723 static void gfx_v7_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v7_0_set_compute_eop_interrupt_state()
4774 static int gfx_v7_0_set_priv_reg_fault_state(struct amdgpu_device *adev, in gfx_v7_0_set_priv_reg_fault_state()
4799 static int gfx_v7_0_set_priv_inst_fault_state(struct amdgpu_device *adev, in gfx_v7_0_set_priv_inst_fault_state()
4824 static int gfx_v7_0_set_eop_interrupt_state(struct amdgpu_device *adev, in gfx_v7_0_set_eop_interrupt_state()
4863 static int gfx_v7_0_eop_irq(struct amdgpu_device *adev, in gfx_v7_0_eop_irq()
4890 static void gfx_v7_0_fault(struct amdgpu_device *adev, in gfx_v7_0_fault()
4914 static int gfx_v7_0_priv_reg_irq(struct amdgpu_device *adev, in gfx_v7_0_priv_reg_irq()
4923 static int gfx_v7_0_priv_inst_irq(struct amdgpu_device *adev, in gfx_v7_0_priv_inst_irq()
4937 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_set_clockgating_state() local
4960 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gfx_v7_0_set_powergating_state() local
5059 static void gfx_v7_0_set_ring_funcs(struct amdgpu_device *adev) in gfx_v7_0_set_ring_funcs()
5084 static void gfx_v7_0_set_irq_funcs(struct amdgpu_device *adev) in gfx_v7_0_set_irq_funcs()
5096 static void gfx_v7_0_set_gds_init(struct amdgpu_device *adev) in gfx_v7_0_set_gds_init()
5106 static void gfx_v7_0_get_cu_info(struct amdgpu_device *adev) in gfx_v7_0_get_cu_info()