sofar 795 drivers/infiniband/hw/hfi1/qsfp.c int sofar; sofar 801 drivers/infiniband/hw/hfi1/qsfp.c sofar = 0; sofar 811 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "PWR:%.3sW\n", sofar 814 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "TECH:%s%s\n", sofar 818 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Vendor:%.*s\n", sofar 821 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "OUI:%06X\n", sofar 824 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Part#:%.*s\n", sofar 827 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Rev:%.*s\n", sofar 831 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, sofar 836 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Serial:%.*s\n", sofar 839 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Date:%.*s\n", sofar 842 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Lot:%.*s\n", sofar 850 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, sofar 853 drivers/infiniband/hw/hfi1/qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "\n"); sofar 857 drivers/infiniband/hw/hfi1/qsfp.c return sofar; sofar 493 drivers/infiniband/hw/qib/qib_qsfp.c int sofar, ret; sofar 496 drivers/infiniband/hw/qib/qib_qsfp.c sofar = 0; sofar 506 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "PWR:%.3sW\n", pwr_codes + sofar 509 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "TECH:%s%s\n", lenstr, sofar 512 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Vendor:%.*s\n", sofar 515 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "OUI:%06X\n", sofar 518 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Part#:%.*s\n", sofar 520 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Rev:%.*s\n", sofar 523 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Atten:%d, %d\n", sofar 526 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Serial:%.*s\n", sofar 528 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Date:%.*s\n", sofar 530 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "Lot:%.*s\n", sofar 540 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len-sofar, " %02X", sofar 543 drivers/infiniband/hw/qib/qib_qsfp.c sofar += scnprintf(buf + sofar, len - sofar, "\n"); sofar 546 drivers/infiniband/hw/qib/qib_qsfp.c ret = sofar; sofar 754 drivers/infiniband/hw/qib/qib_sd7220.c int sofar; sofar 800 drivers/infiniband/hw/qib/qib_sd7220.c sofar = 0; sofar 812 drivers/infiniband/hw/qib/qib_sd7220.c while (tries > 0 && sofar < cnt) { sofar 813 drivers/infiniband/hw/qib/qib_sd7220.c if (!sofar) { sofar 815 drivers/infiniband/hw/qib/qib_sd7220.c int addrbyte = (addr + sofar) >> 8; sofar 822 drivers/infiniband/hw/qib/qib_sd7220.c addrbyte = (addr + sofar) & 0xFF; sofar 833 drivers/infiniband/hw/qib/qib_sd7220.c transval = csbit | EPB_ROMDATA | buf[sofar]; sofar 838 drivers/infiniband/hw/qib/qib_sd7220.c buf[sofar] = transval & EPB_DATA_MASK; sofar 839 drivers/infiniband/hw/qib/qib_sd7220.c ++sofar; sofar 846 drivers/infiniband/hw/qib/qib_sd7220.c ret = sofar; sofar 862 drivers/infiniband/hw/qib/qib_sd7220.c int cnt, sofar, req; sofar 864 drivers/infiniband/hw/qib/qib_sd7220.c sofar = 0; sofar 865 drivers/infiniband/hw/qib/qib_sd7220.c while (sofar < len) { sofar 866 drivers/infiniband/hw/qib/qib_sd7220.c req = len - sofar; sofar 869 drivers/infiniband/hw/qib/qib_sd7220.c cnt = qib_sd7220_ram_xfer(dd, sdnum, offset + sofar, sofar 870 drivers/infiniband/hw/qib/qib_sd7220.c (u8 *)img + sofar, req, 0); sofar 872 drivers/infiniband/hw/qib/qib_sd7220.c sofar = -1; sofar 875 drivers/infiniband/hw/qib/qib_sd7220.c sofar += req; sofar 877 drivers/infiniband/hw/qib/qib_sd7220.c return sofar; sofar 886 drivers/infiniband/hw/qib/qib_sd7220.c int cnt, sofar, req, idx, errors; sofar 890 drivers/infiniband/hw/qib/qib_sd7220.c sofar = 0; sofar 891 drivers/infiniband/hw/qib/qib_sd7220.c while (sofar < len) { sofar 892 drivers/infiniband/hw/qib/qib_sd7220.c req = len - sofar; sofar 895 drivers/infiniband/hw/qib/qib_sd7220.c cnt = qib_sd7220_ram_xfer(dd, sdnum, sofar + offset, sofar 899 drivers/infiniband/hw/qib/qib_sd7220.c sofar = -1; sofar 903 drivers/infiniband/hw/qib/qib_sd7220.c if (readback[idx] != img[idx+sofar]) sofar 906 drivers/infiniband/hw/qib/qib_sd7220.c sofar += cnt; sofar 908 drivers/infiniband/hw/qib/qib_sd7220.c return errors ? -errors : sofar; sofar 1125 drivers/net/wireless/ath/ath10k/coredump.c size_t len, sofar = 0; sofar 1140 drivers/net/wireless/ath/ath10k/coredump.c sofar += hdr_len; sofar 1184 drivers/net/wireless/ath/ath10k/coredump.c dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); sofar 1189 drivers/net/wireless/ath/ath10k/coredump.c sofar += sizeof(*dump_tlv) + sizeof(crash_data->registers); sofar 1193 drivers/net/wireless/ath/ath10k/coredump.c dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); sofar 1202 drivers/net/wireless/ath/ath10k/coredump.c sofar += sizeof(*dump_tlv) + sizeof(*ce_hdr) + sofar 1208 drivers/net/wireless/ath/ath10k/coredump.c dump_tlv = (struct ath10k_tlv_dump_data *)(buf + sofar); sofar 1214 drivers/net/wireless/ath/ath10k/coredump.c sofar += sizeof(*dump_tlv) + crash_data->ramdump_buf_len; sofar 284 net/core/pktgen.c __u64 sofar; /* How many pkts we've sent so far */ sofar 672 net/core/pktgen.c (unsigned long long)pkt_dev->sofar, sofar 2990 net/core/pktgen.c pkt_dev->sofar = 0; sofar 3154 net/core/pktgen.c (unsigned long long)pkt_dev->sofar, sofar 3157 net/core/pktgen.c pps = div64_u64(pkt_dev->sofar * NSEC_PER_SEC, sofar 3350 net/core/pktgen.c pkt_dev->sofar++; sofar 3375 net/core/pktgen.c pkt_dev->sofar++; sofar 3419 net/core/pktgen.c pkt_dev->sofar++; sofar 3449 net/core/pktgen.c if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { sofar 3621 net/core/pktgen.c pkt_dev->sofar = 0;