Searched refs:pbclen (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 690 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_txadd_ahg() local 703 if (PBC2LRH(pbclen) != lrhlen) { in user_sdma_txadd_ahg() 704 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in user_sdma_txadd_ahg() 705 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_txadd_ahg() 1143 u16 pbclen; in set_txreq_header() local 1154 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header() 1155 if (PBC2LRH(pbclen) != lrhlen) { in set_txreq_header() 1156 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in set_txreq_header() 1157 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header() 1259 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg() local [all …]
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 308 u16 newlen, pbclen, lastdesc, dma_mapped; in qib_user_sdma_page_to_frags() local 436 pbclen = pkt->addr[pkt->index].length; in qib_user_sdma_page_to_frags() 437 pbcvaddr = qib_user_sdma_alloc_header(pq, pbclen, &pbcdaddr); in qib_user_sdma_page_to_frags() 444 memcpy(pbcvaddr, pbc16, pbclen); in qib_user_sdma_page_to_frags() 529 0, pbclen, /* offset, len */ in qib_user_sdma_page_to_frags() 533 pbcdaddr, pbclen); /* dma addr, dma length */ in qib_user_sdma_page_to_frags()
|