Lines Matching full:pos
28 int pos, budget;
44 pos = scnprintf(buf, sizeof(buf), "%d\n", budget);
46 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
226 int pos;
229 pos = scnprintf(buf, sizeof(buf), "disabled\n");
231 pos = scnprintf(buf, sizeof(buf), "%d\n", mvm->temperature);
233 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
293 int pos, ret;
306 pos = scnprintf(buf, sizeof(buf), "%d\n", temp);
308 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
318 int pos = 0;
333 pos = scnprintf(buf, bufsz,
336 pos += scnprintf(buf + pos, bufsz - pos,
338 pos += scnprintf(buf + pos, bufsz - pos,
343 pos += scnprintf(buf + pos, bufsz - pos,
351 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
359 int err, pos;
367 pos = sprintf(buf, "0x%08x\n", value);
369 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
379 int i, pos = 0, bufsz = sizeof(buf);
384 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i);
388 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n");
390 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n",
393 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n",
399 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);
544 char *buff, *pos, *endpos;
552 pos = buff;
553 endpos = pos + bufsz;
555 pos += scnprintf(pos, endpos - pos, "FW id: %s\n",
557 pos += scnprintf(pos, endpos - pos, "FW: %s\n",
559 pos += scnprintf(pos, endpos - pos, "Device: %s\n",
561 pos += scnprintf(pos, endpos - pos, "Bus: %s\n",
568 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
582 char *buff, *pos, *endpos;
625 pos = buff;
626 endpos = pos + bufsz;
630 pos += scnprintf(pos, endpos - pos, "TAS Conclusion:\n");
634 pos += scnprintf(pos, endpos - pos, "\tON for ");
637 pos += scnprintf(pos, endpos - pos, "HB\n");
640 pos += scnprintf(pos, endpos - pos, "LB\n");
643 pos += scnprintf(pos, endpos - pos, "UHB\n");
646 pos += scnprintf(pos, endpos - pos,
650 pos += scnprintf(pos, endpos - pos,
659 pos += scnprintf(pos, endpos - pos, "\tOFF\n");
661 pos += scnprintf(pos, endpos - pos, "TAS Report\n");
662 pos += scnprintf(pos, endpos - pos, "TAS FW version: %d\n",
664 pos += scnprintf(pos, endpos - pos, "Is UHB enabled for USA?: %s\n",
666 pos += scnprintf(pos, endpos - pos, "Current MCC: 0x%x\n",
669 pos += scnprintf(pos, endpos - pos, "Block list entries:");
671 pos += scnprintf(pos, endpos - pos, " 0x%x",
674 pos += scnprintf(pos, endpos - pos, "\nOEM name: %s\n",
676 pos += scnprintf(pos, endpos - pos, "\tVendor In Approved List: %s\n",
678 pos += scnprintf(pos, endpos - pos,
684 pos += scnprintf(pos, endpos - pos,
686 pos += scnprintf(pos, endpos - pos,
692 pos += scnprintf(pos, endpos - pos, "TAS status for ");
695 pos += scnprintf(pos, endpos - pos, "High band\n");
698 pos += scnprintf(pos, endpos - pos, "Low band\n");
701 pos += scnprintf(pos, endpos - pos,
705 pos += scnprintf(pos, endpos - pos,
709 pos += scnprintf(pos, endpos - pos,
714 pos += scnprintf(pos, endpos - pos, "Static status: %sabled\n",
717 pos += scnprintf(pos, endpos - pos,
720 pos += scnprintf(pos, endpos - pos, "%s (%d)\n",
724 pos += scnprintf(pos, endpos - pos,
728 pos += scnprintf(pos, endpos - pos, "Dynamic status:\n");
732 pos += scnprintf(pos, endpos - pos,
737 pos += scnprintf(pos, endpos - pos,
742 pos += scnprintf(pos, endpos - pos,
746 pos += scnprintf(pos, endpos - pos,
752 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
765 int pos;
773 pos = scnprintf(buf, bufsz, "%.*s\n", mvm->fw->phy_integration_ver_len,
776 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
783 pos += scnprintf(buf + pos, bufsz - pos, \
794 int pos = 0;
823 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
858 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
893 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
949 pos += scnprintf(buf + pos, bufsz - pos, fmt_header,
977 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
988 char *buff, *pos, *endpos;
1007 pos = buff;
1008 endpos = pos + bufsz;
1011 pos += scnprintf(pos, endpos - pos,
1030 pos += scnprintf(pos, endpos - pos, "vif is NULL\n");
1036 pos += scnprintf(pos, endpos - pos, "mvmvif is NULL\n");
1043 pos += scnprintf(pos, endpos - pos,
1045 pos += scnprintf(pos, endpos - pos,
1048 pos += scnprintf(pos, endpos - pos,
1051 pos += scnprintf(pos, endpos - pos,
1056 pos += scnprintf(pos, endpos - pos,
1059 pos += scnprintf(pos, endpos - pos,
1062 pos += scnprintf(pos, endpos - pos,
1065 pos += scnprintf(pos, endpos - pos,
1073 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
1084 char *buff, *pos, *endpos;
1095 pos = buff;
1096 endpos = pos + bufsz;
1098 pos += scnprintf(pos, endpos - pos,
1103 pos += scnprintf(pos, endpos - pos, "20/40/80\t:\t%d/%d/%d\n",
1107 pos += scnprintf(pos, endpos - pos, "NGI/SGI\t\t:\t%d/%d\n",
1110 pos += scnprintf(pos, endpos - pos, "SISO/MIMO2\t:\t%d/%d\n",
1113 pos += scnprintf(pos, endpos - pos, "FAIL/SCSS\t:\t%d/%d\n",
1116 pos += scnprintf(pos, endpos - pos, "MPDUs agg\t:\t%d\n",
1118 pos += scnprintf(pos, endpos - pos, "A-MPDUs\t\t:\t%d\n",
1120 pos += scnprintf(pos, endpos - pos, "Avg MPDUs/A-MPDU:\t%d\n",
1124 pos += scnprintf(pos, endpos - pos, "Last Rates\n");
1131 pos += scnprintf(pos, endpos - pos, "Rate[%d]: ",
1133 pos += rs_pretty_print_rate_v1(pos, endpos - pos,
1135 if (pos < endpos - 1)
1136 *pos++ = '\n';
1140 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
1207 int pos = 0;
1212 pos += scnprintf(buf + pos, bufsz - pos, "Antennas for scan: ");
1214 pos += scnprintf(buf + pos, bufsz - pos, "A");
1216 pos += scnprintf(buf + pos, bufsz - pos, "B");
1217 pos += scnprintf(buf + pos, bufsz - pos, " (%x)\n", mvm->scan_rx_ant);
1219 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1467 int pos = 0;
1473 pos += scnprintf(buf + pos, bufsz - pos, "%d\n", conf);
1475 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1689 int pos = 0;
1696 pos += scnprintf(buf + pos, bufsz - pos, "Reg 0x%x: (0x%x)\n",
1700 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1840 unsigned int pos = 0;
1847 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n",
1852 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
1924 int i, j, pos = 0;
1937 pos += scnprintf(buf + pos, IWL_RFI_BUF_SIZE - pos, "%d: ",
1941 pos += scnprintf(buf + pos, IWL_RFI_BUF_SIZE - pos,
1945 pos += scnprintf(buf + pos, IWL_RFI_BUF_SIZE - pos, "\n");
1950 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);