Searched refs:backend_fw_info (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/staging/greybus/Documentation/firmware/ |
H A D | firmware.c | 31 static struct fw_mgmt_ioc_get_backend_version backend_fw_info; variable 104 strncpy((char *)&backend_fw_info.firmware_tag, firmware_tag, in update_backend_firmware() 108 ret = ioctl(fd, FW_MGMT_IOC_GET_BACKEND_FW, &backend_fw_info); in update_backend_firmware() 116 backend_fw_info.firmware_tag, backend_fw_info.major, in update_backend_firmware() 117 backend_fw_info.minor, backend_fw_info.status); in update_backend_firmware() 119 if (backend_fw_info.status == GB_FW_U_BACKEND_VERSION_STATUS_RETRY) in update_backend_firmware() 122 if ((backend_fw_info.status != GB_FW_U_BACKEND_VERSION_STATUS_SUCCESS) in update_backend_firmware() 123 && (backend_fw_info.status != GB_FW_U_BACKEND_VERSION_STATUS_NOT_AVAILABLE)) { in update_backend_firmware() 125 fwdev, backend_fw_info.status); in update_backend_firmware()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | fw-management.c | 411 struct fw_mgmt_ioc_get_backend_version backend_fw_info; in fw_mgmt_ioctl() local 433 if (copy_from_user(&backend_fw_info, buf, in fw_mgmt_ioctl() 434 sizeof(backend_fw_info))) in fw_mgmt_ioctl() 438 &backend_fw_info); in fw_mgmt_ioctl() 442 if (copy_to_user(buf, &backend_fw_info, in fw_mgmt_ioctl() 443 sizeof(backend_fw_info))) in fw_mgmt_ioctl()
|