Lines Matching refs:rmpp_hdr
217 struct ib_rmpp_hdr rmpp_hdr; member
223 struct ib_rmpp_hdr rmpp_hdr; member
229 struct ib_rmpp_hdr rmpp_hdr; member
236 struct ib_rmpp_hdr rmpp_hdr; member
435 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_resptime() argument
437 return rmpp_hdr->rmpp_rtime_flags >> 3; in ib_get_rmpp_resptime()
444 static inline u8 ib_get_rmpp_flags(const struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_flags() argument
446 return rmpp_hdr->rmpp_rtime_flags & 0x7; in ib_get_rmpp_flags()
454 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument
456 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
464 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags) in ib_set_rmpp_flags() argument
466 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) | in ib_set_rmpp_flags()