Lines Matching defs:lpfc_sli4_hba

403 struct lpfc_sli4_hba {  struct
404 void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for
406 void __iomem *ctrl_regs_memmap_p; /* Kernel memory mapped address for
408 void __iomem *drbl_regs_memmap_p; /* Kernel memory mapped address for
410 union {
434 } u;
437 void __iomem *PSMPHRregaddr;
440 void __iomem *SLIINTFregaddr;
443 void __iomem *ISRregaddr; /* HST_ISR register */
444 void __iomem *IMRregaddr; /* HST_IMR register */
445 void __iomem *ISCRregaddr; /* HST_ISCR register */
447 void __iomem *RQDBregaddr; /* RQ_DOORBELL register */
448 void __iomem *WQDBregaddr; /* WQ_DOORBELL register */
449 void __iomem *EQCQDBregaddr; /* EQCQ_DOORBELL register */
450 void __iomem *MQDBregaddr; /* MQ_DOORBELL register */
451 void __iomem *BMBXregaddr; /* BootStrap MBX register */
453 uint32_t ue_mask_lo;
454 uint32_t ue_mask_hi;
455 struct lpfc_register sli_intf;
456 struct lpfc_pc_sli4_params pc_sli4_params;
457 struct msix_entry *msix_entries;
458 uint32_t cfg_eqn;
459 uint32_t msix_vec_nr;
460 struct lpfc_fcp_eq_hdl *fcp_eq_hdl; /* FCP per-WQ handle */
462 struct lpfc_queue **fp_eq; /* Fast-path event queue */
463 struct lpfc_queue *sp_eq; /* Slow-path event queue */
464 struct lpfc_queue **fcp_wq;/* Fast-path FCP work queue */
465 struct lpfc_queue *mbx_wq; /* Slow-path MBOX work queue */
466 struct lpfc_queue *els_wq; /* Slow-path ELS work queue */
467 struct lpfc_queue *hdr_rq; /* Slow-path Header Receive queue */
468 struct lpfc_queue *dat_rq; /* Slow-path Data Receive queue */
469 struct lpfc_queue **fcp_cq;/* Fast-path FCP compl queue */
470 struct lpfc_queue *mbx_cq; /* Slow-path mailbox complete queue */
471 struct lpfc_queue *els_cq; /* Slow-path ELS response complete queue */
474 int eq_esize;
475 int eq_ecount;
476 int cq_esize;
477 int cq_ecount;
478 int wq_esize;
479 int wq_ecount;
480 int mq_esize;
481 int mq_ecount;
482 int rq_esize;
483 int rq_ecount;
487 uint32_t intr_enable;
488 struct lpfc_bmbx bmbx;
489 struct lpfc_max_cfg_param max_cfg_param;
490 uint16_t extents_in_use; /* must allocate resource extents. */
491 uint16_t rpi_hdrs_in_use; /* must post rpi hdrs if set. */
492 uint16_t next_xri; /* last_xri - max_cfg_param.xri_base = used */
493 uint16_t next_rpi;
494 uint16_t scsi_xri_max;
495 uint16_t scsi_xri_cnt;
496 uint16_t scsi_xri_start;
497 struct list_head lpfc_free_sgl_list;
498 struct list_head lpfc_sgl_list;
499 struct lpfc_sglq **lpfc_els_sgl_array;
500 struct list_head lpfc_abts_els_sgl_list;
501 struct lpfc_scsi_buf **lpfc_scsi_psb_array;
502 struct list_head lpfc_abts_scsi_buf_list;
503 uint32_t total_sglq_bufs;
504 struct lpfc_sglq **lpfc_sglq_active_list;
505 struct list_head lpfc_rpi_hdr_list;
506 unsigned long *rpi_bmask;
507 uint16_t *rpi_ids;
508 uint16_t rpi_count;
509 struct list_head lpfc_rpi_blk_list;
510 unsigned long *xri_bmask;
511 uint16_t *xri_ids;
512 uint16_t xri_count;
513 struct list_head lpfc_xri_blk_list;
514 unsigned long *vfi_bmask;
515 uint16_t *vfi_ids;
516 uint16_t vfi_count;
517 struct list_head lpfc_vfi_blk_list;
518 struct lpfc_sli4_flags sli4_flags;
519 struct list_head sp_queue_event;
520 struct list_head sp_cqe_event_pool;
521 struct list_head sp_asynce_work_queue;
522 struct list_head sp_fcp_xri_aborted_work_queue;
523 struct list_head sp_els_xri_aborted_work_queue;
524 struct list_head sp_unsol_work_queue;
525 struct lpfc_sli4_link link_state;
526 struct lpfc_sli4_lnk_info lnk_info;
527 uint32_t pport_name_sta;
530 struct lpfc_iov iov;
531 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */
532 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */