Lines Matching defs:scsi_qla_host

557 struct scsi_qla_host {  struct
559 unsigned long flags;
584 unsigned long dpc_flags;
602 struct Scsi_Host *host; /* pointer to host data */
603 uint32_t tot_ddbs;
605 uint16_t iocb_cnt;
606 uint16_t iocb_hiwat;
610 mempool_t *srb_mempool;
613 struct pci_dev *pdev;
615 struct isp_reg __iomem *reg; /* Base I/O address */
616 unsigned long pio_address;
617 unsigned long pio_length;
620 uint16_t req_q_count;
622 unsigned long host_no;
625 struct eeprom_data *nvram;
626 spinlock_t hardware_lock ____cacheline_aligned;
627 uint32_t eeprom_cmd_data;
630 uint64_t isr_count;
631 uint64_t adapter_error_count;
632 uint64_t device_error_count;
633 uint64_t total_io_count;
634 uint64_t total_mbytes_xferred;
635 uint64_t link_failure_count;
636 uint64_t invalid_crc_count;
637 uint32_t bytes_xfered;
638 uint32_t spurious_int_count;
639 uint32_t aborted_io_count;
640 uint32_t io_timeout_count;
641 uint32_t mailbox_timeout_count;
642 uint32_t seconds_since_last_intr;
643 uint32_t seconds_since_last_heartbeat;
644 uint32_t mac_index;
648 uint32_t firmware_version[2];
649 uint32_t patch_number;
650 uint32_t build_number;
651 uint32_t board_id;
655 uint16_t firmware_options;
656 uint8_t alias[32];
657 uint8_t name_string[256];
658 uint8_t heartbeat_interval;
661 uint8_t my_mac[MAC_ADDR_LEN];
662 uint8_t serial_number[16];
663 uint16_t port_num;
665 uint32_t firmware_state;
666 uint32_t addl_fw_state;
669 struct workqueue_struct *dpc_thread;
670 struct work_struct dpc_work;
673 struct timer_list timer;
674 uint32_t timer_active;
677 atomic_t check_relogin_timeouts;
678 uint32_t retry_reset_ha_cnt;
679 uint32_t isp_reset_timer; /* reset test timer */
680 uint32_t nic_reset_timer; /* simulated nic reset test timer */
681 int eh_start;
682 struct list_head free_srb_q;
683 uint16_t free_srb_q_count;
684 uint16_t num_srbs_allocated;
687 void *queues;
688 dma_addr_t queues_dma;
689 unsigned long queues_len;
695 dma_addr_t request_dma;
696 struct queue_entry *request_ring;
697 struct queue_entry *request_ptr;
698 dma_addr_t response_dma;
699 struct queue_entry *response_ring;
700 struct queue_entry *response_ptr;
701 dma_addr_t shadow_regs_dma;
702 struct shadow_regs *shadow_regs;
703 uint16_t request_in; /* Current indexes. */
704 uint16_t request_out;
705 uint16_t response_in;
706 uint16_t response_out;
709 uint16_t aen_q_count; /* Number of available aen_q entries */
710 uint16_t aen_in; /* Current indexes */
711 uint16_t aen_out;
712 struct aen aen_q[MAX_AEN_ENTRIES];
714 struct ql4_aen_log aen_log;/* tracks all aens */
719 struct mutex mbox_sem;
722 volatile uint8_t mbox_status_count;
723 volatile uint32_t mbox_status[MBOX_REG_COUNT];
726 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];
729 struct srb *status_srb;
731 uint8_t acb_version;
734 struct device_reg_82xx __iomem *qla4_82xx_reg; /* Base I/O address */
735 unsigned long nx_pcibase; /* Base I/O address */
736 uint8_t *nx_db_rd_ptr; /* Doorbell read pointer */
737 unsigned long nx_db_wr_ptr; /* Door bell write pointer */
738 unsigned long first_page_group_start;
739 unsigned long first_page_group_end;
741 uint32_t crb_win;
742 uint32_t curr_window;
743 uint32_t ddr_mn_window;
744 unsigned long mn_win_crb;
745 unsigned long ms_win_crb;
746 int qdr_sn_window;
747 rwlock_t hw_lock;
748 uint16_t func_num;
749 int link_width;
751 struct qla4_8xxx_legacy_intr_set nx_legacy_intr;
752 u32 nx_crb_mask;
754 uint8_t revision_id;
755 uint32_t fw_heartbeat_counter;
757 struct isp_operations *isp_ops;
758 struct ql82xx_hw_data hw;
760 uint32_t nx_dev_init_timeout;
761 uint32_t nx_reset_timeout;
762 void *fw_dump;
763 uint32_t fw_dump_size;
764 uint32_t fw_dump_capture_mask;
765 void *fw_dump_tmplt_hdr;
766 uint32_t fw_dump_tmplt_size;
767 uint32_t fw_dump_skip_size;
769 struct completion mbx_intr_comp;
771 struct ipaddress_config ip_config;
772 struct iscsi_iface *iface_ipv4;
773 struct iscsi_iface *iface_ipv6_0;
774 struct iscsi_iface *iface_ipv6_1;
777 struct about_fw_info fw_info;
778 uint32_t fw_uptime_secs; /* seconds elapsed since fw bootup */
779 uint32_t fw_uptime_msecs; /* milliseconds beyond elapsed seconds */
780 uint16_t def_timeout; /* Default login timeout */
782 uint32_t flash_state;
786 struct dma_pool *chap_dma_pool;
787 uint8_t *chap_list; /* CHAP table cache */
788 struct mutex chap_sem;
791 struct workqueue_struct *task_wq;
792 unsigned long ddb_idx_map[MAX_DDB_ENTRIES / BITS_PER_LONG];
794 struct iscsi_boot_kset *boot_kset;
795 struct ql4_boot_tgt_info boot_tgt;
796 uint16_t phy_port_num;
797 uint16_t phy_port_cnt;
798 uint16_t iscsi_pci_func_cnt;
799 uint8_t model_name[16];
800 struct completion disable_acb_comp;
801 struct dma_pool *fw_ddb_dma_pool;
803 uint16_t pri_ddb_idx;
804 uint16_t sec_ddb_idx;
805 int is_reset;
806 uint16_t temperature;
809 struct list_head work_list;
833 struct scsi_qla_host *ha; argument