Home
last modified time | relevance | path

Searched refs:hwords (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Drc.c114 u32 hwords, hdrlen; in make_rc_ack() local
134 hwords = 5; in make_rc_ack()
137 hwords = 7; in make_rc_ack()
211 hwords++; in make_rc_ack()
260 hwords += sizeof(ohdr->u.at) / sizeof(u32); in make_rc_ack()
282 hwords++; in make_rc_ack()
334 hwords += hdrlen; in make_rc_ack()
356 hwords += delta; in make_rc_ack()
386 hwords++; in make_rc_ack()
397 ps->s_txreq->hdr_dwords = hwords; in make_rc_ack()
[all …]
Duc.c68 u32 hwords; in hfi1_make_uc_req() local
97 hwords = 5; in hfi1_make_uc_req()
104 hwords = 7; in hfi1_make_uc_req()
174 hwords += 1; in hfi1_make_uc_req()
190 hwords += sizeof(struct ib_reth) / 4; in hfi1_make_uc_req()
203 hwords += 1; in hfi1_make_uc_req()
233 hwords += 1; in hfi1_make_uc_req()
259 hwords += 1; in hfi1_make_uc_req()
269 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_uc_req()
Dud.c637 u32 bth0, plen, vl, hwords = 7; in return_cnp_16B() local
649 nwords = ((hfi1_get_16b_padding(hwords << 2, 0) + in return_cnp_16B()
656 (hwords - LRH_16B_DWORDS + nwords) << 2); in return_cnp_16B()
662 hwords += sizeof(struct ib_grh) / sizeof(u32); in return_cnp_16B()
670 (hfi1_get_16b_padding(hwords << 2, 0) << 20); in return_cnp_16B()
677 len = (hwords + nwords) >> 1; in return_cnp_16B()
680 plen = 2 /* PBC */ + hwords + nwords; in return_cnp_16B()
689 &hdr, hwords); in return_cnp_16B()
699 u32 bth0, plen, vl, hwords = 5; in return_cnp() local
714 (hwords - LRH_9B_DWORDS + SIZE_OF_CRC) << 2); in return_cnp()
[all …]
Druc.c169 const struct ib_global_route *grh, u32 hwords, u32 nwords) in hfi1_make_grh() argument
175 hdr->paylen = cpu_to_be16((hwords + nwords) << 2); in hfi1_make_grh()
Dverbs.h442 const struct ib_global_route *grh, u32 hwords, u32 nwords);
Dtid_rdma.c5001 u32 bth1 = 0, bth2 = 0, hwords = 5, len, middle = 0; in hfi1_make_tid_rdma_pkt() local
5117 hwords += sizeof(ohdr->u.tid_rdma.w_data) / sizeof(u32); in hfi1_make_tid_rdma_pkt()
5133 hwords += hfi1_build_tid_rdma_resync(qp, wqe, ohdr, &bth1, in hfi1_make_tid_rdma_pkt()
5151 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_tid_rdma_pkt()
5181 u32 hwords, next; in make_tid_rdma_ack() local
5194 hwords = 5; in make_tid_rdma_ack()
5296 hwords += hfi1_build_tid_rdma_write_ack(qp, e, ohdr, flow, &bth1, in make_tid_rdma_ack()
5300 ps->s_txreq->hdr_dwords = hwords; in make_tid_rdma_ack()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_rc.c66 u32 hwords; in qib_make_rc_ack() local
76 hwords = 5; in qib_make_rc_ack()
133 hwords++; in qib_make_rc_ack()
143 hwords += sizeof(ohdr->u.at) / sizeof(u32); in qib_make_rc_ack()
163 hwords++; in qib_make_rc_ack()
190 hwords++; in qib_make_rc_ack()
196 qp->s_hdrwords = hwords; in qib_make_rc_ack()
222 u32 hwords; in qib_make_rc_req() local
271 hwords = 5; in qib_make_rc_req()
329 hwords += 1; in qib_make_rc_req()
[all …]
Dqib_uc.c53 u32 hwords; in qib_make_uc_req() local
80 hwords = 5; in qib_make_uc_req()
119 hwords += 1; in qib_make_uc_req()
135 hwords += sizeof(struct ib_reth) / 4; in qib_make_uc_req()
148 hwords += 1; in qib_make_uc_req()
177 hwords += 1; in qib_make_uc_req()
202 hwords += 1; in qib_make_uc_req()
212 qp->s_hdrwords = hwords; in qib_make_uc_req()
Dqib_ruc.c184 const struct ib_global_route *grh, u32 hwords, u32 nwords) in qib_make_grh() argument
190 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
Dqib_verbs.h323 const struct ib_global_route *grh, u32 hwords, u32 nwords);
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispccp2.c439 u32 val, hwords; in ccp2_mem_configure() local
493 hwords = (ISPCCP2_LCM_HSIZE_SKIP_MIN + in ccp2_mem_configure()
496 hwords = (ISPCCP2_LCM_HSIZE_SKIP_MIN + in ccp2_mem_configure()
499 isp_reg_writel(isp, hwords << ISPCCP2_LCM_PREFETCH_SHIFT, in ccp2_mem_configure()