Lines Matching defs:us_data
52 struct us_data;
64 int (*initFunction)(struct us_data *);
89 typedef int (*trans_cmnd)(struct scsi_cmnd *, struct us_data*);
90 typedef int (*trans_reset)(struct us_data*);
91 typedef void (*proto_cmnd)(struct scsi_cmnd*, struct us_data*);
93 typedef void (*pm_hook)(struct us_data *, int); /* power management hook */
99 struct us_data {
163 /* Convert between us_data and the corresponding Scsi_Host */
164 static inline struct Scsi_Host *us_to_host(struct us_data *us) {
167 static inline struct us_data *host_to_us(struct Scsi_Host *host) {
168 return (struct us_data *) host->hostdata;
172 extern void fill_inquiry_response(struct us_data *us,
194 extern int usb_stor_probe1(struct us_data **pus,
198 extern int usb_stor_probe2(struct us_data *us);