Lines Matching defs:sge
397 mpii_dvatosge(struct mpii_sge *sge, u_int64_t dva)
399 sge->sg_addr_lo = htole32(dva);
400 sge->sg_addr_hi = htole32(dva >> 32);
828 struct mpii_ieee_sge *csge, *nsge, *sge;
836 /* zero length transfer still requires an SGE */
849 sge = nsge;
853 /* offset to the chain sge from the beginning */
857 /* address of the next sge */
861 sizeof(*sge));
864 sge = nsge;
865 sge->sg_flags = MPII_IEEE_SGE_ADDR_SYSTEM;
866 sge->sg_len = htole32(dmap->dm_segs[i].ds_len);
867 sge->sg_addr = htole64(dmap->dm_segs[i].ds_addr);
871 sge->sg_flags |= MPII_IEEE_SGE_END_OF_LIST;
886 struct mpii_sge *csge, *nsge, *sge;
896 /* zero length transfer still requires an SGE */
915 sge = nsge;
919 /* offset to the chain sge from the beginning */
922 len = (dmap->dm_nsegs - i) * sizeof(*sge);
925 /* address of the next sge */
930 sge = nsge;
931 sge->sg_hdr = htole32(flags | dmap->dm_segs[i].ds_len);
932 mpii_dvatosge(sge, dmap->dm_segs[i].ds_addr);
936 sge->sg_hdr |= htole32(MPII_SGE_FL_LAST | MPII_SGE_FL_EOB |
1343 * + - - - - - - - - - + -' | chain sge points to the next sge
1374 /* offset to the chain sge */