• Home
  • Raw
  • Download

Lines Matching defs:scsi_host_template

32 struct scsi_host_template {  struct
33 struct module *module;
34 const char *name;
43 const char *(* info)(struct Scsi_Host *);
50 int (*ioctl)(struct scsi_device *dev, unsigned int cmd,
61 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd,
65 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
66 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
102 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
112 void (*commit_rqs)(struct Scsi_Host *, u16);
132 int (* eh_abort_handler)(struct scsi_cmnd *);
133 int (* eh_device_reset_handler)(struct scsi_cmnd *);
134 int (* eh_target_reset_handler)(struct scsi_cmnd *);
135 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
136 int (* eh_host_reset_handler)(struct scsi_cmnd *);
164 int (* slave_alloc)(struct scsi_device *);
195 int (* slave_configure)(struct scsi_device *);
206 void (* slave_destroy)(struct scsi_device *);
220 int (* target_alloc)(struct scsi_target *);
230 void (* target_destroy)(struct scsi_target *);
241 int (* scan_finished)(struct Scsi_Host *, unsigned long);
250 void (* scan_start)(struct Scsi_Host *);
263 int (* change_queue_depth)(struct scsi_device *, int);
271 int (* map_queues)(struct Scsi_Host *shost);
278 bool (* dma_need_drain)(struct request *rq);
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);
316 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
326 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
334 const char *proc_name;
340 struct proc_dir_entry *proc_dir;
347 int can_queue;
356 int this_id;
362 unsigned short sg_tablesize;
363 unsigned short sg_prot_tablesize;
368 unsigned int max_sectors;
373 unsigned int max_segment_size;
379 unsigned long dma_boundary;
381 unsigned long virt_boundary_mask;
400 short cmd_per_lun;
406 unsigned char present;
409 int tag_alloc_policy;
414 unsigned track_queue_depth:1;
419 unsigned supported_mode:2;
424 unsigned unchecked_isa_dma:1;
429 unsigned emulated:1;
434 unsigned skip_settle_delay:1;
437 unsigned no_write_same:1;
440 unsigned host_tagset:1;
445 unsigned int max_host_blocked;
459 struct device_attribute **shost_attrs;
464 struct device_attribute **sdev_attrs;
470 const struct attribute_group **sdev_groups;
479 u64 vendor_id;
484 unsigned int cmd_size;
485 struct scsi_host_cmd_pool *cmd_pool;
488 int rpm_autosuspend_delay;