Lines Matching refs:rbuf
759 static inline __u32 qib_hdrget_err_flags(const __le32 *rbuf) in qib_hdrget_err_flags() argument
761 return __le32_to_cpu(rbuf[1]) & QLOGIC_IB_RHF_H_ERR_MASK; in qib_hdrget_err_flags()
764 static inline __u32 qib_hdrget_rcv_type(const __le32 *rbuf) in qib_hdrget_rcv_type() argument
766 return (__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_RCVTYPE_SHIFT) & in qib_hdrget_rcv_type()
770 static inline __u32 qib_hdrget_length_in_bytes(const __le32 *rbuf) in qib_hdrget_length_in_bytes() argument
772 return ((__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_LENGTH_SHIFT) & in qib_hdrget_length_in_bytes()
776 static inline __u32 qib_hdrget_index(const __le32 *rbuf) in qib_hdrget_index() argument
778 return (__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_EGRINDEX_SHIFT) & in qib_hdrget_index()
782 static inline __u32 qib_hdrget_seq(const __le32 *rbuf) in qib_hdrget_seq() argument
784 return (__le32_to_cpu(rbuf[1]) >> QLOGIC_IB_RHF_SEQ_SHIFT) & in qib_hdrget_seq()
788 static inline __u32 qib_hdrget_offset(const __le32 *rbuf) in qib_hdrget_offset() argument
790 return (__le32_to_cpu(rbuf[1]) >> QLOGIC_IB_RHF_HDRQ_OFFSET_SHIFT) & in qib_hdrget_offset()
794 static inline __u32 qib_hdrget_use_egr_buf(const __le32 *rbuf) in qib_hdrget_use_egr_buf() argument
796 return __le32_to_cpu(rbuf[0]) & QLOGIC_IB_RHF_L_USE_EGR; in qib_hdrget_use_egr_buf()