Lines Matching refs:sgl

973 	struct sli4_sge *sgl;
992 sgl = lpfc_ncmd->dma_sgl;
993 sgl->sge_len = cpu_to_le32(nCmd->cmdlen);
995 sgl->addr_hi = 0;
996 sgl->addr_lo = 0;
1035 sgl->addr_hi = cpu_to_le32(putPaddrHigh(nCmd->cmddma));
1036 sgl->addr_lo = cpu_to_le32(putPaddrLow(nCmd->cmddma));
1041 wqe->generic.bde.addrHigh = sgl->addr_hi;
1042 wqe->generic.bde.addrLow = sgl->addr_lo;
1049 sgl++;
1052 sgl->addr_hi = cpu_to_le32(putPaddrHigh(nCmd->rspdma));
1053 sgl->addr_lo = cpu_to_le32(putPaddrLow(nCmd->rspdma));
1054 sgl->word2 = le32_to_cpu(sgl->word2);
1056 bf_set(lpfc_sli4_sge_last, sgl, 0);
1058 bf_set(lpfc_sli4_sge_last, sgl, 1);
1059 sgl->word2 = cpu_to_le32(sgl->word2);
1060 sgl->sge_len = cpu_to_le32(nCmd->rsplen);
1430 struct sli4_sge *sgl = lpfc_ncmd->dma_sgl;
1454 sgl += 2;
1456 first_data_sgl = sgl;
1489 sgl->word2 = 0;
1491 bf_set(lpfc_sli4_sge_last, sgl, 1);
1492 bf_set(lpfc_sli4_sge_type, sgl,
1495 bf_set(lpfc_sli4_sge_last, sgl, 0);
1502 bf_set(lpfc_sli4_sge_type, sgl,
1512 sgl->addr_lo = cpu_to_le32(putPaddrLow(
1514 sgl->addr_hi = cpu_to_le32(putPaddrHigh(
1518 bf_set(lpfc_sli4_sge_type, sgl,
1523 if (!(bf_get(lpfc_sli4_sge_type, sgl) &
1526 bf_set(lpfc_sli4_sge_last, sgl, 1);
1530 sgl->addr_lo = cpu_to_le32(
1532 sgl->addr_hi = cpu_to_le32(
1535 bf_set(lpfc_sli4_sge_offset, sgl, dma_offset);
1536 sgl->word2 = cpu_to_le32(sgl->word2);
1537 sgl->sge_len = cpu_to_le32(dma_len);
1542 sgl++;
1546 sgl->word2 = cpu_to_le32(sgl->word2);
1548 sgl->sge_len = cpu_to_le32(
1551 sgl = (struct sli4_sge *)sgl_xtra->dma_sgl;
2102 struct sli4_sge *sgl;
2124 sgl = lpfc_ncmd->dma_sgl;
2125 bf_set(lpfc_sli4_sge_type, sgl, LPFC_SGE_TYPE_SKIP);
2126 bf_set(lpfc_sli4_sge_last, sgl, 0);
2127 sgl->word2 = cpu_to_le32(sgl->word2);