Home
last modified time | relevance | path

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

/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c711 } QEMU_PACKED *fw_transfer = (void *)payload_in; in cmd_firmware_update_transfer() local
714 if (len < sizeof(*fw_transfer)) { in cmd_firmware_update_transfer()
718 if (fw_transfer->action == CXL_FW_XFER_ACTION_ABORT) { in cmd_firmware_update_transfer()
729 offset = fw_transfer->offset * CXL_FW_XFER_ALIGNMENT; in cmd_firmware_update_transfer()
730 length = len - sizeof(*fw_transfer); in cmd_firmware_update_transfer()
736 if (fw_transfer->action == CXL_FW_XFER_ACTION_FULL || in cmd_firmware_update_transfer()
737 fw_transfer->action == CXL_FW_XFER_ACTION_INIT) { in cmd_firmware_update_transfer()
750 } else if (fw_transfer->action == CXL_FW_XFER_ACTION_CONTINUE || in cmd_firmware_update_transfer()
751 fw_transfer->action == CXL_FW_XFER_ACTION_END) { in cmd_firmware_update_transfer()
757 (fw_transfer->action == CXL_FW_XFER_ACTION_CONTINUE || in cmd_firmware_update_transfer()
[all …]