Searched refs:sofar (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_qsfp.c | 493 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 …]
|
D | qib_sd7220.c | 753 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 …]
|
/drivers/infiniband/hw/hfi1/ |
D | qsfp.c | 753 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 …]
|
/drivers/net/wireless/ath/ath10k/ |
D | coredump.c | 1498 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()
|