Lines Matching refs:rmpp_hdr
188 struct ib_rmpp_hdr rmpp_hdr;
194 struct ib_rmpp_hdr rmpp_hdr;
200 struct ib_rmpp_hdr rmpp_hdr;
207 struct ib_rmpp_hdr rmpp_hdr;
485 * @rmpp_hdr: An RMPP header.
487 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr)
489 return rmpp_hdr->rmpp_rtime_flags >> 3;
494 * @rmpp_hdr: An RMPP header.
496 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr)
498 return rmpp_hdr->rmpp_rtime_flags & 0x7;
503 * @rmpp_hdr: An RMPP header.
506 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime)
508 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3);
513 * @rmpp_hdr: An RMPP header.
516 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags)
518 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) |