Lines Matching refs:rmpp_hdr
215 struct ib_rmpp_hdr rmpp_hdr; member
221 struct ib_rmpp_hdr rmpp_hdr; member
227 struct ib_rmpp_hdr rmpp_hdr; member
234 struct ib_rmpp_hdr rmpp_hdr; member
377 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_resptime() argument
379 return rmpp_hdr->rmpp_rtime_flags >> 3; in ib_get_rmpp_resptime()
386 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_flags() argument
388 return rmpp_hdr->rmpp_rtime_flags & 0x7; in ib_get_rmpp_flags()
396 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument
398 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
406 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags) in ib_set_rmpp_flags() argument
408 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) | in ib_set_rmpp_flags()