Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c754 int sofar; in qib_sd7220_ram_xfer() local
800 sofar = 0; in qib_sd7220_ram_xfer()
812 while (tries > 0 && sofar < cnt) { in qib_sd7220_ram_xfer()
813 if (!sofar) { in qib_sd7220_ram_xfer()
815 int addrbyte = (addr + sofar) >> 8; in qib_sd7220_ram_xfer()
822 addrbyte = (addr + sofar) & 0xFF; in qib_sd7220_ram_xfer()
833 transval = csbit | EPB_ROMDATA | buf[sofar]; in qib_sd7220_ram_xfer()
838 buf[sofar] = transval & EPB_DATA_MASK; in qib_sd7220_ram_xfer()
839 ++sofar; in qib_sd7220_ram_xfer()
846 ret = sofar; in qib_sd7220_ram_xfer()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqsfp.c795 int sofar; in qsfp_dump() local
801 sofar = 0; in qsfp_dump()
811 sofar += scnprintf(buf + sofar, len - sofar, "PWR:%.3sW\n", in qsfp_dump()
814 sofar += scnprintf(buf + sofar, len - sofar, "TECH:%s%s\n", in qsfp_dump()
818 sofar += scnprintf(buf + sofar, len - sofar, "Vendor:%.*s\n", in qsfp_dump()
821 sofar += scnprintf(buf + sofar, len - sofar, "OUI:%06X\n", in qsfp_dump()
824 sofar += scnprintf(buf + sofar, len - sofar, "Part#:%.*s\n", in qsfp_dump()
827 sofar += scnprintf(buf + sofar, len - sofar, "Rev:%.*s\n", in qsfp_dump()
831 sofar += scnprintf(buf + sofar, len - sofar, in qsfp_dump()
836 sofar += scnprintf(buf + sofar, len - sofar, "Serial:%.*s\n", in qsfp_dump()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dcoredump.c1493 size_t len, sofar = 0; in ath10k_coredump_build() local
1508 sofar += hdr_len; in ath10k_coredump_build()
1552 dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); in ath10k_coredump_build()
1557 sofar += sizeof(*dump_tlv) + sizeof(crash_data->registers); in ath10k_coredump_build()
1561 dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); in ath10k_coredump_build()
1570 sofar += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()
1576 dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); in ath10k_coredump_build()
1582 sofar += sizeof(*dump_tlv) + crash_data->ramdump_buf_len; in ath10k_coredump_build()
/kernel/linux/linux-5.10/net/core/
Dpktgen.c284 __u64 sofar; /* How many pkts we've sent so far */ member
672 (unsigned long long)pkt_dev->sofar, in pktgen_if_show()
2990 pkt_dev->sofar = 0; in pktgen_clear_counters()
3154 (unsigned long long)pkt_dev->sofar, in show_results()
3157 pps = div64_u64(pkt_dev->sofar * NSEC_PER_SEC, in show_results()
3350 pkt_dev->sofar++; in pktgen_xmit()
3375 pkt_dev->sofar++; in pktgen_xmit()
3418 pkt_dev->sofar++; in pktgen_xmit()
3448 if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { in pktgen_xmit()
3620 pkt_dev->sofar = 0; in pktgen_add_device()
/kernel/linux/linux-5.10/Documentation/networking/
Dpktgen.rst106 pkts-sofar: 100000 errors: 0