Lines Matching defs:scsi_host_template
42 struct scsi_host_template { struct
51 unsigned int cmd_size;
87 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
97 void (*commit_rqs)(struct Scsi_Host *, u16);
99 struct module *module;
100 const char *name;
109 const char *(*info)(struct Scsi_Host *);
116 int (*ioctl)(struct scsi_device *dev, unsigned int cmd,
127 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd,
131 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
132 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
152 int (* eh_abort_handler)(struct scsi_cmnd *);
153 int (* eh_device_reset_handler)(struct scsi_cmnd *);
154 int (* eh_target_reset_handler)(struct scsi_cmnd *);
155 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
156 int (* eh_host_reset_handler)(struct scsi_cmnd *);
184 int (* slave_alloc)(struct scsi_device *);
215 int (* slave_configure)(struct scsi_device *);
226 void (* slave_destroy)(struct scsi_device *);
240 int (* target_alloc)(struct scsi_target *);
250 void (* target_destroy)(struct scsi_target *);
261 int (* scan_finished)(struct Scsi_Host *, unsigned long);
270 void (* scan_start)(struct Scsi_Host *);
283 int (* change_queue_depth)(struct scsi_device *, int);
291 void (* map_queues)(struct Scsi_Host *shost);
301 int (* mq_poll)(struct Scsi_Host *shost, unsigned int queue_num);
308 bool (* dma_need_drain)(struct request *rq);
318 int (* bios_param)(struct scsi_device *, struct block_device *,
327 void (*unlock_native_capacity)(struct scsi_device *);
336 int (*show_info)(struct seq_file *, struct Scsi_Host *);
337 int (*write_info)(struct Scsi_Host *, char *, int);
346 enum scsi_timeout_action (*eh_timed_out)(struct scsi_cmnd *);
352 bool (*eh_should_retry_cmd)(struct scsi_cmnd *scmd);
362 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
370 const char *proc_name;
377 int can_queue;
386 int this_id;
392 unsigned short sg_tablesize;
393 unsigned short sg_prot_tablesize;
398 unsigned int max_sectors;
403 unsigned int max_segment_size;
409 unsigned long dma_boundary;
411 unsigned long virt_boundary_mask;
430 short cmd_per_lun;
433 int tag_alloc_policy;
438 unsigned track_queue_depth:1;
443 unsigned supported_mode:2;
448 unsigned emulated:1;
453 unsigned skip_settle_delay:1;
456 unsigned no_write_same:1;
459 unsigned host_tagset:1;
464 unsigned int max_host_blocked;
478 const struct attribute_group **shost_groups;
484 const struct attribute_group **sdev_groups;
493 u64 vendor_id;
496 int rpm_autosuspend_delay;