Lines Matching refs:cpu_to_le16

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()
255 cpu_to_le16(~(FD_FORMAT_MASK << FD_FORMAT_SHIFT)); in dpaa2_fd_set_format()
256 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); in dpaa2_fd_set_format()
277 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid()
278 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid()
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()
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()
420 sg->bpid &= cpu_to_le16(~(SG_BPID_MASK)); in dpaa2_sg_set_bpid()
421 sg->bpid |= cpu_to_le16(bpid); in dpaa2_sg_set_bpid()
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()
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()
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()
653 fle->bpid &= cpu_to_le16(~(FL_BPID_MASK)); in dpaa2_fl_set_bpid()
654 fle->bpid |= cpu_to_le16(bpid); in dpaa2_fl_set_bpid()
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()