Home
last modified time | relevance | path

Searched refs:sli4_hba (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_init.c857 spin_lock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_hba_down_post_s4()
859 &phba->sli4_hba.lpfc_abts_els_sgl_list, list) in lpfc_hba_down_post_s4()
862 list_splice_init(&phba->sli4_hba.lpfc_abts_els_sgl_list, in lpfc_hba_down_post_s4()
863 &phba->sli4_hba.lpfc_sgl_list); in lpfc_hba_down_post_s4()
864 spin_unlock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_hba_down_post_s4()
868 spin_lock(&phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_hba_down_post_s4()
869 list_splice_init(&phba->sli4_hba.lpfc_abts_scsi_buf_list, in lpfc_hba_down_post_s4()
871 spin_unlock(&phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_hba_down_post_s4()
1435 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
1442 readl(phba->sli4_hba.u.if_type2.STATUSregaddr); in lpfc_handle_eratt_s4()
[all …]
Dlpfc_debugfs.c1758 phba->sli4_hba.sp_eq->queue_id, in lpfc_idiag_queinfo_read()
1759 phba->sli4_hba.sp_eq->entry_count, in lpfc_idiag_queinfo_read()
1760 phba->sli4_hba.sp_eq->host_index, in lpfc_idiag_queinfo_read()
1761 phba->sli4_hba.sp_eq->hba_index); in lpfc_idiag_queinfo_read()
1770 phba->sli4_hba.fp_eq[fcp_qidx]->queue_id, in lpfc_idiag_queinfo_read()
1771 phba->sli4_hba.fp_eq[fcp_qidx]->entry_count, in lpfc_idiag_queinfo_read()
1772 phba->sli4_hba.fp_eq[fcp_qidx]->host_index, in lpfc_idiag_queinfo_read()
1773 phba->sli4_hba.fp_eq[fcp_qidx]->hba_index); in lpfc_idiag_queinfo_read()
1782 phba->sli4_hba.mbx_cq->assoc_qid); in lpfc_idiag_queinfo_read()
1786 phba->sli4_hba.mbx_cq->queue_id, in lpfc_idiag_queinfo_read()
[all …]
Dlpfc_sli.c112 writel(doorbell.word0, q->phba->sli4_hba.WQDBregaddr); in lpfc_sli4_wq_put()
113 readl(q->phba->sli4_hba.WQDBregaddr); /* Flush */ in lpfc_sli4_wq_put()
177 writel(doorbell.word0, q->phba->sli4_hba.MQDBregaddr); in lpfc_sli4_mq_put()
178 readl(q->phba->sli4_hba.MQDBregaddr); /* Flush */ in lpfc_sli4_mq_put()
267 writel(doorbell.word0, q->phba->sli4_hba.EQCQDBregaddr); in lpfc_sli4_eq_release()
270 readl(q->phba->sli4_hba.EQCQDBregaddr); in lpfc_sli4_eq_release()
339 writel(doorbell.word0, q->phba->sli4_hba.EQCQDBregaddr); in lpfc_sli4_cq_release()
384 writel(doorbell.word0, hq->phba->sli4_hba.RQDBregaddr); in lpfc_sli4_rq_put()
484 adj_xri = xritag - phba->sli4_hba.max_cfg_param.xri_base; in __lpfc_clear_active_sglq()
485 if (adj_xri > phba->sli4_hba.max_cfg_param.max_xri) in __lpfc_clear_active_sglq()
[all …]
Dlpfc_scsi.c626 spin_lock(&phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_sli4_vport_delete_fcp_xri_aborted()
628 &phba->sli4_hba.lpfc_abts_scsi_buf_list, list) { in lpfc_sli4_vport_delete_fcp_xri_aborted()
633 spin_unlock(&phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_sli4_vport_delete_fcp_xri_aborted()
660 spin_lock(&phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_sli4_fcp_xri_aborted()
662 &phba->sli4_hba.lpfc_abts_scsi_buf_list, list) { in lpfc_sli4_fcp_xri_aborted()
668 &phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_sli4_fcp_xri_aborted()
684 spin_unlock(&phba->sli4_hba.abts_scsi_buf_list_lock); in lpfc_sli4_fcp_xri_aborted()
723 for (index = 0; index < phba->sli4_hba.scsi_xri_cnt; index++) { in lpfc_sli4_repost_scsi_sgl_list()
724 psb = phba->sli4_hba.lpfc_scsi_psb_array[index]; in lpfc_sli4_repost_scsi_sgl_list()
738 if (index == phba->sli4_hba.scsi_xri_cnt - 1) in lpfc_sli4_repost_scsi_sgl_list()
[all …]
Dlpfc_vport.c96 phba->sli4_hba.max_cfg_param.vpi_used++; in lpfc_alloc_vpi()
109 phba->sli4_hba.max_cfg_param.vpi_used--; in lpfc_free_vpi()
Dlpfc_els.c1089 (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi()
7217 (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_fdisc()
7727 spin_lock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_sli4_vport_delete_els_xri_aborted()
7729 &phba->sli4_hba.lpfc_abts_els_sgl_list, list) { in lpfc_sli4_vport_delete_els_xri_aborted()
7733 spin_unlock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_sli4_vport_delete_els_xri_aborted()
7759 spin_lock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_sli4_els_xri_aborted()
7761 &phba->sli4_hba.lpfc_abts_els_sgl_list, list) { in lpfc_sli4_els_xri_aborted()
7767 &phba->sli4_hba.lpfc_sgl_list); in lpfc_sli4_els_xri_aborted()
7769 spin_unlock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_sli4_els_xri_aborted()
7779 spin_unlock(&phba->sli4_hba.abts_sgl_list_lock); in lpfc_sli4_els_xri_aborted()
Dlpfc.h546 struct lpfc_sli4_hba sli4_hba; member
Dlpfc_attr.c929 phba->sli4_hba.max_cfg_param.rpi_used; in lpfc_get_hba_info()
934 phba->sli4_hba.max_cfg_param.xri_used; in lpfc_get_hba_info()
945 *avpi = max_vpi - phba->sli4_hba.max_cfg_param.vpi_used; in lpfc_get_hba_info()
Dlpfc_mbox.c2092 bf_set(lpfc_reg_fcfi_rq_id0, reg_fcfi, phba->sli4_hba.hdr_rq->queue_id); in lpfc_reg_fcfi()