Lines Matching refs:format_offset

45 			__le16 format_offset;  member
183 return !!((le16_to_cpu(fd->simple.format_offset) >> in dpaa2_fd_short_len()
219 return le16_to_cpu(fd->simple.format_offset) & FD_OFFSET_MASK; in dpaa2_fd_get_offset()
229 fd->simple.format_offset &= cpu_to_le16(~FD_OFFSET_MASK); in dpaa2_fd_set_offset()
230 fd->simple.format_offset |= cpu_to_le16(offset); in dpaa2_fd_set_offset()
242 return (enum dpaa2_fd_format)((le16_to_cpu(fd->simple.format_offset) in dpaa2_fd_get_format()
254 fd->simple.format_offset &= in dpaa2_fd_set_format()
256 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); in dpaa2_fd_set_format()
292 __le16 format_offset; member
326 return !!((le16_to_cpu(sg->format_offset) >> SG_SHORT_LEN_FLAG_SHIFT) in dpaa2_sg_short_len()
362 return le16_to_cpu(sg->format_offset) & SG_OFFSET_MASK; in dpaa2_sg_get_offset()
373 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK); in dpaa2_sg_set_offset()
374 sg->format_offset |= cpu_to_le16(offset); in dpaa2_sg_set_offset()
386 return (enum dpaa2_sg_format)((le16_to_cpu(sg->format_offset) in dpaa2_sg_get_format()
398 sg->format_offset &= cpu_to_le16(~(SG_FORMAT_MASK << SG_FORMAT_SHIFT)); in dpaa2_sg_set_format()
399 sg->format_offset |= cpu_to_le16(format << SG_FORMAT_SHIFT); in dpaa2_sg_set_format()
432 return !!(le16_to_cpu(sg->format_offset) >> SG_FINAL_FLAG_SHIFT); in dpaa2_sg_is_final()
442 sg->format_offset &= cpu_to_le16((~(SG_FINAL_FLAG_MASK in dpaa2_sg_set_final()
444 sg->format_offset |= cpu_to_le16(final << SG_FINAL_FLAG_SHIFT); in dpaa2_sg_set_final()
461 __le16 format_offset; member
561 return !!((le16_to_cpu(fle->format_offset) >> in dpaa2_fl_short_len()
597 return le16_to_cpu(fle->format_offset) & FL_OFFSET_MASK; in dpaa2_fl_get_offset()
607 fle->format_offset &= cpu_to_le16(~FL_OFFSET_MASK); in dpaa2_fl_set_offset()
608 fle->format_offset |= cpu_to_le16(offset); in dpaa2_fl_set_offset()
619 return (enum dpaa2_fl_format)((le16_to_cpu(fle->format_offset) >> in dpaa2_fl_get_format()
631 fle->format_offset &= cpu_to_le16(~(FL_FORMAT_MASK << FL_FORMAT_SHIFT)); in dpaa2_fl_set_format()
632 fle->format_offset |= cpu_to_le16(format << FL_FORMAT_SHIFT); in dpaa2_fl_set_format()
665 return !!(le16_to_cpu(fle->format_offset) >> FL_FINAL_FLAG_SHIFT); in dpaa2_fl_is_final()
675 fle->format_offset &= cpu_to_le16((~(FL_FINAL_FLAG_MASK << in dpaa2_fl_set_final()
677 fle->format_offset |= cpu_to_le16(final << FL_FINAL_FLAG_SHIFT); in dpaa2_fl_set_final()