Lines Matching refs:sli3
885 return (IOCB_t *) (((char *) pring->sli.sli3.cmdringaddr) + in lpfc_cmd_iocb()
886 pring->sli.sli3.cmdidx * phba->iocb_cmd_size); in lpfc_cmd_iocb()
902 return (IOCB_t *) (((char *) pring->sli.sli3.rspringaddr) + in lpfc_resp_iocb()
903 pring->sli.sli3.rspidx * phba->iocb_rsp_size); in lpfc_resp_iocb()
2062 uint32_t max_cmd_idx = pring->sli.sli3.numCiocb; in lpfc_sli_next_iocb_slot()
2066 if ((pring->sli.sli3.next_cmdidx == pring->sli.sli3.cmdidx) && in lpfc_sli_next_iocb_slot()
2067 (++pring->sli.sli3.next_cmdidx >= max_cmd_idx)) in lpfc_sli_next_iocb_slot()
2068 pring->sli.sli3.next_cmdidx = 0; in lpfc_sli_next_iocb_slot()
2070 if (unlikely(pring->sli.sli3.local_getidx == in lpfc_sli_next_iocb_slot()
2071 pring->sli.sli3.next_cmdidx)) { in lpfc_sli_next_iocb_slot()
2073 pring->sli.sli3.local_getidx = le32_to_cpu(pgp->cmdGetInx); in lpfc_sli_next_iocb_slot()
2075 if (unlikely(pring->sli.sli3.local_getidx >= max_cmd_idx)) { in lpfc_sli_next_iocb_slot()
2080 pring->sli.sli3.local_getidx, in lpfc_sli_next_iocb_slot()
2096 if (pring->sli.sli3.local_getidx == pring->sli.sli3.next_cmdidx) in lpfc_sli_next_iocb_slot()
2232 pring->sli.sli3.cmdidx = pring->sli.sli3.next_cmdidx; in lpfc_sli_submit_iocb()
2233 writel(pring->sli.sli3.cmdidx, &phba->host_gp[pring->ringno].cmdPutInx); in lpfc_sli_submit_iocb()
3912 pring->sli.sli3.numRiocb); in lpfc_sli_rsp_pointers_error()
4021 portRspMax = pring->sli.sli3.numRiocb; in lpfc_sli_handle_fast_ring_event()
4035 while (pring->sli.sli3.rspidx != portRspPut) { in lpfc_sli_handle_fast_ring_event()
4044 if (++pring->sli.sli3.rspidx >= portRspMax) in lpfc_sli_handle_fast_ring_event()
4045 pring->sli.sli3.rspidx = 0; in lpfc_sli_handle_fast_ring_event()
4146 writel(pring->sli.sli3.rspidx, in lpfc_sli_handle_fast_ring_event()
4149 if (pring->sli.sli3.rspidx == portRspPut) in lpfc_sli_handle_fast_ring_event()
4164 pring->sli.sli3.local_getidx = le32_to_cpu(pgp->cmdGetInx); in lpfc_sli_handle_fast_ring_event()
4404 portRspMax = pring->sli.sli3.numRiocb; in lpfc_sli_handle_slow_ring_event_s3()
4426 while (pring->sli.sli3.rspidx != portRspPut) { in lpfc_sli_handle_slow_ring_event_s3()
4454 if (++pring->sli.sli3.rspidx >= portRspMax) in lpfc_sli_handle_slow_ring_event_s3()
4455 pring->sli.sli3.rspidx = 0; in lpfc_sli_handle_slow_ring_event_s3()
4465 writel(pring->sli.sli3.rspidx, in lpfc_sli_handle_slow_ring_event_s3()
4478 if (pring->sli.sli3.rspidx == portRspPut) { in lpfc_sli_handle_slow_ring_event_s3()
4496 pring->sli.sli3.local_getidx = le32_to_cpu(pgp->cmdGetInx); in lpfc_sli_handle_slow_ring_event_s3()
5138 pring->sli.sli3.rspidx = 0; in lpfc_sli_brdreset()
5139 pring->sli.sli3.next_cmdidx = 0; in lpfc_sli_brdreset()
5140 pring->sli.sli3.local_getidx = 0; in lpfc_sli_brdreset()
5141 pring->sli.sli3.cmdidx = 0; in lpfc_sli_brdreset()
11369 pring->sli.sli3.numCiocb -= SLI2_IOCB_CMD_R1XTRA_ENTRIES; in lpfc_extra_ring_setup()
11370 pring->sli.sli3.numRiocb -= SLI2_IOCB_RSP_R1XTRA_ENTRIES; in lpfc_extra_ring_setup()
11371 pring->sli.sli3.numCiocb -= SLI2_IOCB_CMD_R3XTRA_ENTRIES; in lpfc_extra_ring_setup()
11372 pring->sli.sli3.numRiocb -= SLI2_IOCB_RSP_R3XTRA_ENTRIES; in lpfc_extra_ring_setup()
11377 pring->sli.sli3.numCiocb += SLI2_IOCB_CMD_R1XTRA_ENTRIES; in lpfc_extra_ring_setup()
11378 pring->sli.sli3.numRiocb += SLI2_IOCB_RSP_R1XTRA_ENTRIES; in lpfc_extra_ring_setup()
11379 pring->sli.sli3.numCiocb += SLI2_IOCB_CMD_R3XTRA_ENTRIES; in lpfc_extra_ring_setup()
11380 pring->sli.sli3.numRiocb += SLI2_IOCB_RSP_R3XTRA_ENTRIES; in lpfc_extra_ring_setup()
11658 pring->sli.sli3.numCiocb = SLI2_IOCB_CMD_R0_ENTRIES; in lpfc_sli_setup()
11659 pring->sli.sli3.numRiocb = SLI2_IOCB_RSP_R0_ENTRIES; in lpfc_sli_setup()
11660 pring->sli.sli3.numCiocb += in lpfc_sli_setup()
11662 pring->sli.sli3.numRiocb += in lpfc_sli_setup()
11664 pring->sli.sli3.numCiocb += in lpfc_sli_setup()
11666 pring->sli.sli3.numRiocb += in lpfc_sli_setup()
11668 pring->sli.sli3.sizeCiocb = (phba->sli_rev == 3) ? in lpfc_sli_setup()
11671 pring->sli.sli3.sizeRiocb = (phba->sli_rev == 3) ? in lpfc_sli_setup()
11682 pring->sli.sli3.numCiocb = SLI2_IOCB_CMD_R1_ENTRIES; in lpfc_sli_setup()
11683 pring->sli.sli3.numRiocb = SLI2_IOCB_RSP_R1_ENTRIES; in lpfc_sli_setup()
11684 pring->sli.sli3.sizeCiocb = (phba->sli_rev == 3) ? in lpfc_sli_setup()
11687 pring->sli.sli3.sizeRiocb = (phba->sli_rev == 3) ? in lpfc_sli_setup()
11695 pring->sli.sli3.numCiocb = SLI2_IOCB_CMD_R2_ENTRIES; in lpfc_sli_setup()
11696 pring->sli.sli3.numRiocb = SLI2_IOCB_RSP_R2_ENTRIES; in lpfc_sli_setup()
11697 pring->sli.sli3.sizeCiocb = (phba->sli_rev == 3) ? in lpfc_sli_setup()
11700 pring->sli.sli3.sizeRiocb = (phba->sli_rev == 3) ? in lpfc_sli_setup()
11735 totiocbsize += (pring->sli.sli3.numCiocb * in lpfc_sli_setup()
11736 pring->sli.sli3.sizeCiocb) + in lpfc_sli_setup()
11737 (pring->sli.sli3.numRiocb * pring->sli.sli3.sizeRiocb); in lpfc_sli_setup()
11834 pring->sli.sli3.next_cmdidx = 0; in lpfc_sli_queue_init()
11835 pring->sli.sli3.local_getidx = 0; in lpfc_sli_queue_init()
11836 pring->sli.sli3.cmdidx = 0; in lpfc_sli_queue_init()