Lines Matching defs:bpid
30 * @bpid: buffer pool ID
44 __le16 bpid;
260 * dpaa2_fd_get_bpid() - Get the bpid field in the frame descriptor
267 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK;
271 * dpaa2_fd_set_bpid() - Set the bpid field of frame descriptor
273 * @bpid: buffer pool id to be set
275 static inline void dpaa2_fd_set_bpid(struct dpaa2_fd *fd, uint16_t bpid)
277 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK));
278 fd->simple.bpid |= cpu_to_le16(bpid);
285 * @bpid: buffer pool id
291 __le16 bpid;
406 * Return the bpid.
410 return le16_to_cpu(sg->bpid) & SG_BPID_MASK;
416 * @bpid: the bpid to be set
418 static inline void dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid)
420 sg->bpid &= cpu_to_le16(~(SG_BPID_MASK));
421 sg->bpid |= cpu_to_le16(bpid);
451 * @bpid: buffer pool ID
460 __le16 bpid;
636 * dpaa2_fl_get_bpid() - Get the bpid field in the FLE
643 return le16_to_cpu(fle->bpid) & FL_BPID_MASK;
647 * dpaa2_fl_set_bpid() - Set the bpid field of FLE
649 * @bpid: buffer pool id to be set
651 static inline void dpaa2_fl_set_bpid(struct dpaa2_fl_entry *fle, u16 bpid)
653 fle->bpid &= cpu_to_le16(~(FL_BPID_MASK));
654 fle->bpid |= cpu_to_le16(bpid);