Lines Matching refs:sgl

853  * __lpfc_sli_get_sglq - Allocates an iocb object from sgl pool
2684 * exchange busy so sgl (xri)
2717 * sgl (xri) process.
6113 "0582 Error %d during els sgl post "
6122 "2560 Error %d during els sgl post "
6133 "0383 Error %d during scsi sgl post "
7509 * lpfc_sli4_bpl2sgl - Convert the bpl/bde to a sgl.
7515 * to a sgl list for the sli4 hardware. The physical address
7532 struct sli4_sge *sgl = NULL;
7543 sgl = (struct sli4_sge *)sglq->sgl;
7565 sgl->addr_hi = bpl->addrHigh;
7566 sgl->addr_lo = bpl->addrLow;
7568 sgl->word2 = le32_to_cpu(sgl->word2);
7570 bf_set(lpfc_sli4_sge_last, sgl, 1);
7572 bf_set(lpfc_sli4_sge_last, sgl, 0);
7574 * can assign it to the sgl.
7577 sgl->sge_len = cpu_to_le32(bde.tus.f.bdeSize);
7578 /* The offsets in the sgl need to be accumulated
7589 bf_set(lpfc_sli4_sge_offset, sgl, offset);
7590 bf_set(lpfc_sli4_sge_type, sgl,
7594 sgl->word2 = cpu_to_le32(sgl->word2);
7596 sgl++;
7601 * before putting them in the sgl.
7603 sgl->addr_hi =
7605 sgl->addr_lo =
7607 sgl->word2 = le32_to_cpu(sgl->word2);
7608 bf_set(lpfc_sli4_sge_last, sgl, 1);
7609 sgl->word2 = cpu_to_le32(sgl->word2);
7610 sgl->sge_len =
7698 * can assign it to the sgl.
8108 /* These IO's already have an XRI and a mapped sgl. */
12973 * This routine will post the sgl pages for the IO that has the xritag
12982 * the second sgl can have between 1 and 256 entries.
13153 * This routine is invoked to post a block of driver's sgl pages to the
13162 struct lpfc_mbx_post_uembed_sgl_page1 *sgl;
13180 "2559 Block sgl registration required DMA "
13203 sgl = (struct lpfc_mbx_post_uembed_sgl_page1 *)viraddr;
13204 sgl_pg_pairs = &sgl->sgl_pg_pairs;
13242 bf_set(lpfc_post_sgl_pages_xri, sgl, xritag_start);
13243 bf_set(lpfc_post_sgl_pages_xricnt, sgl, els_xri_cnt);
13244 sgl->word0 = cpu_to_le32(sgl->word0);
13251 shdr = (union lpfc_sli4_cfg_shdr *) &sgl->cfg_shdr;
13274 * This routine is invoked to post a block of driver's sgl pages to the
13283 struct lpfc_mbx_post_uembed_sgl_page1 *sgl;
13304 "2989 Block sgl registration required DMA "
13350 sgl = (struct lpfc_mbx_post_uembed_sgl_page1 *)viraddr;
13351 sgl_pg_pairs = &sgl->sgl_pg_pairs;
13402 bf_set(lpfc_post_sgl_pages_xri, sgl, xritag_start);
13403 bf_set(lpfc_post_sgl_pages_xricnt, sgl, loop_cnt);
13404 sgl->word0 = cpu_to_le32(sgl->word0);
13416 shdr = (union lpfc_sli4_cfg_shdr *) &sgl->cfg_shdr;
13444 * lpfc_sli4_post_scsi_sgl_block - post a block of scsi sgl list to firmware
13449 * This routine is invoked to post a block of @count scsi sgl pages from a
13459 struct lpfc_mbx_post_uembed_sgl_page1 *sgl;
13476 "0217 Block sgl registration required DMA "
13505 sgl = (struct lpfc_mbx_post_uembed_sgl_page1 *)viraddr;
13506 sgl_pg_pairs = &sgl->sgl_pg_pairs;
13529 bf_set(lpfc_post_sgl_pages_xri, sgl, xritag_start);
13530 bf_set(lpfc_post_sgl_pages_xricnt, sgl, pg_pairs);
13532 sgl->word0 = cpu_to_le32(sgl->word0);
13540 shdr = (union lpfc_sli4_cfg_shdr *) &sgl->cfg_shdr;
13561 * This routine is invoked to post a block of @count scsi sgl pages from a
13571 struct lpfc_mbx_post_uembed_sgl_page1 *sgl;
13591 "2932 Block sgl registration required DMA "
13597 * The use of extents requires the driver to post the sgl headers
13645 sgl = (struct lpfc_mbx_post_uembed_sgl_page1 *)viraddr;
13646 sgl_pg_pairs = &sgl->sgl_pg_pairs;
13681 bf_set(lpfc_post_sgl_pages_xri, sgl, xri_start);
13682 bf_set(lpfc_post_sgl_pages_xricnt, sgl, pg_pairs);
13689 sgl->word0 = cpu_to_le32(sgl->word0);
13696 shdr = (union lpfc_sli4_cfg_shdr *) &sgl->cfg_shdr;
16019 fail_msg = "to convert bpl to sgl";