Lines Matching defs:Scsi_Host

524 struct Scsi_Host {  struct
533 struct list_head __devices;
534 struct list_head __targets;
536 struct list_head starved_list;
538 spinlock_t default_lock;
539 spinlock_t *host_lock;
541 struct mutex scan_mutex;/* serialize scanning activity */
543 struct list_head eh_cmd_q;
544 struct task_struct * ehandler; /* Error recovery thread. */
545 struct completion * eh_action; /* Wait for specific actions on the
547 wait_queue_head_t host_wait;
548 struct scsi_host_template *hostt;
549 struct scsi_transport_template *transportt;
552 struct blk_mq_tag_set tag_set;
554 atomic_t host_busy; /* commands actually active on low-level */
555 atomic_t host_blocked;
557 unsigned int host_failed; /* commands that failed.
559 unsigned int host_eh_scheduled; /* EH scheduled without command */
561 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
564 int eh_deadline;
565 unsigned long last_reset;
574 unsigned int max_channel;
575 unsigned int max_id;
576 u64 max_lun;
585 unsigned int unique_id;
594 unsigned short max_cmd_len;
596 int this_id;
597 int can_queue;
598 short cmd_per_lun;
599 short unsigned int sg_tablesize;
600 short unsigned int sg_prot_tablesize;
601 unsigned int max_sectors;
602 unsigned int max_segment_size;
603 unsigned long dma_boundary;
604 unsigned long virt_boundary_mask;
612 unsigned nr_hw_queues;
613 unsigned active_mode:2;
614 unsigned unchecked_isa_dma:1;
620 unsigned host_self_blocked:1;
627 unsigned reverse_ordering:1;
630 unsigned tmf_in_progress:1;
633 unsigned async_scan:1;
636 unsigned eh_noresume:1;
639 unsigned no_write_same:1;
641 unsigned use_cmd_list:1;
644 unsigned short_inquiry:1;
647 unsigned no_scsi2_lun_in_cdb:1;
652 char work_q_name[20];
653 struct workqueue_struct *work_q;
658 struct workqueue_struct *tmf_work_q;
663 unsigned int max_host_blocked;
666 unsigned int prot_capabilities;
667 unsigned char prot_guard_type;
670 unsigned long base;
671 unsigned long io_port;
672 unsigned char n_io_port;
673 unsigned char dma_channel;
674 unsigned int irq;
677 enum scsi_host_state shost_state;
680 struct device shost_gendev, shost_dev;
704 container_of(d, struct Scsi_Host, shost_dev) argument