Searched refs:uc_fw (Results 1 – 2 of 2) sorted by relevance
40 struct intel_uc_fw *uc_fw) in intel_uc_fw_fetch() argument50 intel_uc_fw_type_repr(uc_fw->type), uc_fw->path); in intel_uc_fw_fetch()52 if (!uc_fw->path) in intel_uc_fw_fetch()55 uc_fw->fetch_status = INTEL_UC_FIRMWARE_PENDING; in intel_uc_fw_fetch()57 intel_uc_fw_type_repr(uc_fw->type), in intel_uc_fw_fetch()58 intel_uc_fw_status_repr(uc_fw->fetch_status)); in intel_uc_fw_fetch()60 err = request_firmware(&fw, uc_fw->path, &pdev->dev); in intel_uc_fw_fetch()63 intel_uc_fw_type_repr(uc_fw->type), err); in intel_uc_fw_fetch()68 intel_uc_fw_type_repr(uc_fw->type), fw->size, fw); in intel_uc_fw_fetch()73 intel_uc_fw_type_repr(uc_fw->type), in intel_uc_fw_fetch()[all …]
105 void intel_uc_fw_init(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) in intel_uc_fw_init() argument107 uc_fw->path = NULL; in intel_uc_fw_init()108 uc_fw->fetch_status = INTEL_UC_FIRMWARE_NONE; in intel_uc_fw_init()109 uc_fw->load_status = INTEL_UC_FIRMWARE_NONE; in intel_uc_fw_init()110 uc_fw->type = type; in intel_uc_fw_init()113 static inline bool intel_uc_fw_is_selected(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_selected() argument115 return uc_fw->path != NULL; in intel_uc_fw_is_selected()118 static inline void intel_uc_fw_sanitize(struct intel_uc_fw *uc_fw) in intel_uc_fw_sanitize() argument120 if (uc_fw->load_status == INTEL_UC_FIRMWARE_SUCCESS) in intel_uc_fw_sanitize()121 uc_fw->load_status = INTEL_UC_FIRMWARE_PENDING; in intel_uc_fw_sanitize()[all …]