Home
last modified time | relevance | path

Searched refs:sofar (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_qsfp.c508 int sofar, ret; in qib_qsfp_dump() local
511 sofar = 0; in qib_qsfp_dump()
521 sofar += scnprintf(buf + sofar, len - sofar, "PWR:%.3sW\n", pwr_codes + in qib_qsfp_dump()
524 sofar += scnprintf(buf + sofar, len - sofar, "TECH:%s%s\n", lenstr, in qib_qsfp_dump()
527 sofar += scnprintf(buf + sofar, len - sofar, "Vendor:%.*s\n", in qib_qsfp_dump()
530 sofar += scnprintf(buf + sofar, len - sofar, "OUI:%06X\n", in qib_qsfp_dump()
533 sofar += scnprintf(buf + sofar, len - sofar, "Part#:%.*s\n", in qib_qsfp_dump()
535 sofar += scnprintf(buf + sofar, len - sofar, "Rev:%.*s\n", in qib_qsfp_dump()
538 sofar += scnprintf(buf + sofar, len - sofar, "Atten:%d, %d\n", in qib_qsfp_dump()
541 sofar += scnprintf(buf + sofar, len - sofar, "Serial:%.*s\n", in qib_qsfp_dump()
[all …]
Dqib_sd7220.c748 int sofar; in qib_sd7220_ram_xfer() local
796 sofar = 0; in qib_sd7220_ram_xfer()
808 while (tries > 0 && sofar < cnt) { in qib_sd7220_ram_xfer()
809 if (!sofar) { in qib_sd7220_ram_xfer()
811 int addrbyte = (addr + sofar) >> 8; in qib_sd7220_ram_xfer()
817 addrbyte = (addr + sofar) & 0xFF; in qib_sd7220_ram_xfer()
828 transval = csbit | EPB_ROMDATA | buf[sofar]; in qib_sd7220_ram_xfer()
833 buf[sofar] = transval & EPB_DATA_MASK; in qib_sd7220_ram_xfer()
834 ++sofar; in qib_sd7220_ram_xfer()
841 ret = sofar; in qib_sd7220_ram_xfer()
[all …]
/linux-2.6.39/net/core/
Dpktgen.c258 __u64 sofar; /* How many pkts we've sent so far */ member
694 (unsigned long long)pkt_dev->sofar, in pktgen_if_show()
3121 pkt_dev->sofar = 0; in pktgen_clear_counters()
3277 (unsigned long long)pkt_dev->sofar, in show_results()
3280 pps = div64_u64(pkt_dev->sofar * NSEC_PER_SEC, in show_results()
3493 pkt_dev->sofar++; in pktgen_xmit()
3518 if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { in pktgen_xmit()
3700 pkt_dev->sofar = 0; in pktgen_add_device()
/linux-2.6.39/Documentation/networking/
Dpktgen.txt57 pkts-sofar: 10000000 errors: 39664