Lines Matching refs:lnh
228 u8 lnh = ib_get_lnh(rhdr); in rcv_hdrerr() local
231 if (lnh == HFI1_LRH_BTH) { in rcv_hdrerr()
233 } else if (lnh == HFI1_LRH_GRH) { in rcv_hdrerr()
586 u8 lnh; in __prescan_rxq() local
599 lnh = ib_get_lnh(hdr); in __prescan_rxq()
601 if (lnh == HFI1_LRH_BTH) { in __prescan_rxq()
604 } else if (lnh == HFI1_LRH_GRH) { in __prescan_rxq()
1477 u8 lnh; in hfi1_setup_9B_packet() local
1482 lnh = ib_get_lnh(hdr); in hfi1_setup_9B_packet()
1483 if (lnh == HFI1_LRH_BTH) { in hfi1_setup_9B_packet()
1486 } else if (lnh == HFI1_LRH_GRH) { in hfi1_setup_9B_packet()
1851 u8 lnh; in seqfile_dump_rcd() local
1865 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in seqfile_dump_rcd()
1867 if (lnh == HFI1_LRH_BTH) in seqfile_dump_rcd()
1869 else if (lnh == HFI1_LRH_GRH) in seqfile_dump_rcd()