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