Home
last modified time | relevance | path

Searched refs:uc_fw (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_uc_fw.c40 struct intel_uc_fw *uc_fw) in intel_uc_fw_fetch() argument
50 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 …]
Dintel_uc_fw.h105 void intel_uc_fw_init(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) in intel_uc_fw_init() argument
107 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() argument
115 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() argument
120 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 …]