Lines Matching defs:us_data
38 struct us_data;
50 int (*initFunction)(struct us_data *);
77 typedef int (*trans_cmnd)(struct scsi_cmnd *, struct us_data*);
78 typedef int (*trans_reset)(struct us_data*);
79 typedef void (*proto_cmnd)(struct scsi_cmnd*, struct us_data*);
81 typedef void (*pm_hook)(struct us_data *, int); /* power management hook */
87 struct us_data {
153 /* Convert between us_data and the corresponding Scsi_Host */
154 static inline struct Scsi_Host *us_to_host(struct us_data *us) {
157 static inline struct us_data *host_to_us(struct Scsi_Host *host) {
158 return (struct us_data *) host->hostdata;
162 extern void fill_inquiry_response(struct us_data *us,
186 extern int usb_stor_probe1(struct us_data **pus,
191 extern int usb_stor_probe2(struct us_data *us);