Lines Matching defs:scsi_qla_host

559 struct scsi_qla_host {  struct
561 unsigned long flags;
589 unsigned long dpc_flags;
607 struct Scsi_Host *host; /* pointer to host data */
608 uint32_t tot_ddbs;
610 uint16_t iocb_cnt;
611 uint16_t iocb_hiwat;
615 mempool_t *srb_mempool;
618 struct pci_dev *pdev;
620 struct isp_reg __iomem *reg; /* Base I/O address */
621 unsigned long pio_address;
622 unsigned long pio_length;
625 uint16_t req_q_count;
627 unsigned long host_no;
630 struct eeprom_data *nvram;
631 spinlock_t hardware_lock ____cacheline_aligned;
632 uint32_t eeprom_cmd_data;
635 uint64_t isr_count;
636 uint64_t adapter_error_count;
637 uint64_t device_error_count;
638 uint64_t total_io_count;
639 uint64_t total_mbytes_xferred;
640 uint64_t link_failure_count;
641 uint64_t invalid_crc_count;
642 uint32_t bytes_xfered;
643 uint32_t spurious_int_count;
644 uint32_t aborted_io_count;
645 uint32_t io_timeout_count;
646 uint32_t mailbox_timeout_count;
647 uint32_t seconds_since_last_intr;
648 uint32_t seconds_since_last_heartbeat;
649 uint32_t mac_index;
653 uint32_t firmware_version[2];
654 uint32_t patch_number;
655 uint32_t build_number;
656 uint32_t board_id;
660 uint16_t firmware_options;
661 uint8_t alias[32];
662 uint8_t name_string[256];
663 uint8_t heartbeat_interval;
666 uint8_t my_mac[MAC_ADDR_LEN];
667 uint8_t serial_number[16];
668 uint16_t port_num;
670 uint32_t firmware_state;
671 uint32_t addl_fw_state;
674 struct workqueue_struct *dpc_thread;
675 struct work_struct dpc_work;
678 struct timer_list timer;
679 uint32_t timer_active;
682 atomic_t check_relogin_timeouts;
683 uint32_t retry_reset_ha_cnt;
684 uint32_t isp_reset_timer; /* reset test timer */
685 uint32_t nic_reset_timer; /* simulated nic reset test timer */
686 int eh_start;
687 struct list_head free_srb_q;
688 uint16_t free_srb_q_count;
689 uint16_t num_srbs_allocated;
692 void *queues;
693 dma_addr_t queues_dma;
694 unsigned long queues_len;
700 dma_addr_t request_dma;
701 struct queue_entry *request_ring;
702 struct queue_entry *request_ptr;
703 dma_addr_t response_dma;
704 struct queue_entry *response_ring;
705 struct queue_entry *response_ptr;
706 dma_addr_t shadow_regs_dma;
707 struct shadow_regs *shadow_regs;
708 uint16_t request_in; /* Current indexes. */
709 uint16_t request_out;
710 uint16_t response_in;
711 uint16_t response_out;
714 uint16_t aen_q_count; /* Number of available aen_q entries */
715 uint16_t aen_in; /* Current indexes */
716 uint16_t aen_out;
717 struct aen aen_q[MAX_AEN_ENTRIES];
719 struct ql4_aen_log aen_log;/* tracks all aens */
724 struct mutex mbox_sem;
727 volatile uint8_t mbox_status_count;
728 volatile uint32_t mbox_status[MBOX_REG_COUNT];
731 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];
734 struct srb *status_srb;
736 uint8_t acb_version;
739 struct device_reg_82xx __iomem *qla4_82xx_reg; /* Base I/O address */
740 unsigned long nx_pcibase; /* Base I/O address */
741 uint8_t *nx_db_rd_ptr; /* Doorbell read pointer */
742 unsigned long nx_db_wr_ptr; /* Door bell write pointer */
743 unsigned long first_page_group_start;
744 unsigned long first_page_group_end;
746 uint32_t crb_win;
747 uint32_t curr_window;
748 uint32_t ddr_mn_window;
749 unsigned long mn_win_crb;
750 unsigned long ms_win_crb;
751 int qdr_sn_window;
752 rwlock_t hw_lock;
753 uint16_t func_num;
754 int link_width;
756 struct qla4_8xxx_legacy_intr_set nx_legacy_intr;
757 u32 nx_crb_mask;
759 uint8_t revision_id;
760 uint32_t fw_heartbeat_counter;
762 struct isp_operations *isp_ops;
763 struct ql82xx_hw_data hw;
765 struct ql4_msix_entry msix_entries[QLA_MSIX_ENTRIES];
767 uint32_t nx_dev_init_timeout;
768 uint32_t nx_reset_timeout;
769 void *fw_dump;
770 uint32_t fw_dump_size;
771 uint32_t fw_dump_capture_mask;
772 void *fw_dump_tmplt_hdr;
773 uint32_t fw_dump_tmplt_size;
774 uint32_t fw_dump_skip_size;
776 struct completion mbx_intr_comp;
778 struct ipaddress_config ip_config;
779 struct iscsi_iface *iface_ipv4;
780 struct iscsi_iface *iface_ipv6_0;
781 struct iscsi_iface *iface_ipv6_1;
784 struct about_fw_info fw_info;
785 uint32_t fw_uptime_secs; /* seconds elapsed since fw bootup */
786 uint32_t fw_uptime_msecs; /* milliseconds beyond elapsed seconds */
787 uint16_t def_timeout; /* Default login timeout */
789 uint32_t flash_state;
793 struct dma_pool *chap_dma_pool;
794 uint8_t *chap_list; /* CHAP table cache */
795 struct mutex chap_sem;
798 struct workqueue_struct *task_wq;
799 unsigned long ddb_idx_map[MAX_DDB_ENTRIES / BITS_PER_LONG];
801 struct iscsi_boot_kset *boot_kset;
802 struct ql4_boot_tgt_info boot_tgt;
803 uint16_t phy_port_num;
804 uint16_t phy_port_cnt;
805 uint16_t iscsi_pci_func_cnt;
806 uint8_t model_name[16];
807 struct completion disable_acb_comp;
808 struct dma_pool *fw_ddb_dma_pool;
810 uint16_t pri_ddb_idx;
811 uint16_t sec_ddb_idx;
812 int is_reset;
813 uint16_t temperature;
816 struct list_head work_list;
840 struct scsi_qla_host *ha; argument