Lines Matching defs:lpfc_sli4_hba
369 struct lpfc_sli4_hba { struct
370 void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for
372 void __iomem *ctrl_regs_memmap_p; /* Kernel memory mapped address for
374 void __iomem *drbl_regs_memmap_p; /* Kernel memory mapped address for
376 union {
391 } u;
394 void __iomem *PSMPHRregaddr;
397 void __iomem *SLIINTFregaddr;
400 void __iomem *ISRregaddr; /* HST_ISR register */
401 void __iomem *IMRregaddr; /* HST_IMR register */
402 void __iomem *ISCRregaddr; /* HST_ISCR register */
404 void __iomem *RQDBregaddr; /* RQ_DOORBELL register */
405 void __iomem *WQDBregaddr; /* WQ_DOORBELL register */
406 void __iomem *EQCQDBregaddr; /* EQCQ_DOORBELL register */
407 void __iomem *MQDBregaddr; /* MQ_DOORBELL register */
408 void __iomem *BMBXregaddr; /* BootStrap MBX register */
410 uint32_t ue_mask_lo;
411 uint32_t ue_mask_hi;
412 struct lpfc_register sli_intf;
413 struct lpfc_pc_sli4_params pc_sli4_params;
414 struct msix_entry *msix_entries;
415 uint32_t cfg_eqn;
416 uint32_t msix_vec_nr;
417 struct lpfc_fcp_eq_hdl *fcp_eq_hdl; /* FCP per-WQ handle */
419 struct lpfc_queue **fp_eq; /* Fast-path event queue */
420 struct lpfc_queue *sp_eq; /* Slow-path event queue */
421 struct lpfc_queue **fcp_wq;/* Fast-path FCP work queue */
422 struct lpfc_queue *mbx_wq; /* Slow-path MBOX work queue */
423 struct lpfc_queue *els_wq; /* Slow-path ELS work queue */
424 struct lpfc_queue *hdr_rq; /* Slow-path Header Receive queue */
425 struct lpfc_queue *dat_rq; /* Slow-path Data Receive queue */
426 struct lpfc_queue **fcp_cq;/* Fast-path FCP compl queue */
427 struct lpfc_queue *mbx_cq; /* Slow-path mailbox complete queue */
428 struct lpfc_queue *els_cq; /* Slow-path ELS response complete queue */
431 int eq_esize;
432 int eq_ecount;
433 int cq_esize;
434 int cq_ecount;
435 int wq_esize;
436 int wq_ecount;
437 int mq_esize;
438 int mq_ecount;
439 int rq_esize;
440 int rq_ecount;
444 uint32_t intr_enable;
445 struct lpfc_bmbx bmbx;
446 struct lpfc_max_cfg_param max_cfg_param;
447 uint16_t next_xri; /* last_xri - max_cfg_param.xri_base = used */
448 uint16_t next_rpi;
449 uint16_t scsi_xri_max;
450 uint16_t scsi_xri_cnt;
451 struct list_head lpfc_free_sgl_list;
452 struct list_head lpfc_sgl_list;
453 struct lpfc_sglq **lpfc_els_sgl_array;
454 struct list_head lpfc_abts_els_sgl_list;
455 struct lpfc_scsi_buf **lpfc_scsi_psb_array;
456 struct list_head lpfc_abts_scsi_buf_list;
457 uint32_t total_sglq_bufs;
458 struct lpfc_sglq **lpfc_sglq_active_list;
459 struct list_head lpfc_rpi_hdr_list;
460 unsigned long *rpi_bmask;
461 uint16_t rpi_count;
462 struct lpfc_sli4_flags sli4_flags;
463 struct list_head sp_queue_event;
464 struct list_head sp_cqe_event_pool;
465 struct list_head sp_asynce_work_queue;
466 struct list_head sp_fcp_xri_aborted_work_queue;
467 struct list_head sp_els_xri_aborted_work_queue;
468 struct list_head sp_unsol_work_queue;
469 struct lpfc_sli4_link link_state;
470 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */
471 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */