Lines Matching refs:amdgpu_xcp_mgr

30 static void amdgpu_xcp_sysfs_entries_init(struct amdgpu_xcp_mgr *xcp_mgr);
31 static void amdgpu_xcp_sysfs_entries_update(struct amdgpu_xcp_mgr *xcp_mgr);
33 static int __amdgpu_xcp_run(struct amdgpu_xcp_mgr *xcp_mgr, in __amdgpu_xcp_run()
65 static int amdgpu_xcp_run_transition(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in amdgpu_xcp_run_transition()
86 int amdgpu_xcp_prepare_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_prepare_suspend()
92 int amdgpu_xcp_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_suspend()
97 int amdgpu_xcp_prepare_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_prepare_resume()
103 int amdgpu_xcp_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_resume()
108 static void __amdgpu_xcp_add_block(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in __amdgpu_xcp_add_block()
123 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init()
169 static int __amdgpu_xcp_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, in __amdgpu_xcp_switch_partition_mode()
202 int amdgpu_xcp_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, int mode) in amdgpu_xcp_switch_partition_mode()
213 int amdgpu_xcp_restore_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr) in amdgpu_xcp_restore_partition_mode()
221 static bool __amdgpu_xcp_is_cached_mode_valid(struct amdgpu_xcp_mgr *xcp_mgr) in __amdgpu_xcp_is_cached_mode_valid()
237 int amdgpu_xcp_query_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, u32 flags) in amdgpu_xcp_query_partition_mode()
311 struct amdgpu_xcp_mgr *xcp_mgr; in amdgpu_xcp_mgr_init()
337 int amdgpu_xcp_get_partition(struct amdgpu_xcp_mgr *xcp_mgr, in amdgpu_xcp_get_partition()
468 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_xcp_select_scheds()
612 void amdgpu_xcp_update_supported_modes(struct amdgpu_xcp_mgr *xcp_mgr) in amdgpu_xcp_update_supported_modes()
649 int amdgpu_xcp_pre_partition_switch(struct amdgpu_xcp_mgr *xcp_mgr, u32 flags) in amdgpu_xcp_pre_partition_switch()
661 int amdgpu_xcp_post_partition_switch(struct amdgpu_xcp_mgr *xcp_mgr, u32 flags) in amdgpu_xcp_post_partition_switch()
762 static int amdgpu_xcp_get_res_info(struct amdgpu_xcp_mgr *xcp_mgr, in amdgpu_xcp_get_res_info()
777 struct amdgpu_xcp_mgr *xcp_mgr = xcp_cfg->xcp_mgr; in supported_xcp_configs_show()
975 struct amdgpu_xcp_mgr *xcp_mgr; in xcp_metrics_show()
1016 static void amdgpu_xcp_sysfs_entries_fini(struct amdgpu_xcp_mgr *xcp_mgr, int n) in amdgpu_xcp_sysfs_entries_fini()
1029 static void amdgpu_xcp_sysfs_entries_init(struct amdgpu_xcp_mgr *xcp_mgr) in amdgpu_xcp_sysfs_entries_init()
1054 static void amdgpu_xcp_sysfs_entries_update(struct amdgpu_xcp_mgr *xcp_mgr) in amdgpu_xcp_sysfs_entries_update()