Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_qsfp.c493 int sofar, ret; in qib_qsfp_dump() local
496 sofar = 0; in qib_qsfp_dump()
506 sofar += scnprintf(buf + sofar, len - sofar, "PWR:%.3sW\n", pwr_codes + in qib_qsfp_dump()
509 sofar += scnprintf(buf + sofar, len - sofar, "TECH:%s%s\n", lenstr, in qib_qsfp_dump()
512 sofar += scnprintf(buf + sofar, len - sofar, "Vendor:%.*s\n", in qib_qsfp_dump()
515 sofar += scnprintf(buf + sofar, len - sofar, "OUI:%06X\n", in qib_qsfp_dump()
518 sofar += scnprintf(buf + sofar, len - sofar, "Part#:%.*s\n", in qib_qsfp_dump()
520 sofar += scnprintf(buf + sofar, len - sofar, "Rev:%.*s\n", in qib_qsfp_dump()
523 sofar += scnprintf(buf + sofar, len - sofar, "Atten:%d, %d\n", in qib_qsfp_dump()
526 sofar += scnprintf(buf + sofar, len - sofar, "Serial:%.*s\n", in qib_qsfp_dump()
[all …]
Dqib_sd7220.c753 int sofar; in qib_sd7220_ram_xfer() local
799 sofar = 0; in qib_sd7220_ram_xfer()
811 while (tries > 0 && sofar < cnt) { in qib_sd7220_ram_xfer()
812 if (!sofar) { in qib_sd7220_ram_xfer()
814 int addrbyte = (addr + sofar) >> 8; in qib_sd7220_ram_xfer()
821 addrbyte = (addr + sofar) & 0xFF; in qib_sd7220_ram_xfer()
832 transval = csbit | EPB_ROMDATA | buf[sofar]; in qib_sd7220_ram_xfer()
837 buf[sofar] = transval & EPB_DATA_MASK; in qib_sd7220_ram_xfer()
838 ++sofar; in qib_sd7220_ram_xfer()
845 ret = sofar; in qib_sd7220_ram_xfer()
[all …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dqsfp.c753 int sofar; in qsfp_dump() local
759 sofar = 0; in qsfp_dump()
769 sofar += scnprintf(buf + sofar, len - sofar, "PWR:%.3sW\n", in qsfp_dump()
772 sofar += scnprintf(buf + sofar, len - sofar, "TECH:%s%s\n", in qsfp_dump()
776 sofar += scnprintf(buf + sofar, len - sofar, "Vendor:%.*s\n", in qsfp_dump()
779 sofar += scnprintf(buf + sofar, len - sofar, "OUI:%06X\n", in qsfp_dump()
782 sofar += scnprintf(buf + sofar, len - sofar, "Part#:%.*s\n", in qsfp_dump()
785 sofar += scnprintf(buf + sofar, len - sofar, "Rev:%.*s\n", in qsfp_dump()
789 sofar += scnprintf(buf + sofar, len - sofar, in qsfp_dump()
794 sofar += scnprintf(buf + sofar, len - sofar, "Serial:%.*s\n", in qsfp_dump()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dcoredump.c1498 size_t len, sofar = 0; in ath10k_coredump_build() local
1513 sofar += hdr_len; in ath10k_coredump_build()
1557 dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); in ath10k_coredump_build()
1562 sofar += sizeof(*dump_tlv) + sizeof(crash_data->registers); in ath10k_coredump_build()
1566 dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); in ath10k_coredump_build()
1575 sofar += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()
1581 dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); in ath10k_coredump_build()
1587 sofar += sizeof(*dump_tlv) + crash_data->ramdump_buf_len; in ath10k_coredump_build()
/linux-6.1.9/net/core/
Dpktgen.c293 __u64 sofar; /* How many pkts we've sent so far */ member
696 (unsigned long long)pkt_dev->sofar, in pktgen_if_show()
3131 pkt_dev->sofar = 0; in pktgen_clear_counters()
3286 (unsigned long long)pkt_dev->sofar, in show_results()
3289 pps = div64_u64(pkt_dev->sofar * NSEC_PER_SEC, in show_results()
3494 pkt_dev->sofar++; in pktgen_xmit()
3519 pkt_dev->sofar++; in pktgen_xmit()
3562 pkt_dev->sofar++; in pktgen_xmit()
3592 if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { in pktgen_xmit()
3763 pkt_dev->sofar = 0; in pktgen_add_device()
/linux-6.1.9/Documentation/networking/
Dpktgen.rst106 pkts-sofar: 100000 errors: 0