Lines Matching refs:rhf
308 static inline u64 rhf_err_flags(u64 rhf) in rhf_err_flags() argument
310 return rhf & RHF_ERROR_SMASK; in rhf_err_flags()
313 static inline u32 rhf_rcv_type(u64 rhf) in rhf_rcv_type() argument
315 return (rhf >> RHF_RCV_TYPE_SHIFT) & RHF_RCV_TYPE_MASK; in rhf_rcv_type()
318 static inline u32 rhf_rcv_type_err(u64 rhf) in rhf_rcv_type_err() argument
320 return (rhf >> RHF_RCV_TYPE_ERR_SHIFT) & RHF_RCV_TYPE_ERR_MASK; in rhf_rcv_type_err()
324 static inline u32 rhf_pkt_len(u64 rhf) in rhf_pkt_len() argument
326 return ((rhf & RHF_PKT_LEN_SMASK) >> RHF_PKT_LEN_SHIFT) << 2; in rhf_pkt_len()
329 static inline u32 rhf_egr_index(u64 rhf) in rhf_egr_index() argument
331 return (rhf >> RHF_EGR_INDEX_SHIFT) & RHF_EGR_INDEX_MASK; in rhf_egr_index()
334 static inline u32 rhf_rcv_seq(u64 rhf) in rhf_rcv_seq() argument
336 return (rhf >> RHF_RCV_SEQ_SHIFT) & RHF_RCV_SEQ_MASK; in rhf_rcv_seq()
340 static inline u32 rhf_hdrq_offset(u64 rhf) in rhf_hdrq_offset() argument
342 return (rhf >> RHF_HDRQ_OFFSET_SHIFT) & RHF_HDRQ_OFFSET_MASK; in rhf_hdrq_offset()
345 static inline u64 rhf_use_egr_bfr(u64 rhf) in rhf_use_egr_bfr() argument
347 return rhf & RHF_USE_EGR_BFR_SMASK; in rhf_use_egr_bfr()
350 static inline u64 rhf_dc_info(u64 rhf) in rhf_dc_info() argument
352 return rhf & RHF_DC_INFO_SMASK; in rhf_dc_info()
355 static inline u32 rhf_egr_buf_offset(u64 rhf) in rhf_egr_buf_offset() argument
357 return (rhf >> RHF_EGR_OFFSET_SHIFT) & RHF_EGR_OFFSET_MASK; in rhf_egr_buf_offset()