Lines Matching defs:sgp
239 const struct sg_ent *sgp;
243 sgp = (struct sg_ent *)&q->desc[cidx].flit[d->sflit];
247 pci_unmap_single(pdev, be64_to_cpu(sgp->addr[0]),
256 pci_unmap_page(pdev, be64_to_cpu(sgp->addr[j]),
261 sgp++;
1003 * @sgp: the SGL to populate
1013 struct sg_ent *sgp, unsigned char *start,
1019 sgp->len[0] = cpu_to_be32(len);
1020 sgp->addr[j++] = cpu_to_be64(addr[k++]);
1027 sgp->len[j] = cpu_to_be32(skb_frag_size(frag));
1028 sgp->addr[j] = cpu_to_be64(addr[k++]);
1031 ++sgp;
1034 sgp->len[j] = 0;
1188 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1];
1242 sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl;
1243 sgl_flits = write_sgl(skb, sgp, skb->data, skb_headlen(skb), addr);
1639 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1];
1655 sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl;
1656 sgl_flits = write_sgl(skb, sgp, skb_transport_header(skb),
1660 setup_deferred_unmapping(skb, adap->pdev, sgp, sgl_flits);