flits 336 drivers/crypto/chelsio/chcr_ipsec.c unsigned int flits; flits 356 drivers/crypto/chelsio/chcr_ipsec.c flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); flits 366 drivers/crypto/chelsio/chcr_ipsec.c flits += (sizeof(struct fw_ulptx_wr) + flits 371 drivers/crypto/chelsio/chcr_ipsec.c return flits; flits 532 drivers/crypto/chelsio/chcr_ipsec.c unsigned int flits; flits 549 drivers/crypto/chelsio/chcr_ipsec.c flits = calc_tx_sec_flits(skb, sa_entry, &immediate); flits 550 drivers/crypto/chelsio/chcr_ipsec.c ndesc = DIV_ROUND_UP(flits, 2); flits 679 drivers/crypto/chelsio/chcr_ipsec.c unsigned int flits = 0, ndesc; flits 705 drivers/crypto/chelsio/chcr_ipsec.c flits = calc_tx_sec_flits(skb, sa_entry, &immediate); flits 706 drivers/crypto/chelsio/chcr_ipsec.c ndesc = flits_to_desc(flits); flits 714 drivers/crypto/chelsio/chcr_ipsec.c flits); flits 726 drivers/crypto/chelsio/chcr_ipsec.c end = (u64 *)pos + flits; flits 582 drivers/crypto/chelsio/chtls/chtls_io.c unsigned int flits, cnt; flits 584 drivers/crypto/chelsio/chtls/chtls_io.c flits = immdlen / 8; /* headers */ flits 588 drivers/crypto/chelsio/chtls/chtls_io.c return flits + sgl_len(cnt); flits 110 drivers/infiniband/hw/cxgb4/t4.h __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_SQ_NUM_SLOTS]; flits 116 drivers/infiniband/hw/cxgb4/t4.h __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_RQ_NUM_SLOTS]; flits 214 drivers/infiniband/hw/cxgb4/t4.h __be64 flits[3]; flits 1669 drivers/infiniband/hw/hfi1/driver.c u64 *flits = packet->ebuf; flits 1671 drivers/infiniband/hw/hfi1/driver.c if (flits && !(packet->rhf & RHF_LEN_ERR)) { flits 1672 drivers/infiniband/hw/hfi1/driver.c dd->err_info_rcvport.packet_flit1 = flits[0]; flits 1674 drivers/infiniband/hw/hfi1/driver.c packet->tlen > sizeof(flits[0]) ? flits 1675 drivers/infiniband/hw/hfi1/driver.c flits[1] : 0; flits 945 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int flits; flits 950 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2; flits 952 drivers/net/ethernet/chelsio/cxgb3/sge.c flits++; flits 953 drivers/net/ethernet/chelsio/cxgb3/sge.c return flits_to_desc(flits); flits 1095 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int flits, unsigned int sgl_flits, flits 1106 drivers/net/ethernet/chelsio/cxgb3/sge.c sd->sflit = flits; flits 1112 drivers/net/ethernet/chelsio/cxgb3/sge.c V_WR_SGLSFLT(flits)) | wr_hi; flits 1114 drivers/net/ethernet/chelsio/cxgb3/sge.c wrp->wr_lo = htonl(V_WR_LEN(flits + sgl_flits) | flits 1123 drivers/net/ethernet/chelsio/cxgb3/sge.c V_WR_SGLSFLT(flits)) | wr_hi; flits 1126 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int avail = WR_FLITS - flits; flits 1130 drivers/net/ethernet/chelsio/cxgb3/sge.c memcpy(&d->flit[flits], fp, avail * sizeof(*fp)); flits 1155 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = 1; flits 1185 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int flits, sgl_flits, cntrl, tso_info; flits 1210 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = 3; flits 1225 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = (skb->len + 7) / 8 + 2; flits 1230 drivers/net/ethernet/chelsio/cxgb3/sge.c cpl->wr.wr_lo = htonl(V_WR_LEN(flits) | V_WR_GEN(gen) | flits 1237 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = 2; flits 1240 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl; flits 1243 drivers/net/ethernet/chelsio/cxgb3/sge.c write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, gen, flits 1634 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int sgl_flits, flits; flits 1651 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = skb_transport_offset(skb) / 8; flits 1652 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl; flits 1661 drivers/net/ethernet/chelsio/cxgb3/sge.c write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, flits 1674 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int flits, cnt; flits 1679 drivers/net/ethernet/chelsio/cxgb3/sge.c flits = skb_transport_offset(skb) / 8; /* headers */ flits 1683 drivers/net/ethernet/chelsio/cxgb3/sge.c return flits_to_desc(flits + sgl_len(cnt)); flits 813 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits; flits 832 drivers/net/ethernet/chelsio/cxgb4/sge.c flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); flits 842 drivers/net/ethernet/chelsio/cxgb4/sge.c flits += (hdrlen / sizeof(__be64)); flits 844 drivers/net/ethernet/chelsio/cxgb4/sge.c flits += (sizeof(struct fw_eth_tx_pkt_wr) + flits 847 drivers/net/ethernet/chelsio/cxgb4/sge.c return flits; flits 1368 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits, ndesc; flits 1439 drivers/net/ethernet/chelsio/cxgb4/sge.c flits = calc_tx_flits(skb, chip_ver); flits 1440 drivers/net/ethernet/chelsio/cxgb4/sge.c ndesc = flits_to_desc(flits); flits 1467 drivers/net/ethernet/chelsio/cxgb4/sge.c wr_mid = FW_WR_LEN16_V(DIV_ROUND_UP(flits, 2)); flits 1484 drivers/net/ethernet/chelsio/cxgb4/sge.c end = (u64 *)wr + flits; flits 1668 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits; flits 1686 drivers/net/ethernet/chelsio/cxgb4/sge.c flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); flits 1688 drivers/net/ethernet/chelsio/cxgb4/sge.c flits += (sizeof(struct fw_eth_tx_pkt_vm_wr) + flits 1692 drivers/net/ethernet/chelsio/cxgb4/sge.c flits += (sizeof(struct fw_eth_tx_pkt_vm_wr) + flits 1694 drivers/net/ethernet/chelsio/cxgb4/sge.c return flits; flits 1713 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits, ndesc; flits 1754 drivers/net/ethernet/chelsio/cxgb4/sge.c flits = t4vf_calc_tx_flits(skb); flits 1755 drivers/net/ethernet/chelsio/cxgb4/sge.c ndesc = flits_to_desc(flits); flits 1781 drivers/net/ethernet/chelsio/cxgb4/sge.c wr_mid = FW_WR_LEN16_V(DIV_ROUND_UP(flits, 2)); flits 1806 drivers/net/ethernet/chelsio/cxgb4/sge.c end = (u64 *)wr + flits; flits 2184 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits, cnt; flits 2189 drivers/net/ethernet/chelsio/cxgb4/sge.c flits = skb_transport_offset(skb) / 8U; /* headers */ flits 2193 drivers/net/ethernet/chelsio/cxgb4/sge.c return flits + sgl_len(cnt); flits 2254 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits, ndesc; flits 2278 drivers/net/ethernet/chelsio/cxgb4/sge.c flits = skb->priority; /* previously saved */ flits 2279 drivers/net/ethernet/chelsio/cxgb4/sge.c ndesc = flits_to_desc(flits); flits 2300 drivers/net/ethernet/chelsio/cxgb4/sge.c end = (u64 *)pos + flits; flits 819 drivers/net/ethernet/chelsio/cxgb4vf/sge.c static inline unsigned int flits_to_desc(unsigned int flits) flits 821 drivers/net/ethernet/chelsio/cxgb4vf/sge.c BUG_ON(flits > SGE_MAX_WR_LEN / sizeof(__be64)); flits 822 drivers/net/ethernet/chelsio/cxgb4vf/sge.c return DIV_ROUND_UP(flits, TXD_PER_EQ_UNIT); flits 853 drivers/net/ethernet/chelsio/cxgb4vf/sge.c unsigned int flits; flits 873 drivers/net/ethernet/chelsio/cxgb4vf/sge.c flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); flits 875 drivers/net/ethernet/chelsio/cxgb4vf/sge.c flits += (sizeof(struct fw_eth_tx_pkt_vm_wr) + flits 879 drivers/net/ethernet/chelsio/cxgb4vf/sge.c flits += (sizeof(struct fw_eth_tx_pkt_vm_wr) + flits 881 drivers/net/ethernet/chelsio/cxgb4vf/sge.c return flits; flits 1162 drivers/net/ethernet/chelsio/cxgb4vf/sge.c unsigned int flits, ndesc; flits 1215 drivers/net/ethernet/chelsio/cxgb4vf/sge.c flits = calc_tx_flits(skb); flits 1216 drivers/net/ethernet/chelsio/cxgb4vf/sge.c ndesc = flits_to_desc(flits); flits 1244 drivers/net/ethernet/chelsio/cxgb4vf/sge.c wr_mid = FW_WR_LEN16_V(DIV_ROUND_UP(flits, 2)); flits 1271 drivers/net/ethernet/chelsio/cxgb4vf/sge.c end = (u64 *)wr + flits; flits 574 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int flits, cnt; flits 578 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c flits = skb_transport_offset(skb) / 8; flits 582 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c return flits + sgl_len(cnt); flits 115 drivers/target/iscsi/cxgbit/cxgbit_target.c unsigned int flits, cnt; flits 119 drivers/target/iscsi/cxgbit/cxgbit_target.c flits = skb_transport_offset(skb) / 8; flits 123 drivers/target/iscsi/cxgbit/cxgbit_target.c return flits + cxgbit_sgl_len(cnt);