Lines Matching defs:scsi_qla_host
548 struct scsi_qla_host { struct
550 unsigned long flags;
575 unsigned long dpc_flags;
593 struct Scsi_Host *host; /* pointer to host data */
594 uint32_t tot_ddbs;
596 uint16_t iocb_cnt;
597 uint16_t iocb_hiwat;
601 mempool_t *srb_mempool;
604 struct pci_dev *pdev;
606 struct isp_reg __iomem *reg; /* Base I/O address */
607 unsigned long pio_address;
608 unsigned long pio_length;
611 uint16_t req_q_count;
613 unsigned long host_no;
616 struct eeprom_data *nvram;
617 spinlock_t hardware_lock ____cacheline_aligned;
618 uint32_t eeprom_cmd_data;
621 uint64_t isr_count;
622 uint64_t adapter_error_count;
623 uint64_t device_error_count;
624 uint64_t total_io_count;
625 uint64_t total_mbytes_xferred;
626 uint64_t link_failure_count;
627 uint64_t invalid_crc_count;
628 uint32_t bytes_xfered;
629 uint32_t spurious_int_count;
630 uint32_t aborted_io_count;
631 uint32_t io_timeout_count;
632 uint32_t mailbox_timeout_count;
633 uint32_t seconds_since_last_intr;
634 uint32_t seconds_since_last_heartbeat;
635 uint32_t mac_index;
639 uint32_t firmware_version[2];
640 uint32_t patch_number;
641 uint32_t build_number;
642 uint32_t board_id;
646 uint16_t firmware_options;
647 uint8_t alias[32];
648 uint8_t name_string[256];
649 uint8_t heartbeat_interval;
652 uint8_t my_mac[MAC_ADDR_LEN];
653 uint8_t serial_number[16];
654 uint16_t port_num;
656 uint32_t firmware_state;
657 uint32_t addl_fw_state;
660 struct workqueue_struct *dpc_thread;
661 struct work_struct dpc_work;
664 struct timer_list timer;
665 uint32_t timer_active;
668 atomic_t check_relogin_timeouts;
669 uint32_t retry_reset_ha_cnt;
670 uint32_t isp_reset_timer; /* reset test timer */
671 uint32_t nic_reset_timer; /* simulated nic reset test timer */
672 int eh_start;
673 struct list_head free_srb_q;
674 uint16_t free_srb_q_count;
675 uint16_t num_srbs_allocated;
678 void *queues;
679 dma_addr_t queues_dma;
680 unsigned long queues_len;
686 dma_addr_t request_dma;
687 struct queue_entry *request_ring;
688 struct queue_entry *request_ptr;
689 dma_addr_t response_dma;
690 struct queue_entry *response_ring;
691 struct queue_entry *response_ptr;
692 dma_addr_t shadow_regs_dma;
693 struct shadow_regs *shadow_regs;
694 uint16_t request_in; /* Current indexes. */
695 uint16_t request_out;
696 uint16_t response_in;
697 uint16_t response_out;
700 uint16_t aen_q_count; /* Number of available aen_q entries */
701 uint16_t aen_in; /* Current indexes */
702 uint16_t aen_out;
703 struct aen aen_q[MAX_AEN_ENTRIES];
705 struct ql4_aen_log aen_log;/* tracks all aens */
710 struct mutex mbox_sem;
713 volatile uint8_t mbox_status_count;
714 volatile uint32_t mbox_status[MBOX_REG_COUNT];
717 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];
720 struct srb *status_srb;
722 uint8_t acb_version;
725 struct device_reg_82xx __iomem *qla4_82xx_reg; /* Base I/O address */
726 unsigned long nx_pcibase; /* Base I/O address */
727 uint8_t *nx_db_rd_ptr; /* Doorbell read pointer */
728 unsigned long nx_db_wr_ptr; /* Door bell write pointer */
729 unsigned long first_page_group_start;
730 unsigned long first_page_group_end;
732 uint32_t crb_win;
733 uint32_t curr_window;
734 uint32_t ddr_mn_window;
735 unsigned long mn_win_crb;
736 unsigned long ms_win_crb;
737 int qdr_sn_window;
738 rwlock_t hw_lock;
739 uint16_t func_num;
740 int link_width;
742 struct qla4_8xxx_legacy_intr_set nx_legacy_intr;
743 u32 nx_crb_mask;
745 uint8_t revision_id;
746 uint32_t fw_heartbeat_counter;
748 struct isp_operations *isp_ops;
749 struct ql82xx_hw_data hw;
751 uint32_t nx_dev_init_timeout;
752 uint32_t nx_reset_timeout;
753 void *fw_dump;
754 uint32_t fw_dump_size;
755 uint32_t fw_dump_capture_mask;
756 void *fw_dump_tmplt_hdr;
757 uint32_t fw_dump_tmplt_size;
758 uint32_t fw_dump_skip_size;
760 struct completion mbx_intr_comp;
762 struct ipaddress_config ip_config;
763 struct iscsi_iface *iface_ipv4;
764 struct iscsi_iface *iface_ipv6_0;
765 struct iscsi_iface *iface_ipv6_1;
768 struct about_fw_info fw_info;
769 uint32_t fw_uptime_secs; /* seconds elapsed since fw bootup */
770 uint32_t fw_uptime_msecs; /* milliseconds beyond elapsed seconds */
771 uint16_t def_timeout; /* Default login timeout */
773 uint32_t flash_state;
777 struct dma_pool *chap_dma_pool;
778 uint8_t *chap_list; /* CHAP table cache */
779 struct mutex chap_sem;
782 struct workqueue_struct *task_wq;
783 unsigned long ddb_idx_map[MAX_DDB_ENTRIES / BITS_PER_LONG];
785 struct iscsi_boot_kset *boot_kset;
786 struct ql4_boot_tgt_info boot_tgt;
787 uint16_t phy_port_num;
788 uint16_t phy_port_cnt;
789 uint16_t iscsi_pci_func_cnt;
790 uint8_t model_name[16];
791 struct completion disable_acb_comp;
792 struct dma_pool *fw_ddb_dma_pool;
794 uint16_t pri_ddb_idx;
795 uint16_t sec_ddb_idx;
796 int is_reset;
797 uint16_t temperature;
800 struct list_head work_list;
824 struct scsi_qla_host *ha; argument