Lines Matching defs:scsi_host_template

33 struct scsi_host_template {  struct
34 struct module *module;
35 const char *name;
44 const char *(* info)(struct Scsi_Host *);
51 int (*ioctl)(struct scsi_device *dev, unsigned int cmd,
62 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd,
66 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
67 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
103 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
113 void (*commit_rqs)(struct Scsi_Host *, u16);
133 int (* eh_abort_handler)(struct scsi_cmnd *);
134 int (* eh_device_reset_handler)(struct scsi_cmnd *);
135 int (* eh_target_reset_handler)(struct scsi_cmnd *);
136 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
137 int (* eh_host_reset_handler)(struct scsi_cmnd *);
165 int (* slave_alloc)(struct scsi_device *);
196 int (* slave_configure)(struct scsi_device *);
207 void (* slave_destroy)(struct scsi_device *);
221 int (* target_alloc)(struct scsi_target *);
231 void (* target_destroy)(struct scsi_target *);
242 int (* scan_finished)(struct Scsi_Host *, unsigned long);
251 void (* scan_start)(struct Scsi_Host *);
264 int (* change_queue_depth)(struct scsi_device *, int);
272 int (* map_queues)(struct Scsi_Host *shost);
279 bool (* dma_need_drain)(struct request *rq);
289 int (* bios_param)(struct scsi_device *, struct block_device *,
298 void (*unlock_native_capacity)(struct scsi_device *);
307 int (*show_info)(struct seq_file *, struct Scsi_Host *);
308 int (*write_info)(struct Scsi_Host *, char *, int);
317 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
327 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
335 const char *proc_name;
341 struct proc_dir_entry *proc_dir;
348 int can_queue;
357 int this_id;
363 unsigned short sg_tablesize;
364 unsigned short sg_prot_tablesize;
369 unsigned int max_sectors;
374 unsigned int max_segment_size;
380 unsigned long dma_boundary;
382 unsigned long virt_boundary_mask;
401 short cmd_per_lun;
407 unsigned char present;
410 int tag_alloc_policy;
415 unsigned track_queue_depth:1;
420 unsigned supported_mode:2;
425 unsigned unchecked_isa_dma:1;
430 unsigned emulated:1;
435 unsigned skip_settle_delay:1;
438 unsigned no_write_same:1;
441 unsigned host_tagset:1;
446 unsigned int max_host_blocked;
460 struct device_attribute **shost_attrs;
465 struct device_attribute **sdev_attrs;
471 const struct attribute_group **sdev_groups;
480 u64 vendor_id;
485 unsigned int cmd_size;
486 struct scsi_host_cmd_pool *cmd_pool;
489 int rpm_autosuspend_delay;