Lines Matching defs:rmpp_hdr
217 struct ib_rmpp_hdr rmpp_hdr;
223 struct ib_rmpp_hdr rmpp_hdr;
229 struct ib_rmpp_hdr rmpp_hdr;
236 struct ib_rmpp_hdr rmpp_hdr;
433 * @rmpp_hdr: An RMPP header.
435 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr)
437 return rmpp_hdr->rmpp_rtime_flags >> 3;
442 * @rmpp_hdr: An RMPP header.
444 static inline u8 ib_get_rmpp_flags(const struct ib_rmpp_hdr *rmpp_hdr)
446 return rmpp_hdr->rmpp_rtime_flags & 0x7;
451 * @rmpp_hdr: An RMPP header.
454 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime)
456 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3);
461 * @rmpp_hdr: An RMPP header.
464 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags)
466 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) |