Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Drc.c90 u32 hwords; in make_rc_ack() local
105 hwords = 5; in make_rc_ack()
108 hwords = 7; in make_rc_ack()
165 hwords++; in make_rc_ack()
175 hwords += sizeof(ohdr->u.at) / sizeof(u32); in make_rc_ack()
196 hwords++; in make_rc_ack()
223 hwords++; in make_rc_ack()
231 ps->s_txreq->hdr_dwords = hwords; in make_rc_ack()
263 u32 hwords; in hfi1_make_rc_req() local
279 hwords = 5; in hfi1_make_rc_req()
[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.c656 u32 bth0, plen, vl, hwords = 7; in return_cnp_16B() local
667 nwords = ((hfi1_get_16b_padding(hwords << 2, 0) + in return_cnp_16B()
674 (hwords - LRH_16B_DWORDS + nwords) << 2); in return_cnp_16B()
680 hwords += sizeof(struct ib_grh) / sizeof(u32); in return_cnp_16B()
688 (hfi1_get_16b_padding(hwords << 2, 0) << 20); in return_cnp_16B()
695 len = (hwords + nwords) >> 1; in return_cnp_16B()
698 plen = 2 /* PBC */ + hwords + nwords; in return_cnp_16B()
706 &hdr, hwords); in return_cnp_16B()
715 u32 bth0, plen, vl, hwords = 5; in return_cnp() local
729 (hwords - LRH_9B_DWORDS + SIZE_OF_CRC) << 2); in return_cnp()
[all …]
Dverbs.h354 const struct ib_global_route *grh, u32 hwords, u32 nwords);
Druc.c496 const struct ib_global_route *grh, u32 hwords, u32 nwords) in hfi1_make_grh() argument
502 hdr->paylen = cpu_to_be16((hwords + nwords) << 2); in hfi1_make_grh()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_rc.c71 u32 hwords; in qib_make_rc_ack() local
81 hwords = 5; in qib_make_rc_ack()
138 hwords++; in qib_make_rc_ack()
148 hwords += sizeof(ohdr->u.at) / sizeof(u32); in qib_make_rc_ack()
168 hwords++; in qib_make_rc_ack()
195 hwords++; in qib_make_rc_ack()
201 qp->s_hdrwords = hwords; in qib_make_rc_ack()
227 u32 hwords; in qib_make_rc_req() local
276 hwords = 5; in qib_make_rc_req()
337 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_verbs.h327 const struct ib_global_route *grh, u32 hwords, u32 nwords);
Dqib_ruc.c485 const struct ib_global_route *grh, u32 hwords, u32 nwords) in qib_make_grh() argument
491 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispccp2.c442 u32 val, hwords; in ccp2_mem_configure() local
496 hwords = (ISPCCP2_LCM_HSIZE_SKIP_MIN + in ccp2_mem_configure()
499 hwords = (ISPCCP2_LCM_HSIZE_SKIP_MIN + in ccp2_mem_configure()
502 isp_reg_writel(isp, hwords << ISPCCP2_LCM_PREFETCH_SHIFT, in ccp2_mem_configure()