Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_verbs.c771 u32 hdrwords, struct rvt_sge_state *ss, u32 len, in qib_verbs_send_dma() argument
826 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma()
831 tx->hdr_dwords = hdrwords + 2; /* add PBC length */ in qib_verbs_send_dma()
843 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma()
844 qib_copy_from_sge((u32 *) &phdr->hdr + hdrwords, ss, len); in qib_verbs_send_dma()
907 u32 hdrwords, struct rvt_sge_state *ss, u32 len, in qib_verbs_send_pio() argument
946 qib_pio_copy(piobuf, hdr, hdrwords - 1); in qib_verbs_send_pio()
948 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords - 1); in qib_verbs_send_pio()
951 qib_pio_copy(piobuf, hdr, hdrwords); in qib_verbs_send_pio()
957 qib_pio_copy(piobuf, hdr, hdrwords); in qib_verbs_send_pio()
[all …]
Dqib_verbs.h291 u32 hdrwords, struct rvt_sge_state *ss, u32 len);
Dqib_iba7322.c1401 const unsigned hdrwords = 7; in flush_fifo() local
1405 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo()
1421 (hdrwords + SIZE_OF_CRC); in flush_fifo()
1429 qib_pio_copy(piobuf + 2, hdr, hdrwords - 1); in flush_fifo()
1431 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords + 1); in flush_fifo()
1434 qib_pio_copy(piobuf + 2, hdr, hdrwords); in flush_fifo()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dverbs.c802 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_dma() local
813 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_dma()
820 plen = hdrwords + dwords + sizeof(pbc) / 4; in hfi1_verbs_send_dma()
941 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_pio() local
958 u8 pad_size = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_pio()
967 plen = hdrwords + dwords + sizeof(pbc) / 4; in hfi1_verbs_send_pio()
1034 pio_copy(ppd->dd, pbuf, pbc, hdr, hdrwords); in hfi1_verbs_send_pio()
1037 hdr, hdrwords * 4); in hfi1_verbs_send_pio()