Lines Matching defs:scsi_host_template

30 struct scsi_host_template {  struct
39 unsigned int cmd_size;
75 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
85 void (*commit_rqs)(struct Scsi_Host *, u16);
87 struct module *module;
88 const char *name;
97 const char *(*info)(struct Scsi_Host *);
104 int (*ioctl)(struct scsi_device *dev, unsigned int cmd,
115 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd,
119 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
120 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
140 int (* eh_abort_handler)(struct scsi_cmnd *);
141 int (* eh_device_reset_handler)(struct scsi_cmnd *);
142 int (* eh_target_reset_handler)(struct scsi_cmnd *);
143 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
144 int (* eh_host_reset_handler)(struct scsi_cmnd *);
172 int (* slave_alloc)(struct scsi_device *);
203 int (* slave_configure)(struct scsi_device *);
214 void (* slave_destroy)(struct scsi_device *);
228 int (* target_alloc)(struct scsi_target *);
238 void (* target_destroy)(struct scsi_target *);
249 int (* scan_finished)(struct Scsi_Host *, unsigned long);
258 void (* scan_start)(struct Scsi_Host *);
271 int (* change_queue_depth)(struct scsi_device *, int);
279 int (* map_queues)(struct Scsi_Host *shost);
289 int (* mq_poll)(struct Scsi_Host *shost, unsigned int queue_num);
296 bool (* dma_need_drain)(struct request *rq);
306 int (* bios_param)(struct scsi_device *, struct block_device *,
315 void (*unlock_native_capacity)(struct scsi_device *);
324 int (*show_info)(struct seq_file *, struct Scsi_Host *);
325 int (*write_info)(struct Scsi_Host *, char *, int);
334 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
340 bool (*eh_should_retry_cmd)(struct scsi_cmnd *scmd);
350 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
358 const char *proc_name;
364 struct proc_dir_entry *proc_dir;
371 int can_queue;
380 int this_id;
386 unsigned short sg_tablesize;
387 unsigned short sg_prot_tablesize;
392 unsigned int max_sectors;
397 unsigned int max_segment_size;
403 unsigned long dma_boundary;
405 unsigned long virt_boundary_mask;
424 short cmd_per_lun;
430 unsigned char present;
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;