Home
last modified time | relevance | path

Searched refs:sli (Results 1 – 14 of 14) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_sli.c760 return (IOCB_t *) (((char *) pring->sli.sli3.cmdringaddr) + in lpfc_cmd_iocb()
761 pring->sli.sli3.cmdidx * phba->iocb_cmd_size); in lpfc_cmd_iocb()
777 return (IOCB_t *) (((char *) pring->sli.sli3.rspringaddr) + in lpfc_resp_iocb()
778 pring->sli.sli3.rspidx * phba->iocb_rsp_size); in lpfc_resp_iocb()
1553 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_ring_map()
1662 uint32_t max_cmd_idx = pring->sli.sli3.numCiocb; in lpfc_sli_next_iocb_slot()
1666 if ((pring->sli.sli3.next_cmdidx == pring->sli.sli3.cmdidx) && in lpfc_sli_next_iocb_slot()
1667 (++pring->sli.sli3.next_cmdidx >= max_cmd_idx)) in lpfc_sli_next_iocb_slot()
1668 pring->sli.sli3.next_cmdidx = 0; in lpfc_sli_next_iocb_slot()
1670 if (unlikely(pring->sli.sli3.local_getidx == in lpfc_sli_next_iocb_slot()
[all …]
Dlpfc_mbox.c956 struct lpfc_sli *psli = &phba->sli; in lpfc_config_pcb_setup()
969 pring->sli.sli3.sizeCiocb = in lpfc_config_pcb_setup()
972 pring->sli.sli3.sizeRiocb = in lpfc_config_pcb_setup()
977 if ((pring->sli.sli3.numCiocb == 0) || in lpfc_config_pcb_setup()
978 (pring->sli.sli3.numRiocb == 0)) { in lpfc_config_pcb_setup()
985 pring->sli.sli3.cmdringaddr = NULL; in lpfc_config_pcb_setup()
986 pring->sli.sli3.rspringaddr = NULL; in lpfc_config_pcb_setup()
990 pring->sli.sli3.cmdringaddr = (void *)&phba->IOCBs[iocbCnt]; in lpfc_config_pcb_setup()
991 pcbp->rdsc[i].cmdEntries = pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup()
998 iocbCnt += pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup()
[all …]
Dlpfc_init.c417 struct lpfc_sli *psli = &phba->sli; in lpfc_config_port_post()
530 if (psli->sli3_ring[LPFC_EXTRA_RING].sli.sli3.cmdringaddr) in lpfc_config_port_post()
532 if (psli->sli3_ring[LPFC_FCP_RING].sli.sli3.cmdringaddr) in lpfc_config_port_post()
908 struct lpfc_sli *psli = &phba->sli; in lpfc_hba_free_post_buf()
950 struct lpfc_sli *psli = &phba->sli; in lpfc_hba_clean_txcmplq()
1406 struct lpfc_sli *psli = &phba->sli; in lpfc_hb_timeout_handler()
1541 struct lpfc_sli *psli = &phba->sli; in lpfc_offline_eratt()
1594 struct lpfc_sli *psli = &phba->sli; in lpfc_handle_deferred_eratt()
1689 struct lpfc_sli *psli = &phba->sli; in lpfc_handle_eratt_s3()
2078 struct lpfc_sli *psli = &phba->sli; in lpfc_handle_latt()
[all …]
Dlpfc.h725 struct lpfc_sli sli; member
1318 phba->sli.slistat.err_attn_event++; in lpfc_sli_read_hs()
1350 return &phba->sli.sli3_ring[LPFC_ELS_RING]; in lpfc_phba_elsring()
Dlpfc_hbadisc.c102 &phba->sli.sli3_ring[LPFC_FCP_RING], in lpfc_terminate_rport_io()
258 &phba->sli.sli3_ring[LPFC_FCP_RING], in lpfc_dev_loss_tmo_handler()
294 lpfc_sli_abort_iocb(vport, &phba->sli.sli3_ring[LPFC_FCP_RING], in lpfc_dev_loss_tmo_handler()
1100 struct lpfc_sli *psli = &phba->sli; in lpfc_mbx_cmpl_clear_la()
3400 struct lpfc_sli *psli = &phba->sli; in lpfc_enable_la()
3478 phba->sli.sli_flag |= LPFC_MENLO_MAINT; in lpfc_mbx_cmpl_read_topology()
3480 phba->sli.sli_flag &= ~LPFC_MENLO_MAINT; in lpfc_mbx_cmpl_read_topology()
3486 !(phba->sli.sli_flag & LPFC_MENLO_MAINT)) { in lpfc_mbx_cmpl_read_topology()
3539 if (phba->sli.sli_flag & LPFC_MENLO_MAINT && in lpfc_mbx_cmpl_read_topology()
3570 if (phba->sli.sli_flag & LPFC_MENLO_MAINT) in lpfc_mbx_cmpl_read_topology()
[all …]
Dlpfc_sli.h263 } sli; member
Dlpfc_attr.c767 (phba->sli.sli_flag & LPFC_MENLO_MAINT)); in lpfc_mlomgmt_show()
939 if (phba->sli.sli_flag & LPFC_MENLO_MAINT) in lpfc_link_state_show()
1133 (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO)) in lpfc_issue_lip()
1234 psli = &phba->sli; in lpfc_do_offline()
1870 (phba->sli.sli_flag & LPFC_SLI_ACTIVE) == 0) in lpfc_get_hba_info()
1873 if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) in lpfc_get_hba_info()
6774 struct lpfc_sli *psli = &phba->sli; in lpfc_get_stats()
6787 (phba->sli.sli_flag & LPFC_SLI_ACTIVE) == 0) in lpfc_get_stats()
6790 if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) in lpfc_get_stats()
6903 struct lpfc_sli *psli = &phba->sli; in lpfc_reset_stats()
[all …]
Dlpfc_nportdisc.c561 if ((phba->sli.sli_flag & LPFC_SLI_SUPPRESS_RSP) && in lpfc_rcv_plogi()
1425 if ((phba->sli.sli_flag & LPFC_SLI_SUPPRESS_RSP) && in lpfc_cmpl_plogi_plogi_issue()
1885 if ((mb = phba->sli.mbox_active)) { in lpfc_rcv_logo_reglogin_issue()
1896 list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { in lpfc_rcv_logo_reglogin_issue()
1907 phba->sli.mboxq_cnt--; in lpfc_rcv_logo_reglogin_issue()
2650 lpfc_sli_abort_iocb(vport, &phba->sli.sli3_ring[LPFC_FCP_RING], in lpfc_rcv_prlo_mapped_node()
Dlpfc_scsi.c560 for (i = 1; i <= phba->sli.last_iotag; i++) { in lpfc_sli4_io_xri_aborted()
561 iocbq = phba->sli.iocbq_lookup[i]; in lpfc_sli4_io_xri_aborted()
4451 if (!list_empty(&phba->sli.sli3_ring[LPFC_FCP_RING].txcmplq)) in lpfc_poll_rearm_timer()
4481 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_poll_timeout()
4673 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_queuecommand()
4881 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_abort_handler()
5193 &phba->sli.sli3_ring[LPFC_FCP_RING], in lpfc_reset_flush_io_context()
5632 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_slave_configure()
Dlpfc_mem.c289 struct lpfc_sli *psli = &phba->sli; in lpfc_mem_free_all()
Dlpfc_bsg.c947 (!(phba->sli.sli_flag & LPFC_SLI_ACTIVE))) in lpfc_bsg_ct_unsol_event()
1711 psli = &phba->sli; in lpfc_bsg_diag_mode_enter()
3103 struct lpfc_sli *psli = &phba->sli; in lpfc_bsg_diag_loopback_run()
4757 if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) { in lpfc_bsg_issue_mbox()
4976 (!(phba->sli.sli_flag & LPFC_SLI_ACTIVE))) { in lpfc_bsg_issue_mbox()
Dlpfc_debugfs.c729 struct lpfc_sli *psli = &phba->sli; in lpfc_debugfs_dumpHostSlim_data()
771 pring->sli.sli3.numCiocb, in lpfc_debugfs_dumpHostSlim_data()
772 pring->sli.sli3.next_cmdidx, in lpfc_debugfs_dumpHostSlim_data()
773 pring->sli.sli3.local_getidx, in lpfc_debugfs_dumpHostSlim_data()
775 pring->sli.sli3.numRiocb); in lpfc_debugfs_dumpHostSlim_data()
Dlpfc_els.c2212 if (phba->sli.sli_flag & LPFC_SLI_SUPPRESS_RSP) { in lpfc_issue_els_plogi()
3763 phba->sli.sli_flag |= LPFC_PROCESS_LA; in lpfc_link_reset()
4830 if (phba->sli.sli_flag & LPFC_SLI_SUPPRESS_RSP) { in lpfc_els_rsp_acc()
Dlpfc_ct.c3327 struct lpfc_sli *psli = &phba->sli; in lpfc_decode_firmware_rev()