bth 222 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, opcode), bth 226 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, solicited_event), bth 230 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, mig_req), bth 234 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, pad_count), bth 238 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, transport_header_version), bth 242 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, pkey), bth 250 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, destination_qpn), bth 254 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, ack_req), bth 262 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, psn), bth 388 drivers/infiniband/core/ud_header.c header->bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; bth 390 drivers/infiniband/core/ud_header.c header->bth.opcode = IB_OPCODE_UD_SEND_ONLY; bth 391 drivers/infiniband/core/ud_header.c header->bth.pad_count = (4 - payload_bytes) & 3; bth 392 drivers/infiniband/core/ud_header.c header->bth.transport_header_version = 0; bth 450 drivers/infiniband/core/ud_header.c &header->bth, buf + len); bth 517 drivers/infiniband/core/ud_header.c buf, &header->bth); bth 520 drivers/infiniband/core/ud_header.c switch (header->bth.opcode) { bth 528 drivers/infiniband/core/ud_header.c pr_warn("Invalid BTH.opcode 0x%02x\n", header->bth.opcode); bth 532 drivers/infiniband/core/ud_header.c if (header->bth.transport_header_version != 0) { bth 534 drivers/infiniband/core/ud_header.c header->bth.transport_header_version); bth 1938 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; bth 1941 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.opcode = IB_OPCODE_UD_SEND_ONLY; bth 1944 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.solicited_event = 1; bth 1946 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.pad_count = (4 - payload_size) & 3; bth 1949 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.pkey = cpu_to_be16(0xFFFF); bth 1950 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.destination_qpn = IB_QP1; bth 1951 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.ack_req = 0; bth 1954 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.psn = cpu_to_be32(qp->send_psn); bth 527 drivers/infiniband/hw/hfi1/driver.c u32 lqpn = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; bth 659 drivers/infiniband/hw/hfi1/driver.c bth1 = be32_to_cpu(packet->ohdr->bth[1]); bth 674 drivers/infiniband/hw/hfi1/driver.c packet->ohdr->bth[1] = cpu_to_be32(bth1); bth 1793 drivers/infiniband/hw/hfi1/driver.c opcode = (be32_to_cpu(packet.ohdr->bth[0]) >> 24); bth 1794 drivers/infiniband/hw/hfi1/driver.c qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK; bth 1795 drivers/infiniband/hw/hfi1/driver.c psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); bth 517 drivers/infiniband/hw/hfi1/hfi.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & bth 1233 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[0] = cpu_to_be32(bth0); bth 1234 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[1] = cpu_to_be32(bth1 | qp->remote_qpn); bth 1235 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(mask_psn(qp->r_ack_psn)); bth 1729 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(psn); bth 2834 drivers/infiniband/hw/hfi1/rc.c opfn_trigger_conn_request(qp, be32_to_cpu(ohdr->bth[1])); bth 192 drivers/infiniband/hw/hfi1/ruc.c hdr.ibh.u.oth.bth[2]) / 4) bth 253 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[0] = cpu_to_be32(bth0); bth 254 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[1] = cpu_to_be32(bth1); bth 255 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[2] = cpu_to_be32(bth2); bth 2054 drivers/infiniband/hw/hfi1/tid_rdma.c bth0 = be32_to_cpu(ohdr->bth[0]); bth 2238 drivers/infiniband/hw/hfi1/tid_rdma.c bth0 = be32_to_cpu(ohdr->bth[0]); bth 2243 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 2457 drivers/infiniband/hw/hfi1/tid_rdma.c kpsn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 2459 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; bth 2876 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 2877 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; bth 3661 drivers/infiniband/hw/hfi1/tid_rdma.c bth0 = be32_to_cpu(ohdr->bth[0]); bth 3666 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 4040 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 4042 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; bth 4272 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 4273 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; bth 4498 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 4716 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_ack_psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 4872 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); bth 535 drivers/infiniband/hw/hfi1/trace_tx.h __be32 *bth = (__be32 *)hdr->bth; bth 546 drivers/infiniband/hw/hfi1/trace_tx.h __entry->bth0 = be32_to_cpu(bth[0]); bth 547 drivers/infiniband/hw/hfi1/trace_tx.h __entry->bth1 = be32_to_cpu(bth[1]); bth 548 drivers/infiniband/hw/hfi1/trace_tx.h __entry->bth2 = be32_to_cpu(bth[2]); bth 290 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); bth 291 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(rvt_get_swqe_remote_qpn(wqe)); bth 292 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); bth 671 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); bth 673 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(remote_qpn); bth 674 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = 0; /* PSN 0 */ bth 729 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); bth 731 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(remote_qpn | (1 << IB_BECN_SHIFT)); bth 732 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = 0; /* PSN 0 */ bth 468 drivers/infiniband/hw/hfi1/user_sdma.c opcode = (be32_to_cpu(req->hdr.bth[0]) >> 24) & 0xff; bth 491 drivers/infiniband/hw/hfi1/user_sdma.c pkey = (u16)be32_to_cpu(req->hdr.bth[0]); bth 1208 drivers/infiniband/hw/hfi1/user_sdma.c hdr->bth[2] = cpu_to_be32( bth 1209 drivers/infiniband/hw/hfi1/user_sdma.c set_pkt_bth_psn(hdr->bth[2], bth 1215 drivers/infiniband/hw/hfi1/user_sdma.c hdr->bth[2] |= cpu_to_be32(1UL << 31); bth 1299 drivers/infiniband/hw/hfi1/user_sdma.c val32 = (be32_to_cpu(hdr->bth[2]) + req->seqnum) & bth 393 drivers/infiniband/hw/hfi1/verbs.c opcode = (be32_to_cpu(packet->ohdr->bth[0]) >> 24); bth 447 drivers/infiniband/hw/hfi1/verbs.c opcode = (be32_to_cpu(packet->ohdr->bth[0]) >> 24); bth 488 drivers/infiniband/hw/hfi1/verbs.h return ohdr->bth[1] & cpu_to_be32(OPA_BTH_MIG_REQ); bth 2928 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); bth 2932 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.pkey = cpu_to_be16(pkey); bth 2934 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); bth 2936 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.destination_qpn = bth 2939 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); bth 2950 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; bth 3169 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; bth 3173 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; bth 3216 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); bth 3226 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.pkey = cpu_to_be16(pkey); bth 3227 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); bth 3228 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); bth 1525 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; bth 1529 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; bth 1540 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); bth 1547 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.pkey = cpu_to_be16(pkey); bth 1548 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); bth 1549 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); bth 448 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->bth.solicited_event = !!(swr->send_flags & IB_SEND_SOLICITED); bth 449 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->bth.pkey = QEDR_ROCE_PKEY_DEFAULT; bth 450 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); bth 451 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->bth.psn = htonl((qp->sq_psn++) & ((1 << 24) - 1)); bth 452 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->bth.opcode = IB_OPCODE_UD_SEND_ONLY; bth 701 drivers/infiniband/hw/qib/qib_common.h __be32 bth[3]; bth 341 drivers/infiniband/hw/qib/qib_driver.c opcode = be32_to_cpu(ohdr->bth[0]); bth 343 drivers/infiniband/hw/qib/qib_driver.c psn = be32_to_cpu(ohdr->bth[2]); bth 346 drivers/infiniband/hw/qib/qib_driver.c qp_num = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; bth 377 drivers/infiniband/hw/qib/qib_driver.c be32_to_cpu(ohdr->bth[0])); bth 1429 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[0] = cpu_to_be32( bth 1431 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[1] = cpu_to_be32(0), bth 1432 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[2] = cpu_to_be32(0), bth 652 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[0] = cpu_to_be32(bth0); bth 653 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); bth 654 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & QIB_PSN_MASK); bth 897 drivers/infiniband/hw/qib/qib_rc.c opcode = be32_to_cpu(ohdr->bth[0]) >> 24; bth 905 drivers/infiniband/hw/qib/qib_rc.c psn = be32_to_cpu(ohdr->bth[2]); bth 1408 drivers/infiniband/hw/qib/qib_rc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 1433 drivers/infiniband/hw/qib/qib_rc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 1736 drivers/infiniband/hw/qib/qib_rc.c opcode = be32_to_cpu(ohdr->bth[0]); bth 1740 drivers/infiniband/hw/qib/qib_rc.c psn = be32_to_cpu(ohdr->bth[2]); bth 1856 drivers/infiniband/hw/qib/qib_rc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 240 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[0] = cpu_to_be32(bth0); bth 241 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); bth 242 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[2] = cpu_to_be32(bth2); bth 259 drivers/infiniband/hw/qib/qib_uc.c opcode = be32_to_cpu(ohdr->bth[0]); bth 263 drivers/infiniband/hw/qib/qib_uc.c psn = be32_to_cpu(ohdr->bth[2]); bth 377 drivers/infiniband/hw/qib/qib_uc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 461 drivers/infiniband/hw/qib/qib_uc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 488 drivers/infiniband/hw/qib/qib_uc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 367 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[0] = cpu_to_be32(bth0); bth 371 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[1] = rdma_ah_get_dlid(ah_attr) >= bth 376 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[2] = cpu_to_be32(wqe->psn & QIB_PSN_MASK); bth 453 drivers/infiniband/hw/qib/qib_ud.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; bth 470 drivers/infiniband/hw/qib/qib_ud.c pkey1 = be32_to_cpu(ohdr->bth[0]); bth 507 drivers/infiniband/hw/qib/qib_ud.c opcode = be32_to_cpu(ohdr->bth[0]) >> 24; bth 566 drivers/infiniband/hw/qib/qib_ud.c qib_lookup_pkey(ibp, be32_to_cpu(ohdr->bth[0])) : 0; bth 459 drivers/infiniband/hw/qib/qib_user_sdma.c hdr->bth[0] = cpu_to_be32(be32_to_cpu(hdr->bth[0])&0xFFCFFFFF); bth 516 drivers/infiniband/hw/qib/qib_user_sdma.c seqnum.val = be32_to_cpu(hdr->bth[2]); bth 521 drivers/infiniband/hw/qib/qib_user_sdma.c hdr->bth[2] = cpu_to_be32(seqnum.val); bth 314 drivers/infiniband/hw/qib/qib_verbs.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0x7f; bth 321 drivers/infiniband/hw/qib/qib_verbs.c qp_num = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; bth 114 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 116 drivers/infiniband/sw/rxe/rxe_hdr.h return bth->opcode; bth 121 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 123 drivers/infiniband/sw/rxe/rxe_hdr.h bth->opcode = opcode; bth 128 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 130 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (BTH_SE_MASK & bth->flags); bth 135 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 138 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags |= BTH_SE_MASK; bth 140 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags &= ~BTH_SE_MASK; bth 145 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 147 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (BTH_MIG_MASK & bth->flags); bth 152 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 155 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags |= BTH_MIG_MASK; bth 157 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags &= ~BTH_MIG_MASK; bth 162 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 164 drivers/infiniband/sw/rxe/rxe_hdr.h return (BTH_PAD_MASK & bth->flags) >> 4; bth 169 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 171 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags = (BTH_PAD_MASK & (pad << 4)) | bth 172 drivers/infiniband/sw/rxe/rxe_hdr.h (~BTH_PAD_MASK & bth->flags); bth 177 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 179 drivers/infiniband/sw/rxe/rxe_hdr.h return BTH_TVER_MASK & bth->flags; bth 184 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 186 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags = (BTH_TVER_MASK & tver) | bth 187 drivers/infiniband/sw/rxe/rxe_hdr.h (~BTH_TVER_MASK & bth->flags); bth 192 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 194 drivers/infiniband/sw/rxe/rxe_hdr.h return be16_to_cpu(bth->pkey); bth 199 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 201 drivers/infiniband/sw/rxe/rxe_hdr.h bth->pkey = cpu_to_be16(pkey); bth 206 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 208 drivers/infiniband/sw/rxe/rxe_hdr.h return BTH_QPN_MASK & be32_to_cpu(bth->qpn); bth 213 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 214 drivers/infiniband/sw/rxe/rxe_hdr.h u32 resvqpn = be32_to_cpu(bth->qpn); bth 216 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32((BTH_QPN_MASK & qpn) | bth 222 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 224 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_FECN_MASK) & bth->qpn); bth 229 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 232 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn |= cpu_to_be32(BTH_FECN_MASK); bth 234 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn &= ~cpu_to_be32(BTH_FECN_MASK); bth 239 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 241 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_BECN_MASK) & bth->qpn); bth 246 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 249 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn |= cpu_to_be32(BTH_BECN_MASK); bth 251 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn &= ~cpu_to_be32(BTH_BECN_MASK); bth 256 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 258 drivers/infiniband/sw/rxe/rxe_hdr.h return (BTH_RESV6A_MASK & be32_to_cpu(bth->qpn)) >> 24; bth 263 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 265 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32(~BTH_RESV6A_MASK); bth 270 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 272 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_ACK_MASK) & bth->apsn); bth 277 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 280 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn |= cpu_to_be32(BTH_ACK_MASK); bth 282 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn &= ~cpu_to_be32(BTH_ACK_MASK); bth 287 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 289 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn &= ~cpu_to_be32(BTH_RESV7_MASK); bth 294 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 296 drivers/infiniband/sw/rxe/rxe_hdr.h return BTH_PSN_MASK & be32_to_cpu(bth->apsn); bth 301 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = arg; bth 302 drivers/infiniband/sw/rxe/rxe_hdr.h u32 apsn = be32_to_cpu(bth->apsn); bth 304 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | bth 437 drivers/infiniband/sw/rxe/rxe_hdr.h struct rxe_bth *bth = (struct rxe_bth *)(pkt->hdr + pkt->offset); bth 439 drivers/infiniband/sw/rxe/rxe_hdr.h bth->opcode = opcode; bth 440 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags = (pad << 4) & BTH_PAD_MASK; bth 442 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags |= BTH_SE_MASK; bth 444 drivers/infiniband/sw/rxe/rxe_hdr.h bth->flags |= BTH_MIG_MASK; bth 445 drivers/infiniband/sw/rxe/rxe_hdr.h bth->pkey = cpu_to_be16(pkey); bth 446 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32(qpn & BTH_QPN_MASK); bth 450 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn = cpu_to_be32(psn); bth 44 drivers/infiniband/sw/rxe/rxe_icrc.c struct rxe_bth *bth; bth 84 drivers/infiniband/sw/rxe/rxe_icrc.c bth = (struct rxe_bth *)&pshdr[bth_offset]; bth 87 drivers/infiniband/sw/rxe/rxe_icrc.c bth->qpn |= cpu_to_be32(~BTH_QPN_MASK); bth 135 include/rdma/ib_hdrs.h __be32 bth[3]; bth 285 include/rdma/ib_hdrs.h return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & bth 291 include/rdma/ib_hdrs.h return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); bth 296 include/rdma/ib_hdrs.h return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & bth 302 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[2]) >> IB_BTH_A_SHIFT) & bth 308 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_M_SHIFT) & bth 314 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_SE_SHIFT) & bth 320 include/rdma/ib_hdrs.h return (u32)(be32_to_cpu(ohdr->bth[2])); bth 325 include/rdma/ib_hdrs.h return (u32)((be32_to_cpu(ohdr->bth[1])) & IB_QPN_MASK); bth 330 include/rdma/ib_hdrs.h return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); bth 335 include/rdma/ib_hdrs.h return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); bth 340 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_TVER_SHIFT) & bth 346 include/rdma/ib_hdrs.h return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); bth 351 include/rdma/ib_hdrs.h return ohdr->bth[0] & cpu_to_be32(IB_BTH_MIG_REQ); bth 277 include/rdma/ib_pack.h struct ib_unpacked_bth bth; bth 242 include/uapi/rdma/hfi/hfi1_user.h __be32 bth[3];