Lines Matching refs:qpn
65 __be32 qpn; member
180 return BTH_QPN_MASK & be32_to_cpu(bth->qpn); in __bth_qpn()
183 static inline void __bth_set_qpn(void *arg, u32 qpn) in __bth_set_qpn() argument
186 u32 resvqpn = be32_to_cpu(bth->qpn); in __bth_set_qpn()
188 bth->qpn = cpu_to_be32((BTH_QPN_MASK & qpn) | in __bth_set_qpn()
196 return 0 != (cpu_to_be32(BTH_FECN_MASK) & bth->qpn); in __bth_fecn()
204 bth->qpn |= cpu_to_be32(BTH_FECN_MASK); in __bth_set_fecn()
206 bth->qpn &= ~cpu_to_be32(BTH_FECN_MASK); in __bth_set_fecn()
213 return 0 != (cpu_to_be32(BTH_BECN_MASK) & bth->qpn); in __bth_becn()
221 bth->qpn |= cpu_to_be32(BTH_BECN_MASK); in __bth_set_becn()
223 bth->qpn &= ~cpu_to_be32(BTH_BECN_MASK); in __bth_set_becn()
230 return (BTH_RESV6A_MASK & be32_to_cpu(bth->qpn)) >> 24; in __bth_resv6a()
237 bth->qpn = cpu_to_be32(~BTH_RESV6A_MASK); in __bth_set_resv6a()
345 static inline void bth_set_qpn(struct rxe_pkt_info *pkt, u32 qpn) in bth_set_qpn() argument
347 __bth_set_qpn(pkt->hdr, qpn); in bth_set_qpn()
406 int mig, int pad, u16 pkey, u32 qpn, int ack_req, in bth_init() argument
418 bth->qpn = cpu_to_be32(qpn & BTH_QPN_MASK); in bth_init()