Lines Matching defs:scsi_host_template
45 struct scsi_host_template { struct
46 struct module *module;
47 const char *name;
56 const char *(* info)(struct Scsi_Host *);
63 int (*ioctl)(struct scsi_device *dev, unsigned int cmd,
74 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd,
112 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
122 void (*commit_rqs)(struct Scsi_Host *, u16);
142 int (* eh_abort_handler)(struct scsi_cmnd *);
143 int (* eh_device_reset_handler)(struct scsi_cmnd *);
144 int (* eh_target_reset_handler)(struct scsi_cmnd *);
145 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
146 int (* eh_host_reset_handler)(struct scsi_cmnd *);
174 int (* slave_alloc)(struct scsi_device *);
205 int (* slave_configure)(struct scsi_device *);
216 void (* slave_destroy)(struct scsi_device *);
230 int (* target_alloc)(struct scsi_target *);
240 void (* target_destroy)(struct scsi_target *);
251 int (* scan_finished)(struct Scsi_Host *, unsigned long);
260 void (* scan_start)(struct Scsi_Host *);
273 int (* change_queue_depth)(struct scsi_device *, int);
281 int (* map_queues)(struct Scsi_Host *shost);
291 int (* bios_param)(struct scsi_device *, struct block_device *,
300 void (*unlock_native_capacity)(struct scsi_device *);
309 int (*show_info)(struct seq_file *, struct Scsi_Host *);
310 int (*write_info)(struct Scsi_Host *, char *, int);
319 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
329 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
337 const char *proc_name;
343 struct proc_dir_entry *proc_dir;
350 int can_queue;
359 int this_id;
365 unsigned short sg_tablesize;
366 unsigned short sg_prot_tablesize;
371 unsigned int max_sectors;
376 unsigned int max_segment_size;
382 unsigned long dma_boundary;
384 unsigned long virt_boundary_mask;
403 short cmd_per_lun;
409 unsigned char present;
412 int tag_alloc_policy;
417 unsigned track_queue_depth:1;
422 unsigned supported_mode:2;
427 unsigned unchecked_isa_dma:1;
432 unsigned emulated:1;
437 unsigned skip_settle_delay:1;
440 unsigned no_write_same:1;
443 unsigned force_blk_mq:1;
448 unsigned int max_host_blocked;
462 struct device_attribute **shost_attrs;
467 struct device_attribute **sdev_attrs;
473 const struct attribute_group **sdev_groups;
482 u64 vendor_id;
487 unsigned int cmd_size;
488 struct scsi_host_cmd_pool *cmd_pool;