/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __USB_UAS_H__ #define __USB_UAS_H__ #include <scsi/scsi.h> #include <scsi/scsi_cmnd.h> /* Common header for all IUs */ struct iu { … } __attribute__((packed)); enum { … }; enum { … }; enum { … }; struct command_iu { … } __attribute__((packed)); struct task_mgmt_iu { … } __attribute__((packed)); /* * Also used for the Read Ready and Write Ready IUs since they have the * same first four bytes */ struct sense_iu { … } __attribute__((packed)); struct response_iu { … } __attribute__((packed)); struct usb_pipe_usage_descriptor { … } __attribute__((packed)); enum { … }; #endif