Lines Matching refs:sgl

830 	struct sli4_sge *sgl;
849 sgl = lpfc_ncmd->dma_sgl;
850 sgl->sge_len = cpu_to_le32(nCmd->cmdlen);
852 sgl->addr_hi = 0;
853 sgl->addr_lo = 0;
892 sgl->addr_hi = cpu_to_le32(putPaddrHigh(nCmd->cmddma));
893 sgl->addr_lo = cpu_to_le32(putPaddrLow(nCmd->cmddma));
898 wqe->generic.bde.addrHigh = sgl->addr_hi;
899 wqe->generic.bde.addrLow = sgl->addr_lo;
906 sgl++;
909 sgl->addr_hi = cpu_to_le32(putPaddrHigh(nCmd->rspdma));
910 sgl->addr_lo = cpu_to_le32(putPaddrLow(nCmd->rspdma));
911 sgl->word2 = le32_to_cpu(sgl->word2);
913 bf_set(lpfc_sli4_sge_last, sgl, 0);
915 bf_set(lpfc_sli4_sge_last, sgl, 1);
916 sgl->word2 = cpu_to_le32(sgl->word2);
917 sgl->sge_len = cpu_to_le32(nCmd->rsplen);
1341 struct sli4_sge *sgl = lpfc_ncmd->dma_sgl;
1364 sgl += 2;
1366 first_data_sgl = sgl;
1399 sgl->word2 = 0;
1401 bf_set(lpfc_sli4_sge_last, sgl, 1);
1402 bf_set(lpfc_sli4_sge_type, sgl,
1405 bf_set(lpfc_sli4_sge_last, sgl, 0);
1412 bf_set(lpfc_sli4_sge_type, sgl,
1422 sgl->addr_lo = cpu_to_le32(putPaddrLow(
1424 sgl->addr_hi = cpu_to_le32(putPaddrHigh(
1428 bf_set(lpfc_sli4_sge_type, sgl,
1433 if (!(bf_get(lpfc_sli4_sge_type, sgl) &
1436 bf_set(lpfc_sli4_sge_last, sgl, 1);
1440 sgl->addr_lo = cpu_to_le32(
1442 sgl->addr_hi = cpu_to_le32(
1445 bf_set(lpfc_sli4_sge_offset, sgl, dma_offset);
1446 sgl->word2 = cpu_to_le32(sgl->word2);
1447 sgl->sge_len = cpu_to_le32(dma_len);
1452 sgl++;
1456 sgl->word2 = cpu_to_le32(sgl->word2);
1458 sgl->sge_len = cpu_to_le32(
1461 sgl = (struct sli4_sge *)sgl_xtra->dma_sgl;
2044 struct sli4_sge *sgl;
2066 sgl = lpfc_ncmd->dma_sgl;
2067 bf_set(lpfc_sli4_sge_type, sgl, LPFC_SGE_TYPE_SKIP);
2068 bf_set(lpfc_sli4_sge_last, sgl, 0);
2069 sgl->word2 = cpu_to_le32(sgl->word2);