Lines Matching defs:scsi_host_template
49 struct scsi_host_template { struct
59 int (* detect)(struct scsi_host_template *); argument
66 int (* release)(struct Scsi_Host *);
75 const char *(* info)(struct Scsi_Host *);
82 int (* ioctl)(struct scsi_device *dev, int cmd, void __user *arg);
92 int (* compat_ioctl)(struct scsi_device *dev, int cmd, void __user *arg);
127 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
147 int (* eh_abort_handler)(struct scsi_cmnd *);
148 int (* eh_device_reset_handler)(struct scsi_cmnd *);
149 int (* eh_target_reset_handler)(struct scsi_cmnd *);
150 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
151 int (* eh_host_reset_handler)(struct scsi_cmnd *);
179 int (* slave_alloc)(struct scsi_device *);
210 int (* slave_configure)(struct scsi_device *);
221 void (* slave_destroy)(struct scsi_device *);
235 int (* target_alloc)(struct scsi_target *);
245 void (* target_destroy)(struct scsi_target *);
256 int (* scan_finished)(struct Scsi_Host *, unsigned long);
265 void (* scan_start)(struct Scsi_Host *);
278 int (* change_queue_depth)(struct scsi_device *, int);
288 int (* bios_param)(struct scsi_device *, struct block_device *,
297 void (*unlock_native_capacity)(struct scsi_device *);
306 int (*show_info)(struct seq_file *, struct Scsi_Host *);
307 int (*write_info)(struct Scsi_Host *, char *, int);
320 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
330 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
338 const char *proc_name;
344 struct proc_dir_entry *proc_dir;
351 int can_queue;
360 int this_id;
366 unsigned short sg_tablesize;
367 unsigned short sg_prot_tablesize;
372 unsigned int max_sectors;
378 unsigned long dma_boundary;
397 short cmd_per_lun;
403 unsigned char present;
406 int tag_alloc_policy;
411 unsigned track_queue_depth:1;
416 unsigned supported_mode:2;
421 unsigned unchecked_isa_dma:1;
431 unsigned use_clustering:1;
436 unsigned emulated:1;
441 unsigned skip_settle_delay:1;
444 unsigned no_write_same:1;
449 unsigned no_async_abort:1;
454 unsigned int max_host_blocked;
468 struct device_attribute **shost_attrs;
473 struct device_attribute **sdev_attrs;
482 struct list_head legacy_hosts;
491 u64 vendor_id;
496 unsigned int cmd_size;
497 struct scsi_host_cmd_pool *cmd_pool;
500 bool disable_blk_mq;