Lines Matching refs:bpid
31 * @bpid: buffer pool ID
45 __le16 bpid;
261 * dpaa2_fd_get_bpid() - Get the bpid field in the frame descriptor
268 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK;
272 * dpaa2_fd_set_bpid() - Set the bpid field of frame descriptor
274 * @bpid: buffer pool id to be set
276 static inline void dpaa2_fd_set_bpid(struct dpaa2_fd *fd, uint16_t bpid)
278 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK));
279 fd->simple.bpid |= cpu_to_le16(bpid);
286 * @bpid: buffer pool id
292 __le16 bpid;
407 * Return the bpid.
411 return le16_to_cpu(sg->bpid) & SG_BPID_MASK;
417 * @bpid: the bpid to be set
419 static inline void dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid)
421 sg->bpid &= cpu_to_le16(~(SG_BPID_MASK));
422 sg->bpid |= cpu_to_le16(bpid);
452 * @bpid: buffer pool ID
461 __le16 bpid;
637 * dpaa2_fl_get_bpid() - Get the bpid field in the FLE
644 return le16_to_cpu(fle->bpid) & FL_BPID_MASK;
648 * dpaa2_fl_set_bpid() - Set the bpid field of FLE
650 * @bpid: buffer pool id to be set
652 static inline void dpaa2_fl_set_bpid(struct dpaa2_fl_entry *fle, u16 bpid)
654 fle->bpid &= cpu_to_le16(~(FL_BPID_MASK));
655 fle->bpid |= cpu_to_le16(bpid);