Searched refs:pbclen (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 668 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_txadd_ahg() local 681 if (PBC2LRH(pbclen) != lrhlen) { in user_sdma_txadd_ahg() 682 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in user_sdma_txadd_ahg() 683 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_txadd_ahg() 1126 u16 pbclen; in set_txreq_header() local 1137 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header() 1138 if (PBC2LRH(pbclen) != lrhlen) { in set_txreq_header() 1139 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in set_txreq_header() 1140 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header() 1242 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg() local [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 304 u16 newlen, pbclen, lastdesc, dma_mapped; in qib_user_sdma_page_to_frags() local 432 pbclen = pkt->addr[pkt->index].length; in qib_user_sdma_page_to_frags() 433 pbcvaddr = qib_user_sdma_alloc_header(pq, pbclen, &pbcdaddr); in qib_user_sdma_page_to_frags() 440 memcpy(pbcvaddr, pbc16, pbclen); in qib_user_sdma_page_to_frags() 525 0, pbclen, /* offset, len */ in qib_user_sdma_page_to_frags() 529 pbcdaddr, pbclen); /* dma addr, dma length */ in qib_user_sdma_page_to_frags()
|