Lines Matching refs:rmpp_hdr
176 struct ib_rmpp_hdr rmpp_hdr;
182 struct ib_rmpp_hdr rmpp_hdr;
189 struct ib_rmpp_hdr rmpp_hdr;
260 * @rmpp_hdr: An RMPP header.
262 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr)
264 return rmpp_hdr->rmpp_rtime_flags >> 3;
269 * @rmpp_hdr: An RMPP header.
271 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr)
273 return rmpp_hdr->rmpp_rtime_flags & 0x7;
278 * @rmpp_hdr: An RMPP header.
281 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime)
283 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3);
288 * @rmpp_hdr: An RMPP header.
291 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags)
293 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) |