Lines Matching defs:lpfc_sli4_hba

773 struct lpfc_sli4_hba {  struct
774 void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for
777 void __iomem *ctrl_regs_memmap_p; /* Kernel memory mapped address for
780 void __iomem *drbl_regs_memmap_p; /* Kernel memory mapped address for
783 void __iomem *dpp_regs_memmap_p; /* Kernel memory mapped address for
786 union {
811 } u;
814 void __iomem *PSMPHRregaddr;
817 void __iomem *SLIINTFregaddr;
820 void __iomem *ISRregaddr; /* HST_ISR register */
821 void __iomem *IMRregaddr; /* HST_IMR register */
822 void __iomem *ISCRregaddr; /* HST_ISCR register */
824 void __iomem *RQDBregaddr; /* RQ_DOORBELL register */
825 void __iomem *WQDBregaddr; /* WQ_DOORBELL register */
826 void __iomem *CQDBregaddr; /* CQ_DOORBELL register */
827 void __iomem *EQDBregaddr; /* EQ_DOORBELL register */
828 void __iomem *MQDBregaddr; /* MQ_DOORBELL register */
829 void __iomem *BMBXregaddr; /* BootStrap MBX register */
831 uint32_t ue_mask_lo;
832 uint32_t ue_mask_hi;
833 uint32_t ue_to_sr;
834 uint32_t ue_to_rp;
835 struct lpfc_register sli_intf;
836 struct lpfc_pc_sli4_params pc_sli4_params;
837 struct lpfc_bbscn_params bbscn_params;
838 struct lpfc_hba_eq_hdl *hba_eq_hdl; /* HBA per-WQ handle */
840 void (*sli4_eq_clr_intr)(struct lpfc_queue *q);
841 void (*sli4_write_eq_db)(struct lpfc_hba *phba, struct lpfc_queue *eq,
843 void (*sli4_write_cq_db)(struct lpfc_hba *phba, struct lpfc_queue *cq,
847 struct lpfc_sli4_hdw_queue *hdwq;
848 struct list_head lpfc_wq_list;
851 struct lpfc_queue **nvmet_cqset; /* Fast-path NVMET CQ Set queues */
852 struct lpfc_queue **nvmet_mrq_hdr; /* Fast-path NVMET hdr MRQs */
853 struct lpfc_queue **nvmet_mrq_data; /* Fast-path NVMET data MRQs */
855 struct lpfc_queue *mbx_cq; /* Slow-path mailbox complete queue */
856 struct lpfc_queue *els_cq; /* Slow-path ELS response complete queue */
857 struct lpfc_queue *nvmels_cq; /* NVME LS complete queue */
858 struct lpfc_queue *mbx_wq; /* Slow-path MBOX work queue */
859 struct lpfc_queue *els_wq; /* Slow-path ELS work queue */
860 struct lpfc_queue *nvmels_wq; /* NVME LS work queue */
861 struct lpfc_queue *hdr_rq; /* Slow-path Header Receive queue */
862 struct lpfc_queue *dat_rq; /* Slow-path Data Receive queue */
864 struct lpfc_name wwnn;
865 struct lpfc_name wwpn;
867 uint32_t fw_func_mode; /* FW function protocol mode */
868 uint32_t ulp0_mode; /* ULP0 protocol mode */
869 uint32_t ulp1_mode; /* ULP1 protocol mode */
872 uint64_t oas_next_lun;
873 uint8_t oas_next_tgt_wwpn[8];
874 uint8_t oas_next_vpt_wwpn[8];
877 int eq_esize;
878 int eq_ecount;
879 int cq_esize;
880 int cq_ecount;
881 int wq_esize;
882 int wq_ecount;
883 int mq_esize;
884 int mq_ecount;
885 int rq_esize;
886 int rq_ecount;
890 uint32_t intr_enable;
891 struct lpfc_bmbx bmbx;
892 struct lpfc_max_cfg_param max_cfg_param;
893 uint16_t extents_in_use; /* must allocate resource extents. */
894 uint16_t rpi_hdrs_in_use; /* must post rpi hdrs if set. */
895 uint16_t next_xri; /* last_xri - max_cfg_param.xri_base = used */
896 uint16_t next_rpi;
897 uint16_t io_xri_max;
898 uint16_t io_xri_cnt;
899 uint16_t io_xri_start;
900 uint16_t els_xri_cnt;
901 uint16_t nvmet_xri_cnt;
902 uint16_t nvmet_io_wait_cnt;
903 uint16_t nvmet_io_wait_total;
904 uint16_t cq_max;
905 struct lpfc_queue **cq_lookup;
906 struct list_head lpfc_els_sgl_list;
907 struct list_head lpfc_abts_els_sgl_list;
908 spinlock_t abts_io_buf_list_lock; /* list of aborted SCSI IOs */
909 struct list_head lpfc_abts_io_buf_list;
910 struct list_head lpfc_nvmet_sgl_list;
911 spinlock_t abts_nvmet_buf_list_lock; /* list of aborted NVMET IOs */
912 struct list_head lpfc_abts_nvmet_ctx_list;
913 spinlock_t t_active_list_lock; /* list of active NVMET IOs */
914 struct list_head t_active_ctx_list;
915 struct list_head lpfc_nvmet_io_wait_list;
916 struct lpfc_nvmet_ctx_info *nvmet_ctx_info;
917 struct lpfc_sglq **lpfc_sglq_active_list;
918 struct list_head lpfc_rpi_hdr_list;
919 unsigned long *rpi_bmask;
920 uint16_t *rpi_ids;
921 uint16_t rpi_count;
922 struct list_head lpfc_rpi_blk_list;
923 unsigned long *xri_bmask;
924 uint16_t *xri_ids;
925 struct list_head lpfc_xri_blk_list;
926 unsigned long *vfi_bmask;
927 uint16_t *vfi_ids;
928 uint16_t vfi_count;
929 struct list_head lpfc_vfi_blk_list;
930 struct lpfc_sli4_flags sli4_flags;
931 struct list_head sp_queue_event;
932 struct list_head sp_cqe_event_pool;
933 struct list_head sp_asynce_work_queue;
934 spinlock_t asynce_list_lock; /* protect sp_asynce_work_queue list */
935 struct list_head sp_els_xri_aborted_work_queue;
936 spinlock_t els_xri_abrt_list_lock; /* protect els_xri_aborted list */
937 struct list_head sp_unsol_work_queue;
938 struct lpfc_sli4_link link_state;
939 struct lpfc_sli4_lnk_info lnk_info;
940 uint32_t pport_name_sta;
943 struct lpfc_iov iov;
944 spinlock_t sgl_list_lock; /* list of aborted els IOs */
945 spinlock_t nvmet_io_wait_lock; /* IOs waiting for ctx resources */
946 uint32_t physical_port;
949 struct lpfc_vector_map_info *cpu_map;
950 uint16_t num_possible_cpu;
951 uint16_t num_present_cpu;
952 struct cpumask irq_aff_mask;
953 uint16_t curr_disp_cpu;
954 struct lpfc_eq_intr_info __percpu *eq_info;
956 struct lpfc_hdwq_stat __percpu *c_stat;
958 struct lpfc_idle_stat *idle_stat;
959 uint32_t conf_trunk;
984 uint8_t flash_id;
985 uint8_t asic_rev;
986 uint16_t fawwpn_flag; /* FA-WWPN support state */