Lines Matching defs:from
16 * spu_sg_at_offset() - Find the scatterlist entry at a given distance from the
19 * @skip: [in] Distance from the start of the scatterlist, in bytes
20 * @sge: [out] Scatterlist entry at skip bytes from start
21 * @sge_offset: [out] Number of bytes from start of sge buffer to get to
30 /* byte index from start of sg to the end of the previous entry */
32 /* byte index from start of sg to the end of the current entry */
115 * spu_msg_sg_add() - Copy scatterlist entries from one sg to another, up to a
118 * @from_sg: scatterlist to copy from
139 struct scatterlist *from = *from_sg;
150 for_each_sg(from, sg, from_nents, i) {
151 /* number of bytes in this from entry not yet used */
159 /* used up all of from entry */
184 /* there was a carry from the low 8 bytes */
524 /* Then, starting from right side, fill in with data */