lrh0 2489 drivers/infiniband/hw/hfi1/hfi.h u16 lrh0, u16 len, lrh0 2492 drivers/infiniband/hw/hfi1/hfi.h hdr->lrh[0] = cpu_to_be16(lrh0); lrh0 2504 drivers/infiniband/hw/hfi1/hfi.h u32 lrh0 = 0; lrh0 2509 drivers/infiniband/hw/hfi1/hfi.h lrh0 = (lrh0 & ~OPA_16B_BECN_MASK) | (becn << OPA_16B_BECN_SHIFT); lrh0 2510 drivers/infiniband/hw/hfi1/hfi.h lrh0 = (lrh0 & ~OPA_16B_LEN_MASK) | (len << OPA_16B_LEN_SHIFT); lrh0 2511 drivers/infiniband/hw/hfi1/hfi.h lrh0 = (lrh0 & ~OPA_16B_LID_MASK) | (slid & OPA_16B_LID_MASK); lrh0 2522 drivers/infiniband/hw/hfi1/hfi.h hdr->lrh[0] = lrh0; lrh0 1272 drivers/infiniband/hw/hfi1/rc.c u16 lrh0 = HFI1_LRH_BTH; lrh0 1286 drivers/infiniband/hw/hfi1/rc.c lrh0 = HFI1_LRH_GRH; lrh0 1294 drivers/infiniband/hw/hfi1/rc.c lrh0 |= (sc5 & IB_SC_MASK) << IB_SC_SHIFT | lrh0 1298 drivers/infiniband/hw/hfi1/rc.c hfi1_make_ib_hdr(hdr, lrh0, *hwords + SIZE_OF_CRC, lrh0 369 drivers/infiniband/hw/hfi1/ruc.c u16 lrh0 = HFI1_LRH_BTH; lrh0 377 drivers/infiniband/hw/hfi1/ruc.c lrh0 = HFI1_LRH_GRH; lrh0 385 drivers/infiniband/hw/hfi1/ruc.c lrh0 |= (priv->s_sc & 0xf) << 12 | lrh0 408 drivers/infiniband/hw/hfi1/ruc.c lrh0, lrh0 516 drivers/infiniband/hw/hfi1/trace_tx.h __field(u32, lrh0) lrh0 544 drivers/infiniband/hw/hfi1/trace_tx.h __entry->lrh0 = be32_to_cpu(lrh[0]); lrh0 567 drivers/infiniband/hw/hfi1/trace_tx.h __entry->lrh0, lrh0 308 drivers/infiniband/hw/hfi1/ud.c u16 lrh0 = 0; lrh0 334 drivers/infiniband/hw/hfi1/ud.c lrh0 = HFI1_LRH_GRH; lrh0 337 drivers/infiniband/hw/hfi1/ud.c lrh0 = HFI1_LRH_BTH; lrh0 342 drivers/infiniband/hw/hfi1/ud.c lrh0 |= (rdma_ah_get_sl(ah_attr) & 0xf) << 4; lrh0 344 drivers/infiniband/hw/hfi1/ud.c lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ lrh0 347 drivers/infiniband/hw/hfi1/ud.c lrh0 |= (sc5 & 0xf) << 12; lrh0 371 drivers/infiniband/hw/hfi1/ud.c lrh0, len, dlid, slid); lrh0 700 drivers/infiniband/hw/hfi1/ud.c u16 lrh0; lrh0 719 drivers/infiniband/hw/hfi1/ud.c lrh0 = HFI1_LRH_GRH; lrh0 723 drivers/infiniband/hw/hfi1/ud.c lrh0 = HFI1_LRH_BTH; lrh0 726 drivers/infiniband/hw/hfi1/ud.c lrh0 |= (sc5 & 0xf) << 12 | sl << 4; lrh0 734 drivers/infiniband/hw/hfi1/ud.c hfi1_make_ib_hdr(&hdr.ibh, lrh0, hwords + SIZE_OF_CRC, dlid, slid); lrh0 603 drivers/infiniband/hw/qib/qib_rc.c u16 lrh0; lrh0 624 drivers/infiniband/hw/qib/qib_rc.c lrh0 = QIB_LRH_BTH; lrh0 633 drivers/infiniband/hw/qib/qib_rc.c lrh0 = QIB_LRH_GRH; lrh0 645 drivers/infiniband/hw/qib/qib_rc.c lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | lrh0 647 drivers/infiniband/hw/qib/qib_rc.c hdr.lrh[0] = cpu_to_be16(lrh0); lrh0 663 drivers/infiniband/hw/qib/qib_rc.c qp->s_srate, lrh0 >> 12); lrh0 211 drivers/infiniband/hw/qib/qib_ruc.c u16 lrh0; lrh0 218 drivers/infiniband/hw/qib/qib_ruc.c lrh0 = QIB_LRH_BTH; lrh0 224 drivers/infiniband/hw/qib/qib_ruc.c lrh0 = QIB_LRH_GRH; lrh0 226 drivers/infiniband/hw/qib/qib_ruc.c lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | lrh0 228 drivers/infiniband/hw/qib/qib_ruc.c priv->s_hdr->lrh[0] = cpu_to_be16(lrh0); lrh0 241 drivers/infiniband/hw/qib/qib_ud.c u16 lrh0; lrh0 327 drivers/infiniband/hw/qib/qib_ud.c lrh0 = QIB_LRH_GRH; lrh0 335 drivers/infiniband/hw/qib/qib_ud.c lrh0 = QIB_LRH_BTH; lrh0 344 drivers/infiniband/hw/qib/qib_ud.c lrh0 |= rdma_ah_get_sl(ah_attr) << 4; lrh0 346 drivers/infiniband/hw/qib/qib_ud.c lrh0 |= 0xF000; /* Set VL (see ch. 13.5.3.1) */ lrh0 348 drivers/infiniband/hw/qib/qib_ud.c lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(ah_attr)] << 12; lrh0 349 drivers/infiniband/hw/qib/qib_ud.c priv->s_hdr->lrh[0] = cpu_to_be16(lrh0);