Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/greybus/Documentation/firmware/
H A Dfirmware.c32 static struct fw_mgmt_ioc_intf_load_and_validate intf_load; variable
61 intf_load.load_method = GB_FW_U_LOAD_METHOD_UNIPRO; in update_intf_firmware()
62 intf_load.status = 0; in update_intf_firmware()
63 intf_load.major = 0; in update_intf_firmware()
64 intf_load.minor = 0; in update_intf_firmware()
66 strncpy((char *)&intf_load.firmware_tag, firmware_tag, in update_intf_firmware()
76 if (intf_load.status != GB_FW_U_LOAD_STATUS_VALIDATED && in update_intf_firmware()
77 intf_load.status != GB_FW_U_LOAD_STATUS_UNVALIDATED) { in update_intf_firmware()
79 intf_load.status); in update_intf_firmware()
84 firmware_tag, intf_load.major, intf_load.minor, in update_intf_firmware()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Dfw-management.c412 struct fw_mgmt_ioc_intf_load_and_validate intf_load; in fw_mgmt_ioctl() local
448 if (copy_from_user(&intf_load, buf, sizeof(intf_load))) in fw_mgmt_ioctl()
452 intf_load.load_method, intf_load.firmware_tag); in fw_mgmt_ioctl()
462 intf_load.status = fw_mgmt->intf_fw_status; in fw_mgmt_ioctl()
463 intf_load.major = fw_mgmt->intf_fw_major; in fw_mgmt_ioctl()
464 intf_load.minor = fw_mgmt->intf_fw_minor; in fw_mgmt_ioctl()
466 if (copy_to_user(buf, &intf_load, sizeof(intf_load))) in fw_mgmt_ioctl()