Lines Matching refs:guc

19 	struct intel_guc *guc = m->private;  in guc_info_show()  local
22 if (!intel_guc_is_supported(guc)) in guc_info_show()
25 intel_guc_load_status(guc, &p); in guc_info_show()
27 intel_guc_log_info(&guc->log, &p); in guc_info_show()
29 if (!intel_guc_submission_is_used(guc)) in guc_info_show()
32 intel_guc_ct_print_info(&guc->ct, &p); in guc_info_show()
33 intel_guc_submission_print_info(guc, &p); in guc_info_show()
34 intel_guc_ads_print_policy_info(guc, &p); in guc_info_show()
42 struct intel_guc *guc = m->private; in guc_registered_contexts_show() local
45 if (!intel_guc_submission_is_used(guc)) in guc_registered_contexts_show()
48 intel_guc_submission_print_context_info(guc, &p); in guc_registered_contexts_show()
56 struct intel_guc *guc = m->private; in guc_slpc_info_show() local
57 struct intel_guc_slpc *slpc = &guc->slpc; in guc_slpc_info_show()
60 if (!intel_guc_slpc_is_used(guc)) in guc_slpc_info_show()
69 struct intel_guc *guc = (struct intel_guc *)data; in intel_eval_slpc_support() local
71 return intel_guc_slpc_is_used(guc); in intel_eval_slpc_support()
76 struct intel_guc *guc = data; in guc_sched_disable_delay_ms_get() local
78 if (!intel_guc_submission_is_used(guc)) in guc_sched_disable_delay_ms_get()
81 *val = (u64)guc->submission_state.sched_disable_delay_ms; in guc_sched_disable_delay_ms_get()
88 struct intel_guc *guc = data; in guc_sched_disable_delay_ms_set() local
90 if (!intel_guc_submission_is_used(guc)) in guc_sched_disable_delay_ms_set()
94 guc->submission_state.sched_disable_delay_ms = min_t(u64, val, 60000); in guc_sched_disable_delay_ms_set()
104 struct intel_guc *guc = data; in guc_sched_disable_gucid_threshold_get() local
106 if (!intel_guc_submission_is_used(guc)) in guc_sched_disable_gucid_threshold_get()
109 *val = guc->submission_state.sched_disable_gucid_threshold; in guc_sched_disable_gucid_threshold_get()
115 struct intel_guc *guc = data; in guc_sched_disable_gucid_threshold_set() local
117 if (!intel_guc_submission_is_used(guc)) in guc_sched_disable_gucid_threshold_set()
120 if (val > intel_guc_sched_disable_gucid_threshold_max(guc)) in guc_sched_disable_gucid_threshold_set()
121 guc->submission_state.sched_disable_gucid_threshold = in guc_sched_disable_gucid_threshold_set()
122 intel_guc_sched_disable_gucid_threshold_max(guc); in guc_sched_disable_gucid_threshold_set()
124 guc->submission_state.sched_disable_gucid_threshold = val; in guc_sched_disable_gucid_threshold_set()
132 void intel_guc_debugfs_register(struct intel_guc *guc, struct dentry *root) in intel_guc_debugfs_register() argument
143 if (!intel_guc_is_supported(guc)) in intel_guc_debugfs_register()
146 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), guc); in intel_guc_debugfs_register()
147 intel_guc_log_debugfs_register(&guc->log, root); in intel_guc_debugfs_register()