Home
last modified time | relevance | path

Searched refs:lrhlen (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Duser_sdma.c43 struct hfi1_pkt_header *hdr, u32 lrhlen,
657 if (PBC2LRH(pbclen) != lrhlen) { in user_sdma_txadd_ahg()
658 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in user_sdma_txadd_ahg()
844 struct hfi1_pkt_header *hdr, u32 lrhlen, in check_header_template() argument
858 lrhlen > get_lrh_len(*hdr, req->info.fragsize)) in check_header_template()
931 if (PBC2LRH(pbclen) != lrhlen) { in set_txreq_header()
932 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in set_txreq_header()
934 hdr->lrh[2] = cpu_to_be16(lrhlen >> 2); in set_txreq_header()
1039 if (PBC2LRH(pbclen) != lrhlen) { in set_txreq_header_ahg()
1042 (__force u16)cpu_to_le16(LRH2PBC(lrhlen))); in set_txreq_header_ahg()
[all …]