#ifndef __GREYBUS_FIRMWARE_USER_H
#define __GREYBUS_FIRMWARE_USER_H
#include <linux/ioctl.h>
#include <linux/types.h>
#define GB_FIRMWARE_U_TAG_MAX_SIZE …
#define GB_FW_U_LOAD_METHOD_UNIPRO …
#define GB_FW_U_LOAD_METHOD_INTERNAL …
#define GB_FW_U_LOAD_STATUS_FAILED …
#define GB_FW_U_LOAD_STATUS_UNVALIDATED …
#define GB_FW_U_LOAD_STATUS_VALIDATED …
#define GB_FW_U_LOAD_STATUS_VALIDATION_FAILED …
#define GB_FW_U_BACKEND_FW_STATUS_SUCCESS …
#define GB_FW_U_BACKEND_FW_STATUS_FAIL_FIND …
#define GB_FW_U_BACKEND_FW_STATUS_FAIL_FETCH …
#define GB_FW_U_BACKEND_FW_STATUS_FAIL_WRITE …
#define GB_FW_U_BACKEND_FW_STATUS_INT …
#define GB_FW_U_BACKEND_FW_STATUS_RETRY …
#define GB_FW_U_BACKEND_FW_STATUS_NOT_SUPPORTED …
#define GB_FW_U_BACKEND_VERSION_STATUS_SUCCESS …
#define GB_FW_U_BACKEND_VERSION_STATUS_NOT_AVAILABLE …
#define GB_FW_U_BACKEND_VERSION_STATUS_NOT_SUPPORTED …
#define GB_FW_U_BACKEND_VERSION_STATUS_RETRY …
#define GB_FW_U_BACKEND_VERSION_STATUS_FAIL_INT …
struct fw_mgmt_ioc_get_intf_version { … } __packed;
struct fw_mgmt_ioc_get_backend_version { … } __packed;
struct fw_mgmt_ioc_intf_load_and_validate { … } __packed;
struct fw_mgmt_ioc_backend_fw_update { … } __packed;
#define FW_MGMT_IOCTL_BASE …
#define FW_MGMT_IOC_GET_INTF_FW …
#define FW_MGMT_IOC_GET_BACKEND_FW …
#define FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE …
#define FW_MGMT_IOC_INTF_BACKEND_FW_UPDATE …
#define FW_MGMT_IOC_SET_TIMEOUT_MS …
#define FW_MGMT_IOC_MODE_SWITCH …
#endif