Lines Matching defs:lpfc_sli4_hba

461 struct lpfc_sli4_hba {  struct
462 void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for
464 void __iomem *ctrl_regs_memmap_p; /* Kernel memory mapped address for
466 void __iomem *drbl_regs_memmap_p; /* Kernel memory mapped address for
468 union {
492 } u;
495 void __iomem *PSMPHRregaddr;
498 void __iomem *SLIINTFregaddr;
501 void __iomem *ISRregaddr; /* HST_ISR register */
502 void __iomem *IMRregaddr; /* HST_IMR register */
503 void __iomem *ISCRregaddr; /* HST_ISCR register */
505 void __iomem *RQDBregaddr; /* RQ_DOORBELL register */
506 void __iomem *WQDBregaddr; /* WQ_DOORBELL register */
507 void __iomem *EQCQDBregaddr; /* EQCQ_DOORBELL register */
508 void __iomem *MQDBregaddr; /* MQ_DOORBELL register */
509 void __iomem *BMBXregaddr; /* BootStrap MBX register */
511 uint32_t ue_mask_lo;
512 uint32_t ue_mask_hi;
513 struct lpfc_register sli_intf;
514 struct lpfc_pc_sli4_params pc_sli4_params;
515 struct msix_entry *msix_entries;
516 uint8_t handler_name[LPFC_SLI4_HANDLER_CNT][LPFC_SLI4_HANDLER_NAME_SZ];
517 struct lpfc_fcp_eq_hdl *fcp_eq_hdl; /* FCP per-WQ handle */
520 struct lpfc_queue **hba_eq;/* Event queues for HBA */
521 struct lpfc_queue **fcp_cq;/* Fast-path FCP compl queue */
522 struct lpfc_queue **fcp_wq;/* Fast-path FCP work queue */
523 uint16_t *fcp_cq_map;
525 struct lpfc_queue *mbx_cq; /* Slow-path mailbox complete queue */
526 struct lpfc_queue *els_cq; /* Slow-path ELS response complete queue */
527 struct lpfc_queue *mbx_wq; /* Slow-path MBOX work queue */
528 struct lpfc_queue *els_wq; /* Slow-path ELS work queue */
529 struct lpfc_queue *hdr_rq; /* Slow-path Header Receive queue */
530 struct lpfc_queue *dat_rq; /* Slow-path Data Receive queue */
532 uint32_t fw_func_mode; /* FW function protocol mode */
533 uint32_t ulp0_mode; /* ULP0 protocol mode */
534 uint32_t ulp1_mode; /* ULP1 protocol mode */
536 struct lpfc_queue *fof_eq; /* Flash Optimized Fabric Event queue */
540 struct lpfc_queue *oas_cq; /* OAS completion queue */
541 struct lpfc_queue *oas_wq; /* OAS Work queue */
542 struct lpfc_sli_ring *oas_ring;
543 uint64_t oas_next_lun;
544 uint8_t oas_next_tgt_wwpn[8];
545 uint8_t oas_next_vpt_wwpn[8];
548 int eq_esize;
549 int eq_ecount;
550 int cq_esize;
551 int cq_ecount;
552 int wq_esize;
553 int wq_ecount;
554 int mq_esize;
555 int mq_ecount;
556 int rq_esize;
557 int rq_ecount;
561 uint32_t intr_enable;
562 struct lpfc_bmbx bmbx;
563 struct lpfc_max_cfg_param max_cfg_param;
564 uint16_t extents_in_use; /* must allocate resource extents. */
565 uint16_t rpi_hdrs_in_use; /* must post rpi hdrs if set. */
566 uint16_t next_xri; /* last_xri - max_cfg_param.xri_base = used */
567 uint16_t next_rpi;
568 uint16_t scsi_xri_max;
569 uint16_t scsi_xri_cnt;
570 uint16_t els_xri_cnt;
571 uint16_t scsi_xri_start;
572 struct list_head lpfc_free_sgl_list;
573 struct list_head lpfc_sgl_list;
574 struct list_head lpfc_abts_els_sgl_list;
575 struct list_head lpfc_abts_scsi_buf_list;
576 struct lpfc_sglq **lpfc_sglq_active_list;
577 struct list_head lpfc_rpi_hdr_list;
578 unsigned long *rpi_bmask;
579 uint16_t *rpi_ids;
580 uint16_t rpi_count;
581 struct list_head lpfc_rpi_blk_list;
582 unsigned long *xri_bmask;
583 uint16_t *xri_ids;
584 struct list_head lpfc_xri_blk_list;
585 unsigned long *vfi_bmask;
586 uint16_t *vfi_ids;
587 uint16_t vfi_count;
588 struct list_head lpfc_vfi_blk_list;
589 struct lpfc_sli4_flags sli4_flags;
590 struct list_head sp_queue_event;
591 struct list_head sp_cqe_event_pool;
592 struct list_head sp_asynce_work_queue;
593 struct list_head sp_fcp_xri_aborted_work_queue;
594 struct list_head sp_els_xri_aborted_work_queue;
595 struct list_head sp_unsol_work_queue;
596 struct lpfc_sli4_link link_state;
597 struct lpfc_sli4_lnk_info lnk_info;
598 uint32_t pport_name_sta;
601 struct lpfc_iov iov;
602 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */
603 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */
604 uint32_t physical_port;
607 struct lpfc_vector_map_info *cpu_map;
608 uint16_t num_online_cpu;
609 uint16_t num_present_cpu;
610 uint16_t curr_disp_cpu;