Home
last modified time | relevance | path

Searched refs:sli3 (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_mbox.c970 pring->sli.sli3.sizeCiocb = in lpfc_config_pcb_setup()
973 pring->sli.sli3.sizeRiocb = in lpfc_config_pcb_setup()
978 if ((pring->sli.sli3.numCiocb == 0) || in lpfc_config_pcb_setup()
979 (pring->sli.sli3.numRiocb == 0)) { in lpfc_config_pcb_setup()
986 pring->sli.sli3.cmdringaddr = NULL; in lpfc_config_pcb_setup()
987 pring->sli.sli3.rspringaddr = NULL; in lpfc_config_pcb_setup()
991 pring->sli.sli3.cmdringaddr = (void *)&phba->IOCBs[iocbCnt]; in lpfc_config_pcb_setup()
992 pcbp->rdsc[i].cmdEntries = pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup()
999 iocbCnt += pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup()
1002 pring->sli.sli3.rspringaddr = (void *) &phba->IOCBs[iocbCnt]; in lpfc_config_pcb_setup()
[all …]
Dlpfc_sli.c743 return (IOCB_t *) (((char *) pring->sli.sli3.cmdringaddr) + in lpfc_cmd_iocb()
744 pring->sli.sli3.cmdidx * phba->iocb_cmd_size); in lpfc_cmd_iocb()
760 return (IOCB_t *) (((char *) pring->sli.sli3.rspringaddr) + in lpfc_resp_iocb()
761 pring->sli.sli3.rspidx * phba->iocb_rsp_size); in lpfc_resp_iocb()
1646 uint32_t max_cmd_idx = pring->sli.sli3.numCiocb; in lpfc_sli_next_iocb_slot()
1650 if ((pring->sli.sli3.next_cmdidx == pring->sli.sli3.cmdidx) && in lpfc_sli_next_iocb_slot()
1651 (++pring->sli.sli3.next_cmdidx >= max_cmd_idx)) in lpfc_sli_next_iocb_slot()
1652 pring->sli.sli3.next_cmdidx = 0; in lpfc_sli_next_iocb_slot()
1654 if (unlikely(pring->sli.sli3.local_getidx == in lpfc_sli_next_iocb_slot()
1655 pring->sli.sli3.next_cmdidx)) { in lpfc_sli_next_iocb_slot()
[all …]
Dlpfc_sli.h261 struct lpfc_sli3_ring sli3; member
Dlpfc_debugfs.c773 pring->sli.sli3.numCiocb, in lpfc_debugfs_dumpHostSlim_data()
774 pring->sli.sli3.next_cmdidx, in lpfc_debugfs_dumpHostSlim_data()
775 pring->sli.sli3.local_getidx, in lpfc_debugfs_dumpHostSlim_data()
777 pring->sli.sli3.numRiocb); in lpfc_debugfs_dumpHostSlim_data()
Dlpfc_init.c534 if (psli->sli3_ring[LPFC_EXTRA_RING].sli.sli3.cmdringaddr) in lpfc_config_port_post()
536 if (psli->sli3_ring[LPFC_FCP_RING].sli.sli3.cmdringaddr) in lpfc_config_port_post()