Lines Matching refs:cpu_to_le16
220 fd->simple.format_offset &= cpu_to_le16(~FD_OFFSET_MASK); in dpaa2_fd_set_offset()
221 fd->simple.format_offset |= cpu_to_le16(offset); in dpaa2_fd_set_offset()
246 cpu_to_le16(~(FD_FORMAT_MASK << FD_FORMAT_SHIFT)); in dpaa2_fd_set_format()
247 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); in dpaa2_fd_set_format()
268 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid()
269 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid()
364 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK); in dpaa2_sg_set_offset()
365 sg->format_offset |= cpu_to_le16(offset); in dpaa2_sg_set_offset()
389 sg->format_offset &= cpu_to_le16(~(SG_FORMAT_MASK << SG_FORMAT_SHIFT)); in dpaa2_sg_set_format()
390 sg->format_offset |= cpu_to_le16(format << SG_FORMAT_SHIFT); in dpaa2_sg_set_format()
411 sg->bpid &= cpu_to_le16(~(SG_BPID_MASK)); in dpaa2_sg_set_bpid()
412 sg->bpid |= cpu_to_le16(bpid); in dpaa2_sg_set_bpid()
433 sg->format_offset &= cpu_to_le16((~(SG_FINAL_FLAG_MASK in dpaa2_sg_set_final()
435 sg->format_offset |= cpu_to_le16(final << SG_FINAL_FLAG_SHIFT); in dpaa2_sg_set_final()