Lines Matching defs:sgp
236 const struct sg_ent *sgp;
240 sgp = (struct sg_ent *)&q->desc[cidx].flit[d->sflit];
244 dma_unmap_single(&pdev->dev, be64_to_cpu(sgp->addr[0]),
253 dma_unmap_page(&pdev->dev, be64_to_cpu(sgp->addr[j]),
258 sgp++;
998 * @sgp: the SGL to populate
1008 struct sg_ent *sgp, unsigned char *start,
1014 sgp->len[0] = cpu_to_be32(len);
1015 sgp->addr[j++] = cpu_to_be64(addr[k++]);
1022 sgp->len[j] = cpu_to_be32(skb_frag_size(frag));
1023 sgp->addr[j] = cpu_to_be64(addr[k++]);
1026 ++sgp;
1029 sgp->len[j] = 0;
1183 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1];
1237 sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl;
1238 sgl_flits = write_sgl(skb, sgp, skb->data, skb_headlen(skb), addr);
1636 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1];
1652 sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl;
1653 sgl_flits = write_sgl(skb, sgp, skb_transport_header(skb),
1657 setup_deferred_unmapping(skb, adap->pdev, sgp, sgl_flits);