Lines Matching full:pos

29 	int pos, budget;
45 pos = scnprintf(buf, sizeof(buf), "%d\n", budget);
47 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
227 int pos;
230 pos = scnprintf(buf, sizeof(buf), "disabled\n");
232 pos = scnprintf(buf, sizeof(buf), "%d\n", mvm->temperature);
234 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
294 int pos, ret;
307 pos = scnprintf(buf, sizeof(buf), "%d\n", temp);
309 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
319 int pos = 0;
334 pos = scnprintf(buf, bufsz,
337 pos += scnprintf(buf + pos, bufsz - pos,
339 pos += scnprintf(buf + pos, bufsz - pos,
344 pos += scnprintf(buf + pos, bufsz - pos,
352 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
360 int err, pos;
368 pos = sprintf(buf, "0x%08x\n", value);
370 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
380 int i, pos = 0, bufsz = sizeof(buf);
385 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i);
389 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n");
391 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n",
394 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n",
400 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
486 int pos;
488 pos = scnprintf(buf, sizeof(buf), "current %d ",
490 pos += scnprintf(buf + pos, sizeof(buf) - pos, "stored %d\n",
493 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
503 int pos = 0;
505 pos += scnprintf(buf+pos, bufsz-pos, "disable_power_off_d0=%d\n",
507 pos += scnprintf(buf+pos, bufsz-pos, "disable_power_off_d3=%d\n",
510 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
547 char *buff, *pos, *endpos;
594 pos = buff;
595 endpos = pos + bufsz;
599 pos += scnprintf(pos, endpos - pos, "TAS Conclusion:\n");
603 pos += scnprintf(pos, endpos - pos, "\tON for ");
606 pos += scnprintf(pos, endpos - pos, "HB\n");
609 pos += scnprintf(pos, endpos - pos, "LB\n");
612 pos += scnprintf(pos, endpos - pos, "UHB\n");
615 pos += scnprintf(pos, endpos - pos,
619 pos += scnprintf(pos, endpos - pos,
628 pos += scnprintf(pos, endpos - pos, "\tOFF\n");
630 pos += scnprintf(pos, endpos - pos, "TAS Report\n");
631 pos += scnprintf(pos, endpos - pos, "TAS FW version: %d\n",
633 pos += scnprintf(pos, endpos - pos, "Is UHB enabled for USA?: %s\n",
638 pos += scnprintf(pos, endpos - pos,
643 pos += scnprintf(pos, endpos - pos, "Current MCC: 0x%x\n",
646 pos += scnprintf(pos, endpos - pos, "Block list entries:");
648 pos += scnprintf(pos, endpos - pos, " 0x%x",
651 pos += scnprintf(pos, endpos - pos, "\nOEM name: %s\n",
653 pos += scnprintf(pos, endpos - pos, "\tVendor In Approved List: %s\n",
655 pos += scnprintf(pos, endpos - pos,
661 pos += scnprintf(pos, endpos - pos,
663 pos += scnprintf(pos, endpos - pos,
669 pos += scnprintf(pos, endpos - pos, "TAS status for ");
672 pos += scnprintf(pos, endpos - pos, "High band\n");
675 pos += scnprintf(pos, endpos - pos, "Low band\n");
678 pos += scnprintf(pos, endpos - pos,
682 pos += scnprintf(pos, endpos - pos,
686 pos += scnprintf(pos, endpos - pos,
691 pos += scnprintf(pos, endpos - pos, "Static status: %sabled\n",
694 pos += scnprintf(pos, endpos - pos,
697 pos += scnprintf(pos, endpos - pos, "%s (%d)\n",
701 pos += scnprintf(pos, endpos - pos,
705 pos += scnprintf(pos, endpos - pos, "Dynamic status:\n");
709 pos += scnprintf(pos, endpos - pos,
714 pos += scnprintf(pos, endpos - pos,
719 pos += scnprintf(pos, endpos - pos,
723 pos += scnprintf(pos, endpos - pos,
729 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
742 int pos;
750 pos = scnprintf(buf, bufsz, "%.*s\n", mvm->fw->phy_integration_ver_len,
753 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
760 pos += scnprintf(buf + pos, bufsz - pos, \
771 int pos = 0;
800 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
835 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
870 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
926 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
954 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
965 char *buff, *pos, *endpos;
984 pos = buff;
985 endpos = pos + bufsz;
988 pos += scnprintf(pos, endpos - pos,
1007 pos += scnprintf(pos, endpos - pos, "vif is NULL\n");
1013 pos += scnprintf(pos, endpos - pos, "mvmvif is NULL\n");
1020 pos += scnprintf(pos, endpos - pos,
1022 pos += scnprintf(pos, endpos - pos,
1025 pos += scnprintf(pos, endpos - pos,
1028 pos += scnprintf(pos, endpos - pos,
1033 pos += scnprintf(pos, endpos - pos,
1036 pos += scnprintf(pos, endpos - pos,
1039 pos += scnprintf(pos, endpos - pos,
1042 pos += scnprintf(pos, endpos - pos,
1050 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
1061 char *buff, *pos, *endpos;
1072 pos = buff;
1073 endpos = pos + bufsz;
1075 pos += scnprintf(pos, endpos - pos,
1080 pos += scnprintf(pos, endpos - pos, "20/40/80\t:\t%d/%d/%d\n",
1084 pos += scnprintf(pos, endpos - pos, "NGI/SGI\t\t:\t%d/%d\n",
1087 pos += scnprintf(pos, endpos - pos, "SISO/MIMO2\t:\t%d/%d\n",
1090 pos += scnprintf(pos, endpos - pos, "FAIL/SCSS\t:\t%d/%d\n",
1093 pos += scnprintf(pos, endpos - pos, "MPDUs agg\t:\t%d\n",
1095 pos += scnprintf(pos, endpos - pos, "A-MPDUs\t\t:\t%d\n",
1097 pos += scnprintf(pos, endpos - pos, "Avg MPDUs/A-MPDU:\t%d\n",
1101 pos += scnprintf(pos, endpos - pos, "Last Rates\n");
1108 pos += scnprintf(pos, endpos - pos, "Rate[%d]: ",
1110 pos += rs_pretty_print_rate_v1(pos, endpos - pos,
1112 if (pos < endpos - 1)
1113 *pos++ = '\n';
1117 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
1180 int pos = 0;
1185 pos += scnprintf(buf + pos, bufsz - pos, "Antennas for scan: ");
1187 pos += scnprintf(buf + pos, bufsz - pos, "A");
1189 pos += scnprintf(buf + pos, bufsz - pos, "B");
1190 pos += scnprintf(buf + pos, bufsz - pos, " (%x)\n", mvm->scan_rx_ant);
1192 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1440 int pos = 0;
1446 pos += scnprintf(buf + pos, bufsz - pos, "%d\n", conf);
1448 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1646 int pos = 0;
1653 pos += scnprintf(buf + pos, bufsz - pos, "Reg 0x%x: (0x%x)\n",
1657 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1797 unsigned int pos = 0;
1804 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n",
1809 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1881 int i, j, pos = 0;
1894 pos += scnprintf(buf + pos, IWL_RFI_BUF_SIZE - pos, "%d: ",
1898 pos += scnprintf(buf + pos, IWL_RFI_BUF_SIZE - pos,
1902 pos += scnprintf(buf + pos, IWL_RFI_BUF_SIZE - pos, "\n");
1907 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);