Lines Matching refs:huc
27 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()
39 static inline bool intel_huc_is_supported(struct intel_huc *huc) in intel_huc_is_supported() argument
41 return intel_uc_fw_is_supported(&huc->fw); in intel_huc_is_supported()
44 static inline bool intel_huc_is_wanted(struct intel_huc *huc) in intel_huc_is_wanted() argument
46 return intel_uc_fw_is_enabled(&huc->fw); in intel_huc_is_wanted()
49 static inline bool intel_huc_is_used(struct intel_huc *huc) in intel_huc_is_used() argument
51 GEM_BUG_ON(__intel_uc_fw_status(&huc->fw) == INTEL_UC_FIRMWARE_SELECTED); in intel_huc_is_used()
52 return intel_uc_fw_is_available(&huc->fw); in intel_huc_is_used()
55 static inline bool intel_huc_is_authenticated(struct intel_huc *huc) in intel_huc_is_authenticated() argument
57 return intel_uc_fw_is_running(&huc->fw); in intel_huc_is_authenticated()
60 void intel_huc_load_status(struct intel_huc *huc, struct drm_printer *p);