Lines Matching refs:bth
135 __be32 bth[3]; member
285 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & in ib_bth_get_pad()
291 return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); in ib_bth_get_pkey()
296 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & in ib_bth_get_opcode()
302 return (u8)((be32_to_cpu(ohdr->bth[2]) >> IB_BTH_A_SHIFT) & in ib_bth_get_ackreq()
308 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_M_SHIFT) & in ib_bth_get_migreq()
314 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_SE_SHIFT) & in ib_bth_get_se()
320 return (u32)(be32_to_cpu(ohdr->bth[2])); in ib_bth_get_psn()
325 return (u32)((be32_to_cpu(ohdr->bth[1])) & IB_QPN_MASK); in ib_bth_get_qpn()
330 return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); in ib_bth_get_becn()
335 return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); in ib_bth_get_fecn()
340 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_TVER_SHIFT) & in ib_bth_get_tver()
346 return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); in ib_bth_is_solicited()
351 return ohdr->bth[0] & cpu_to_be32(IB_BTH_MIG_REQ); in ib_bth_is_migration()