Home
last modified time | relevance | path

Searched refs:huc (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_huc.c51 huc->status.reg = HUC_STATUS2; in intel_huc_init_early()
97 if (copied < huc->fw.rsa_size) { in intel_huc_rsa_data_create()
102 huc->rsa_data = vma; in intel_huc_rsa_data_create()
139 intel_uc_fw_fini(&huc->fw); in intel_huc_init()
150 intel_huc_rsa_data_destroy(huc); in intel_huc_fini()
151 intel_uc_fw_fini(&huc->fw); in intel_huc_fini()
188 huc->status.reg, in intel_huc_auth()
189 huc->status.mask, in intel_huc_auth()
190 huc->status.value, in intel_huc_auth()
243 return (status & huc->status.mask) == huc->status.value; in intel_huc_check_status()
[all …]
A Dintel_huc.h27 void intel_huc_init_early(struct intel_huc *huc);
28 int intel_huc_init(struct intel_huc *huc);
29 void intel_huc_fini(struct intel_huc *huc);
30 int intel_huc_auth(struct intel_huc *huc);
31 int intel_huc_check_status(struct intel_huc *huc);
33 static inline int intel_huc_sanitize(struct intel_huc *huc) in intel_huc_sanitize() argument
35 intel_uc_fw_sanitize(&huc->fw); in intel_huc_sanitize()
41 return intel_uc_fw_is_supported(&huc->fw); in intel_huc_is_supported()
46 return intel_uc_fw_is_enabled(&huc->fw); in intel_huc_is_wanted()
52 return intel_uc_fw_is_available(&huc->fw); in intel_huc_is_used()
[all …]
A Dintel_huc_debugfs.c14 struct intel_huc *huc = m->private; in huc_info_show() local
17 if (!intel_huc_is_supported(huc)) in huc_info_show()
20 intel_huc_load_status(huc, &p); in huc_info_show()
26 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root) in intel_huc_debugfs_register() argument
32 if (!intel_huc_is_supported(huc)) in intel_huc_debugfs_register()
35 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), huc); in intel_huc_debugfs_register()
A Dintel_uc.c121 intel_huc_init_early(&uc->huc); in intel_uc_init_early()
308 struct intel_huc *huc = &uc->huc; in __uc_init() local
324 ret = intel_huc_init(huc); in __uc_init()
338 intel_huc_fini(&uc->huc); in __uc_fini()
345 struct intel_huc *huc = &uc->huc; in __uc_sanitize() local
349 intel_huc_sanitize(huc); in __uc_sanitize()
438 struct intel_huc *huc = &uc->huc; in __uc_init_hw() local
474 intel_huc_fw_upload(huc); in __uc_init_hw()
493 intel_huc_auth(huc); in __uc_init_hw()
516 huc->fw.path, in __uc_init_hw()
[all …]
A Dintel_huc_fw.c22 int intel_huc_fw_upload(struct intel_huc *huc) in intel_huc_fw_upload() argument
25 return intel_uc_fw_upload(&huc->fw, 0, HUC_UKERNEL); in intel_huc_fw_upload()
A Dintel_uc.h31 struct intel_huc huc; member
86 uc_state_checkers(huc, huc);
A Dintel_huc_fw.h11 int intel_huc_fw_upload(struct intel_huc *huc);
A Dintel_huc_debugfs.h12 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root);
A Dintel_uc_debugfs.c58 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
A Dintel_uc_fw.c22 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_gt.h32 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt() argument
34 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
/linux/drivers/gpu/drm/i915/
A Di915_getparam.c99 value = intel_huc_check_status(&i915->gt.uc.huc); in i915_getparam_ioctl()
A Dintel_wopcm.c225 u32 huc_fw_size = intel_uc_fw_get_upload_size(&gt->uc.huc.fw); in intel_wopcm_init()
A Di915_gpu_error.c1545 memcpy(&error_uc->huc_fw, &uc->huc.fw, sizeof(uc->huc.fw)); in gt_record_uc()
1552 error_uc->huc_fw.path = kstrdup(uc->huc.fw.path, ALLOW_FAIL); in gt_record_uc()

Completed in 23 milliseconds