Lines Matching refs:lrh

415 	return (u8)(hdr->lrh[2] & OPA_16B_L4_MASK);  in hfi1_16B_get_l4()
420 return (u8)((hdr->lrh[1] & OPA_16B_SC_MASK) >> OPA_16B_SC_SHIFT); in hfi1_16B_get_sc()
425 return (u32)((hdr->lrh[1] & OPA_16B_LID_MASK) | in hfi1_16B_get_dlid()
426 (((hdr->lrh[2] & OPA_16B_DLID_MASK) >> in hfi1_16B_get_dlid()
432 return (u32)((hdr->lrh[0] & OPA_16B_LID_MASK) | in hfi1_16B_get_slid()
433 (((hdr->lrh[2] & OPA_16B_SLID_MASK) >> in hfi1_16B_get_slid()
439 return (u8)((hdr->lrh[0] & OPA_16B_BECN_MASK) >> OPA_16B_BECN_SHIFT); in hfi1_16B_get_becn()
444 return (u8)((hdr->lrh[1] & OPA_16B_FECN_MASK) >> OPA_16B_FECN_SHIFT); in hfi1_16B_get_fecn()
449 return (u8)((hdr->lrh[1] & OPA_16B_L2_MASK) >> OPA_16B_L2_SHIFT); in hfi1_16B_get_l2()
454 return (u16)((hdr->lrh[2] & OPA_16B_PKEY_MASK) >> OPA_16B_PKEY_SHIFT); in hfi1_16B_get_pkey()
459 return (u8)((hdr->lrh[1] & OPA_16B_RC_MASK) >> OPA_16B_RC_SHIFT); in hfi1_16B_get_rc()
464 return (u8)((hdr->lrh[3] & OPA_16B_AGE_MASK) >> OPA_16B_AGE_SHIFT); in hfi1_16B_get_age()
469 return (u16)((hdr->lrh[0] & OPA_16B_LEN_MASK) >> OPA_16B_LEN_SHIFT); in hfi1_16B_get_len()
474 return (u16)(hdr->lrh[3] & OPA_16B_ENTROPY_MASK); in hfi1_16B_get_entropy()
2613 hdr->lrh[0] = cpu_to_be16(lrh0); in hfi1_make_ib_hdr()
2614 hdr->lrh[1] = cpu_to_be16(dlid); in hfi1_make_ib_hdr()
2615 hdr->lrh[2] = cpu_to_be16(len); in hfi1_make_ib_hdr()
2616 hdr->lrh[3] = cpu_to_be16(slid); in hfi1_make_ib_hdr()
2643 hdr->lrh[0] = lrh0; in hfi1_make_16b_hdr()
2644 hdr->lrh[1] = lrh1; in hfi1_make_16b_hdr()
2645 hdr->lrh[2] = lrh2; in hfi1_make_16b_hdr()
2646 hdr->lrh[3] = lrh3; in hfi1_make_16b_hdr()