Lines Matching refs:sgp
230 const struct sg_ent *sgp;
234 sgp = (struct sg_ent *)&q->desc[cidx].flit[ui->sflit];
237 pci_unmap_single(pdev, be64_to_cpu(sgp->addr[0]), ui->len,
248 pci_unmap_page(pdev, be64_to_cpu(sgp->addr[j]),
253 sgp++;
692 * @sgp: the SGL to populate
702 struct sg_ent *sgp, unsigned char *start,
710 sgp->len[0] = cpu_to_be32(len);
711 sgp->addr[0] = cpu_to_be64(mapping);
721 sgp->len[j] = cpu_to_be32(frag->size);
722 sgp->addr[j] = cpu_to_be64(mapping);
725 ++sgp;
728 sgp->len[j] = 0;
882 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1];
936 sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl;
937 sgl_flits = make_sgl(skb, sgp, skb->data, skb_headlen(skb), adap->pdev);
1311 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1];
1327 sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl;
1328 sgl_flits = make_sgl(skb, sgp, skb_transport_header(skb),
1332 setup_deferred_unmapping(skb, adap->pdev, sgp, sgl_flits);