Searched refs:pbclen (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 644 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_txadd_ahg() local 657 if (PBC2LRH(pbclen) != lrhlen) { in user_sdma_txadd_ahg() 658 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in user_sdma_txadd_ahg() 659 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_txadd_ahg() 919 u16 pbclen; in set_txreq_header() local 930 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header() 931 if (PBC2LRH(pbclen) != lrhlen) { in set_txreq_header() 932 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in set_txreq_header() 933 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header() 1035 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg() local [all …]
|
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 304 u16 newlen, pbclen, lastdesc, dma_mapped; in qib_user_sdma_page_to_frags() local 431 pbclen = pkt->addr[pkt->index].length; in qib_user_sdma_page_to_frags() 432 pbcvaddr = qib_user_sdma_alloc_header(pq, pbclen, &pbcdaddr); in qib_user_sdma_page_to_frags() 439 memcpy(pbcvaddr, pbc16, pbclen); in qib_user_sdma_page_to_frags() 524 0, pbclen, /* offset, len */ in qib_user_sdma_page_to_frags() 528 pbcdaddr, pbclen); /* dma addr, dma length */ in qib_user_sdma_page_to_frags()
|