fle               479 include/soc/fsl/dpaa2-fd.h static inline dma_addr_t dpaa2_fl_get_addr(const struct dpaa2_fl_entry *fle)
fle               481 include/soc/fsl/dpaa2-fd.h 	return (dma_addr_t)le64_to_cpu(fle->addr);
fle               489 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_addr(struct dpaa2_fl_entry *fle,
fle               492 include/soc/fsl/dpaa2-fd.h 	fle->addr = cpu_to_le64(addr);
fle               501 include/soc/fsl/dpaa2-fd.h static inline u32 dpaa2_fl_get_frc(const struct dpaa2_fl_entry *fle)
fle               503 include/soc/fsl/dpaa2-fd.h 	return le32_to_cpu(fle->frc);
fle               511 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_frc(struct dpaa2_fl_entry *fle, u32 frc)
fle               513 include/soc/fsl/dpaa2-fd.h 	fle->frc = cpu_to_le32(frc);
fle               522 include/soc/fsl/dpaa2-fd.h static inline u32 dpaa2_fl_get_ctrl(const struct dpaa2_fl_entry *fle)
fle               524 include/soc/fsl/dpaa2-fd.h 	return le32_to_cpu(fle->ctrl);
fle               532 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_ctrl(struct dpaa2_fl_entry *fle, u32 ctrl)
fle               534 include/soc/fsl/dpaa2-fd.h 	fle->ctrl = cpu_to_le32(ctrl);
fle               543 include/soc/fsl/dpaa2-fd.h static inline dma_addr_t dpaa2_fl_get_flc(const struct dpaa2_fl_entry *fle)
fle               545 include/soc/fsl/dpaa2-fd.h 	return (dma_addr_t)le64_to_cpu(fle->flc);
fle               553 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_flc(struct dpaa2_fl_entry *fle,
fle               556 include/soc/fsl/dpaa2-fd.h 	fle->flc = cpu_to_le64(flc_addr);
fle               559 include/soc/fsl/dpaa2-fd.h static inline bool dpaa2_fl_short_len(const struct dpaa2_fl_entry *fle)
fle               561 include/soc/fsl/dpaa2-fd.h 	return !!((le16_to_cpu(fle->format_offset) >>
fle               571 include/soc/fsl/dpaa2-fd.h static inline u32 dpaa2_fl_get_len(const struct dpaa2_fl_entry *fle)
fle               573 include/soc/fsl/dpaa2-fd.h 	if (dpaa2_fl_short_len(fle))
fle               574 include/soc/fsl/dpaa2-fd.h 		return le32_to_cpu(fle->len) & FL_SHORT_LEN_MASK;
fle               576 include/soc/fsl/dpaa2-fd.h 	return le32_to_cpu(fle->len);
fle               584 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_len(struct dpaa2_fl_entry *fle, u32 len)
fle               586 include/soc/fsl/dpaa2-fd.h 	fle->len = cpu_to_le32(len);
fle               595 include/soc/fsl/dpaa2-fd.h static inline u16 dpaa2_fl_get_offset(const struct dpaa2_fl_entry *fle)
fle               597 include/soc/fsl/dpaa2-fd.h 	return le16_to_cpu(fle->format_offset) & FL_OFFSET_MASK;
fle               605 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_offset(struct dpaa2_fl_entry *fle, u16 offset)
fle               607 include/soc/fsl/dpaa2-fd.h 	fle->format_offset &= cpu_to_le16(~FL_OFFSET_MASK);
fle               608 include/soc/fsl/dpaa2-fd.h 	fle->format_offset |= cpu_to_le16(offset);
fle               617 include/soc/fsl/dpaa2-fd.h static inline enum dpaa2_fl_format dpaa2_fl_get_format(const struct dpaa2_fl_entry *fle)
fle               619 include/soc/fsl/dpaa2-fd.h 	return (enum dpaa2_fl_format)((le16_to_cpu(fle->format_offset) >>
fle               628 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_format(struct dpaa2_fl_entry *fle,
fle               631 include/soc/fsl/dpaa2-fd.h 	fle->format_offset &= cpu_to_le16(~(FL_FORMAT_MASK << FL_FORMAT_SHIFT));
fle               632 include/soc/fsl/dpaa2-fd.h 	fle->format_offset |= cpu_to_le16(format << FL_FORMAT_SHIFT);
fle               641 include/soc/fsl/dpaa2-fd.h static inline u16 dpaa2_fl_get_bpid(const struct dpaa2_fl_entry *fle)
fle               643 include/soc/fsl/dpaa2-fd.h 	return le16_to_cpu(fle->bpid) & FL_BPID_MASK;
fle               651 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_bpid(struct dpaa2_fl_entry *fle, u16 bpid)
fle               653 include/soc/fsl/dpaa2-fd.h 	fle->bpid &= cpu_to_le16(~(FL_BPID_MASK));
fle               654 include/soc/fsl/dpaa2-fd.h 	fle->bpid |= cpu_to_le16(bpid);
fle               663 include/soc/fsl/dpaa2-fd.h static inline bool dpaa2_fl_is_final(const struct dpaa2_fl_entry *fle)
fle               665 include/soc/fsl/dpaa2-fd.h 	return !!(le16_to_cpu(fle->format_offset) >> FL_FINAL_FLAG_SHIFT);
fle               673 include/soc/fsl/dpaa2-fd.h static inline void dpaa2_fl_set_final(struct dpaa2_fl_entry *fle, bool final)
fle               675 include/soc/fsl/dpaa2-fd.h 	fle->format_offset &= cpu_to_le16((~(FL_FINAL_FLAG_MASK <<
fle               677 include/soc/fsl/dpaa2-fd.h 	fle->format_offset |= cpu_to_le16(final << FL_FINAL_FLAG_SHIFT);