Lines Matching defs:firmware
23 #include <linux/firmware.h>
411 * address of the TMR (firmware should clear it anyway).
434 * address of the TMR (firmware should clear it anyway).
477 * status code, meaning that firmware load and validation of SEV
501 dev_dbg(sev->dev, "SEV firmware initialized\n");
540 dev_dbg(sev->dev, "SEV firmware shutdown\n");
730 const struct firmware **firmware)
756 if ((firmware_request_nowarn(firmware, fw_name_specific, dev) >= 0) ||
757 (firmware_request_nowarn(firmware, fw_name_subset, dev) >= 0) ||
758 (firmware_request_nowarn(firmware, SEV_FW_FILE, dev) >= 0))
768 const struct firmware *firmware;
778 if (sev_get_firmware(dev, &firmware) == -ENOENT) {
779 dev_dbg(dev, "No SEV firmware file present\n");
786 * beginning followed by the firmware being passed to the SEV
792 order = get_order(firmware->size + data_size);
800 * Copy firmware data to a kernel allocated contiguous
804 memcpy(page_address(p) + data_size, firmware->data, firmware->size);
807 data->len = firmware->size;
813 * earlier firmware version than 1.50.
819 dev_dbg(dev, "Failed to update SEV firmware: %#x\n", error);
821 dev_info(dev, "SEV firmware update successful\n");
826 release_firmware(firmware);
1189 * command to the firmware.
1352 /* Must flush the cache before giving it to the firmware */