Lines Matching refs:hwords
90 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()
286 hwords = 7; in hfi1_make_rc_req()
421 hwords += 1; in hfi1_make_rc_req()
427 hwords += 1; in hfi1_make_rc_req()
454 hwords += sizeof(struct ib_reth) / sizeof(u32); in hfi1_make_rc_req()
467 hwords += 1; in hfi1_make_rc_req()
498 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); in hfi1_make_rc_req()
538 hwords += sizeof(struct ib_atomic_eth) / sizeof(u32); in hfi1_make_rc_req()
595 hwords += 1; in hfi1_make_rc_req()
600 hwords += 1; in hfi1_make_rc_req()
640 hwords += 1; in hfi1_make_rc_req()
668 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); in hfi1_make_rc_req()
688 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_rc_req()
757 u64 *pbc_flags, u32 *hwords, in hfi1_make_rc_ack_9B() argument
772 *hwords = 6; in hfi1_make_rc_ack_9B()
775 *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, in hfi1_make_rc_ack_9B()
777 *hwords - 2, SIZE_OF_CRC); in hfi1_make_rc_ack_9B()
791 hfi1_make_ib_hdr(hdr, lrh0, *hwords + SIZE_OF_CRC, in hfi1_make_rc_ack_9B()
805 u64 *pbc_flags, u32 *hwords, in hfi1_make_rc_ack_16B() argument
822 *hwords = 8; in hfi1_make_rc_ack_16B()
823 extra_bytes = hfi1_get_16b_padding(*hwords << 2, 0); in hfi1_make_rc_ack_16B()
828 *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, in hfi1_make_rc_ack_16B()
830 *hwords - 4, *nwords); in hfi1_make_rc_ack_16B()
840 len = (*hwords + *nwords) >> 1; in hfi1_make_rc_ack_16B()
858 u64 *pbc_flags, u32 *hwords,
884 u32 hwords = 0; in hfi1_send_rc_ack() local
911 &pbc_flags, &hwords, &nwords); in hfi1_send_rc_ack()
913 plen = 2 /* PBC */ + hwords + nwords; in hfi1_send_rc_ack()
934 (void *)&opa_hdr.opah), hwords); in hfi1_send_rc_ack()