Lines Matching refs:sgp
1196 make_sgl(struct sg_ent *sgp, bus_dma_segment_t *segs, int nsegs) in make_sgl() argument
1207 ++sgp; in make_sgl()
1209 sgp->len[idx] = htobe32(segs[i].ds_len); in make_sgl()
1210 sgp->addr[idx] = htobe64(segs[i].ds_addr); in make_sgl()
1215 sgp->len[idx] = 0; in make_sgl()
1216 sgp->addr[idx] = 0; in make_sgl()
1367 struct sg_ent *sgp, *sgl; in t3_encap() local
1574 sgp = (ndesc == 1) ? (struct sg_ent *)&txd->flit[flits] : sgl; in t3_encap()
1575 make_sgl(sgp, segs, nsegs); in t3_encap()
2204 struct sg_ent *sgp, t3sgl[TX_MAX_SEGS / 2 + 1]; in write_ofld_wr() local
2231 sgp = (ndesc == 1) ? (struct sg_ent *)&d->flit[flits] : t3sgl; in write_ofld_wr()
2238 ++sgp; in write_ofld_wr()
2239 sgp->len[idx] = htobe32(segs[i].ss_len); in write_ofld_wr()
2240 sgp->addr[idx] = htobe64(segs[i].ss_paddr); in write_ofld_wr()
2244 sgp->len[idx] = 0; in write_ofld_wr()
2245 sgp->addr[idx] = 0; in write_ofld_wr()