Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_verbs.c770 u32 hdrwords, struct rvt_sge_state *ss, u32 len, in qib_verbs_send_dma() argument
825 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma()
830 tx->hdr_dwords = hdrwords + 2; /* add PBC length */ in qib_verbs_send_dma()
842 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma()
843 qib_copy_from_sge((u32 *) &phdr->hdr + hdrwords, ss, len); in qib_verbs_send_dma()
906 u32 hdrwords, struct rvt_sge_state *ss, u32 len, in qib_verbs_send_pio() argument
945 qib_pio_copy(piobuf, hdr, hdrwords - 1); in qib_verbs_send_pio()
947 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords - 1); in qib_verbs_send_pio()
950 qib_pio_copy(piobuf, hdr, hdrwords); in qib_verbs_send_pio()
956 qib_pio_copy(piobuf, hdr, hdrwords); in qib_verbs_send_pio()
[all …]
Dqib_verbs.h293 u32 hdrwords, struct rvt_sge_state *ss, u32 len);
Dqib_iba7322.c1423 const unsigned hdrwords = 7; in flush_fifo() local
1427 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo()
1443 (hdrwords + SIZE_OF_CRC); in flush_fifo()
1451 qib_pio_copy(piobuf + 2, hdr, hdrwords - 1); in flush_fifo()
1453 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords + 1); in flush_fifo()
1456 qib_pio_copy(piobuf + 2, hdr, hdrwords); in flush_fifo()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dverbs.c841 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_dma() local
852 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_dma()
859 plen = hdrwords + dwords + sizeof(pbc) / 4; in hfi1_verbs_send_dma()
980 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_pio() local
997 u8 pad_size = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_pio()
1006 plen = hdrwords + dwords + sizeof(pbc) / 4; in hfi1_verbs_send_pio()
1073 pio_copy(ppd->dd, pbuf, pbc, hdr, hdrwords); in hfi1_verbs_send_pio()
1076 hdr, hdrwords * 4); in hfi1_verbs_send_pio()