Lines Matching defs:scsi_qla_host

558 struct scsi_qla_host {  struct
560 unsigned long flags;
588 unsigned long dpc_flags;
606 struct Scsi_Host *host; /* pointer to host data */
607 uint32_t tot_ddbs;
609 uint16_t iocb_cnt;
610 uint16_t iocb_hiwat;
614 mempool_t *srb_mempool;
617 struct pci_dev *pdev;
619 struct isp_reg __iomem *reg; /* Base I/O address */
620 unsigned long pio_address;
621 unsigned long pio_length;
624 uint16_t req_q_count;
626 unsigned long host_no;
629 struct eeprom_data *nvram;
630 spinlock_t hardware_lock ____cacheline_aligned;
631 uint32_t eeprom_cmd_data;
634 uint64_t isr_count;
635 uint64_t adapter_error_count;
636 uint64_t device_error_count;
637 uint64_t total_io_count;
638 uint64_t total_mbytes_xferred;
639 uint64_t link_failure_count;
640 uint64_t invalid_crc_count;
641 uint32_t bytes_xfered;
642 uint32_t spurious_int_count;
643 uint32_t aborted_io_count;
644 uint32_t io_timeout_count;
645 uint32_t mailbox_timeout_count;
646 uint32_t seconds_since_last_intr;
647 uint32_t seconds_since_last_heartbeat;
648 uint32_t mac_index;
652 uint32_t firmware_version[2];
653 uint32_t patch_number;
654 uint32_t build_number;
655 uint32_t board_id;
659 uint16_t firmware_options;
660 uint8_t alias[32];
661 uint8_t name_string[256];
662 uint8_t heartbeat_interval;
665 uint8_t my_mac[MAC_ADDR_LEN];
666 uint8_t serial_number[16];
667 uint16_t port_num;
669 uint32_t firmware_state;
670 uint32_t addl_fw_state;
673 struct workqueue_struct *dpc_thread;
674 struct work_struct dpc_work;
677 struct timer_list timer;
678 uint32_t timer_active;
681 atomic_t check_relogin_timeouts;
682 uint32_t retry_reset_ha_cnt;
683 uint32_t isp_reset_timer; /* reset test timer */
684 uint32_t nic_reset_timer; /* simulated nic reset test timer */
685 int eh_start;
686 struct list_head free_srb_q;
687 uint16_t free_srb_q_count;
688 uint16_t num_srbs_allocated;
691 void *queues;
692 dma_addr_t queues_dma;
693 unsigned long queues_len;
699 dma_addr_t request_dma;
700 struct queue_entry *request_ring;
701 struct queue_entry *request_ptr;
702 dma_addr_t response_dma;
703 struct queue_entry *response_ring;
704 struct queue_entry *response_ptr;
705 dma_addr_t shadow_regs_dma;
706 struct shadow_regs *shadow_regs;
707 uint16_t request_in; /* Current indexes. */
708 uint16_t request_out;
709 uint16_t response_in;
710 uint16_t response_out;
713 uint16_t aen_q_count; /* Number of available aen_q entries */
714 uint16_t aen_in; /* Current indexes */
715 uint16_t aen_out;
716 struct aen aen_q[MAX_AEN_ENTRIES];
718 struct ql4_aen_log aen_log;/* tracks all aens */
723 struct mutex mbox_sem;
726 volatile uint8_t mbox_status_count;
727 volatile uint32_t mbox_status[MBOX_REG_COUNT];
730 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];
733 struct srb *status_srb;
735 uint8_t acb_version;
738 struct device_reg_82xx __iomem *qla4_82xx_reg; /* Base I/O address */
739 unsigned long nx_pcibase; /* Base I/O address */
740 uint8_t *nx_db_rd_ptr; /* Doorbell read pointer */
741 unsigned long nx_db_wr_ptr; /* Door bell write pointer */
742 unsigned long first_page_group_start;
743 unsigned long first_page_group_end;
745 uint32_t crb_win;
746 uint32_t curr_window;
747 uint32_t ddr_mn_window;
748 unsigned long mn_win_crb;
749 unsigned long ms_win_crb;
750 int qdr_sn_window;
751 rwlock_t hw_lock;
752 uint16_t func_num;
753 int link_width;
755 struct qla4_8xxx_legacy_intr_set nx_legacy_intr;
756 u32 nx_crb_mask;
758 uint8_t revision_id;
759 uint32_t fw_heartbeat_counter;
761 struct isp_operations *isp_ops;
762 struct ql82xx_hw_data hw;
764 struct ql4_msix_entry msix_entries[QLA_MSIX_ENTRIES];
766 uint32_t nx_dev_init_timeout;
767 uint32_t nx_reset_timeout;
768 void *fw_dump;
769 uint32_t fw_dump_size;
770 uint32_t fw_dump_capture_mask;
771 void *fw_dump_tmplt_hdr;
772 uint32_t fw_dump_tmplt_size;
773 uint32_t fw_dump_skip_size;
775 struct completion mbx_intr_comp;
777 struct ipaddress_config ip_config;
778 struct iscsi_iface *iface_ipv4;
779 struct iscsi_iface *iface_ipv6_0;
780 struct iscsi_iface *iface_ipv6_1;
783 struct about_fw_info fw_info;
784 uint32_t fw_uptime_secs; /* seconds elapsed since fw bootup */
785 uint32_t fw_uptime_msecs; /* milliseconds beyond elapsed seconds */
786 uint16_t def_timeout; /* Default login timeout */
788 uint32_t flash_state;
792 struct dma_pool *chap_dma_pool;
793 uint8_t *chap_list; /* CHAP table cache */
794 struct mutex chap_sem;
797 struct workqueue_struct *task_wq;
798 unsigned long ddb_idx_map[MAX_DDB_ENTRIES / BITS_PER_LONG];
800 struct iscsi_boot_kset *boot_kset;
801 struct ql4_boot_tgt_info boot_tgt;
802 uint16_t phy_port_num;
803 uint16_t phy_port_cnt;
804 uint16_t iscsi_pci_func_cnt;
805 uint8_t model_name[16];
806 struct completion disable_acb_comp;
807 struct dma_pool *fw_ddb_dma_pool;
809 uint16_t pri_ddb_idx;
810 uint16_t sec_ddb_idx;
811 int is_reset;
812 uint16_t temperature;
815 struct list_head work_list;
839 struct scsi_qla_host *ha; argument