Searched refs:hdrwords (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_verbs.c | 806 u32 hdrwords, struct rvt_sge_state *ss, u32 len, in qib_verbs_send_dma() argument 861 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma() 866 tx->hdr_dwords = hdrwords + 2; /* add PBC length */ in qib_verbs_send_dma() 878 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma() 879 qib_copy_from_sge((u32 *) &phdr->hdr + hdrwords, ss, len); in qib_verbs_send_dma() 942 u32 hdrwords, struct rvt_sge_state *ss, u32 len, in qib_verbs_send_pio() argument 981 qib_pio_copy(piobuf, hdr, hdrwords - 1); in qib_verbs_send_pio() 983 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords - 1); in qib_verbs_send_pio() 986 qib_pio_copy(piobuf, hdr, hdrwords); in qib_verbs_send_pio() 992 qib_pio_copy(piobuf, hdr, hdrwords); in qib_verbs_send_pio() [all …]
|
D | qib_verbs.h | 293 u32 hdrwords, struct rvt_sge_state *ss, u32 len);
|
D | qib_iba7322.c | 1424 const unsigned hdrwords = 7; in flush_fifo() local 1428 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo() 1444 (hdrwords + SIZE_OF_CRC); in flush_fifo() 1452 qib_pio_copy(piobuf + 2, hdr, hdrwords - 1); in flush_fifo() 1454 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords + 1); in flush_fifo() 1457 qib_pio_copy(piobuf + 2, hdr, hdrwords); in flush_fifo()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | verbs.c | 907 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_dma() local 918 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_dma() 925 plen = hdrwords + dwords + sizeof(pbc) / 4; in hfi1_verbs_send_dma() 1043 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_pio() local 1060 u8 pad_size = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_pio() 1069 plen = hdrwords + dwords + sizeof(pbc) / 4; in hfi1_verbs_send_pio() 1133 pio_copy(ppd->dd, pbuf, pbc, hdr, hdrwords); in hfi1_verbs_send_pio() 1136 hdr, hdrwords * 4); in hfi1_verbs_send_pio()
|