Lines Matching defs:format_offset

32  * @format_offset: format, offset, and short-length fields
46 __le16 format_offset;
184 return !!((le16_to_cpu(fd->simple.format_offset) >>
220 return le16_to_cpu(fd->simple.format_offset) & FD_OFFSET_MASK;
230 fd->simple.format_offset &= cpu_to_le16(~FD_OFFSET_MASK);
231 fd->simple.format_offset |= cpu_to_le16(offset);
243 return (enum dpaa2_fd_format)((le16_to_cpu(fd->simple.format_offset)
255 fd->simple.format_offset &=
257 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT);
287 * @format_offset: format and offset fields
293 __le16 format_offset;
327 return !!((le16_to_cpu(sg->format_offset) >> SG_SHORT_LEN_FLAG_SHIFT)
363 return le16_to_cpu(sg->format_offset) & SG_OFFSET_MASK;
374 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK);
375 sg->format_offset |= cpu_to_le16(offset);
387 return (enum dpaa2_sg_format)((le16_to_cpu(sg->format_offset)
399 sg->format_offset &= cpu_to_le16(~(SG_FORMAT_MASK << SG_FORMAT_SHIFT));
400 sg->format_offset |= cpu_to_le16(format << SG_FORMAT_SHIFT);
433 return !!(le16_to_cpu(sg->format_offset) >> SG_FINAL_FLAG_SHIFT);
443 sg->format_offset &= cpu_to_le16((~(SG_FINAL_FLAG_MASK
445 sg->format_offset |= cpu_to_le16(final << SG_FINAL_FLAG_SHIFT);
453 * @format_offset: format, offset, and short-length fields
462 __le16 format_offset;
562 return !!((le16_to_cpu(fle->format_offset) >>
598 return le16_to_cpu(fle->format_offset) & FL_OFFSET_MASK;
608 fle->format_offset &= cpu_to_le16(~FL_OFFSET_MASK);
609 fle->format_offset |= cpu_to_le16(offset);
620 return (enum dpaa2_fl_format)((le16_to_cpu(fle->format_offset) >>
632 fle->format_offset &= cpu_to_le16(~(FL_FORMAT_MASK << FL_FORMAT_SHIFT));
633 fle->format_offset |= cpu_to_le16(format << FL_FORMAT_SHIFT);
666 return !!(le16_to_cpu(fle->format_offset) >> FL_FINAL_FLAG_SHIFT);
676 fle->format_offset &= cpu_to_le16((~(FL_FINAL_FLAG_MASK <<
678 fle->format_offset |= cpu_to_le16(final << FL_FINAL_FLAG_SHIFT);