Lines Matching defs:scsi_qla_host

558 struct scsi_qla_host {  struct
560 unsigned long flags;
585 unsigned long dpc_flags;
603 struct Scsi_Host *host; /* pointer to host data */
604 uint32_t tot_ddbs;
606 uint16_t iocb_cnt;
607 uint16_t iocb_hiwat;
611 mempool_t *srb_mempool;
614 struct pci_dev *pdev;
616 struct isp_reg __iomem *reg; /* Base I/O address */
617 unsigned long pio_address;
618 unsigned long pio_length;
621 uint16_t req_q_count;
623 unsigned long host_no;
626 struct eeprom_data *nvram;
627 spinlock_t hardware_lock ____cacheline_aligned;
628 uint32_t eeprom_cmd_data;
631 uint64_t isr_count;
632 uint64_t adapter_error_count;
633 uint64_t device_error_count;
634 uint64_t total_io_count;
635 uint64_t total_mbytes_xferred;
636 uint64_t link_failure_count;
637 uint64_t invalid_crc_count;
638 uint32_t bytes_xfered;
639 uint32_t spurious_int_count;
640 uint32_t aborted_io_count;
641 uint32_t io_timeout_count;
642 uint32_t mailbox_timeout_count;
643 uint32_t seconds_since_last_intr;
644 uint32_t seconds_since_last_heartbeat;
645 uint32_t mac_index;
649 uint32_t firmware_version[2];
650 uint32_t patch_number;
651 uint32_t build_number;
652 uint32_t board_id;
656 uint16_t firmware_options;
657 uint8_t alias[32];
658 uint8_t name_string[256];
659 uint8_t heartbeat_interval;
662 uint8_t my_mac[MAC_ADDR_LEN];
663 uint8_t serial_number[16];
664 uint16_t port_num;
666 uint32_t firmware_state;
667 uint32_t addl_fw_state;
670 struct workqueue_struct *dpc_thread;
671 struct work_struct dpc_work;
674 struct timer_list timer;
675 uint32_t timer_active;
678 atomic_t check_relogin_timeouts;
679 uint32_t retry_reset_ha_cnt;
680 uint32_t isp_reset_timer; /* reset test timer */
681 uint32_t nic_reset_timer; /* simulated nic reset test timer */
682 int eh_start;
683 struct list_head free_srb_q;
684 uint16_t free_srb_q_count;
685 uint16_t num_srbs_allocated;
688 void *queues;
689 dma_addr_t queues_dma;
690 unsigned long queues_len;
696 dma_addr_t request_dma;
697 struct queue_entry *request_ring;
698 struct queue_entry *request_ptr;
699 dma_addr_t response_dma;
700 struct queue_entry *response_ring;
701 struct queue_entry *response_ptr;
702 dma_addr_t shadow_regs_dma;
703 struct shadow_regs *shadow_regs;
704 uint16_t request_in; /* Current indexes. */
705 uint16_t request_out;
706 uint16_t response_in;
707 uint16_t response_out;
710 uint16_t aen_q_count; /* Number of available aen_q entries */
711 uint16_t aen_in; /* Current indexes */
712 uint16_t aen_out;
713 struct aen aen_q[MAX_AEN_ENTRIES];
715 struct ql4_aen_log aen_log;/* tracks all aens */
720 struct mutex mbox_sem;
723 volatile uint8_t mbox_status_count;
724 volatile uint32_t mbox_status[MBOX_REG_COUNT];
727 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];
730 struct srb *status_srb;
732 uint8_t acb_version;
735 struct device_reg_82xx __iomem *qla4_82xx_reg; /* Base I/O address */
736 unsigned long nx_pcibase; /* Base I/O address */
737 uint8_t *nx_db_rd_ptr; /* Doorbell read pointer */
738 unsigned long nx_db_wr_ptr; /* Door bell write pointer */
739 unsigned long first_page_group_start;
740 unsigned long first_page_group_end;
742 uint32_t crb_win;
743 uint32_t curr_window;
744 uint32_t ddr_mn_window;
745 unsigned long mn_win_crb;
746 unsigned long ms_win_crb;
747 int qdr_sn_window;
748 rwlock_t hw_lock;
749 uint16_t func_num;
750 int link_width;
752 struct qla4_8xxx_legacy_intr_set nx_legacy_intr;
753 u32 nx_crb_mask;
755 uint8_t revision_id;
756 uint32_t fw_heartbeat_counter;
758 struct isp_operations *isp_ops;
759 struct ql82xx_hw_data hw;
761 uint32_t nx_dev_init_timeout;
762 uint32_t nx_reset_timeout;
763 void *fw_dump;
764 uint32_t fw_dump_size;
765 uint32_t fw_dump_capture_mask;
766 void *fw_dump_tmplt_hdr;
767 uint32_t fw_dump_tmplt_size;
768 uint32_t fw_dump_skip_size;
770 struct completion mbx_intr_comp;
772 struct ipaddress_config ip_config;
773 struct iscsi_iface *iface_ipv4;
774 struct iscsi_iface *iface_ipv6_0;
775 struct iscsi_iface *iface_ipv6_1;
778 struct about_fw_info fw_info;
779 uint32_t fw_uptime_secs; /* seconds elapsed since fw bootup */
780 uint32_t fw_uptime_msecs; /* milliseconds beyond elapsed seconds */
781 uint16_t def_timeout; /* Default login timeout */
783 uint32_t flash_state;
787 struct dma_pool *chap_dma_pool;
788 uint8_t *chap_list; /* CHAP table cache */
789 struct mutex chap_sem;
792 struct workqueue_struct *task_wq;
793 unsigned long ddb_idx_map[MAX_DDB_ENTRIES / BITS_PER_LONG];
795 struct iscsi_boot_kset *boot_kset;
796 struct ql4_boot_tgt_info boot_tgt;
797 uint16_t phy_port_num;
798 uint16_t phy_port_cnt;
799 uint16_t iscsi_pci_func_cnt;
800 uint8_t model_name[16];
801 struct completion disable_acb_comp;
802 struct dma_pool *fw_ddb_dma_pool;
804 uint16_t pri_ddb_idx;
805 uint16_t sec_ddb_idx;
806 int is_reset;
807 uint16_t temperature;
810 struct list_head work_list;
834 struct scsi_qla_host *ha; argument