Lines Matching defs:plen
1091 static inline unsigned ipath_pkt_delay(u32 plen, u8 snd_mult, u8 rcv_mult)
1094 (plen * (rcv_mult - snd_mult) + 1) >> 1 : 0;
1100 u32 plen, u32 dwords)
1135 qp->s_pkt_delay = ipath_pkt_delay(plen, dd->delay_mult, qp->s_dmult);
1144 if (plen + 1 >= IPATH_SMALLBUF_DWORDS)
1164 tx->hdr.pbc[0] = cpu_to_le32(plen);
1183 tx->map_len = (plen + 1) << 2;
1193 *piobuf++ = (__force u32) cpu_to_le32(plen);
1225 u32 plen, u32 dwords)
1235 piobuf = ipath_getpiobuf(dd, plen, NULL);
1247 qp->s_pkt_delay = ipath_pkt_delay(plen, dd->delay_mult, qp->s_dmult);
1258 writeq(((u64) control << 32) | plen, piobuf);
1326 u32 plen;
1334 plen = hdrwords + dwords + 1;
1344 plen, dwords);
1347 plen, dwords);