Lines Matching refs:pos
62 int pos = 0; in iwl_dbgfs_sram_read() local
91 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read()
93 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read()
106 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
113 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
126 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
128 pos += scnprintf(buf + pos, bufsz - pos, " "); in iwl_dbgfs_sram_read()
130 pos += scnprintf(buf + pos, bufsz - pos, " "); in iwl_dbgfs_sram_read()
134 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
136 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sram_read()
190 int i, j, pos = 0; in iwl_dbgfs_stations_read() local
199 pos += scnprintf(buf + pos, bufsz - pos, "num of stations: %d\n\n", in iwl_dbgfs_stations_read()
206 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read()
210 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read()
216 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read()
226 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read()
228 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_stations_read()
231 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_stations_read()
234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_stations_read()
246 int pos = 0, ofs = 0, buf_size = 0; in iwl_dbgfs_nvm_read() local
266 pos += scnprintf(buf + pos, buf_size - pos, in iwl_dbgfs_nvm_read()
269 pos += scnprintf(buf + pos, buf_size - pos, "0x%.4x %16ph\n", in iwl_dbgfs_nvm_read()
273 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_nvm_read()
284 int pos = 0, i, bufsz = PAGE_SIZE; in iwl_dbgfs_channels_read() local
296 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_channels_read()
301 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_channels_read()
319 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_channels_read()
324 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_channels_read()
338 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_channels_read()
349 int pos = 0; in iwl_dbgfs_status_read() local
352 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_RF_KILL_HW:\t %d\n", in iwl_dbgfs_status_read()
354 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_CT_KILL:\t\t %d\n", in iwl_dbgfs_status_read()
356 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_ALIVE:\t\t %d\n", in iwl_dbgfs_status_read()
358 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_READY:\t\t %d\n", in iwl_dbgfs_status_read()
360 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_EXIT_PENDING:\t %d\n", in iwl_dbgfs_status_read()
362 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_STATISTICS:\t %d\n", in iwl_dbgfs_status_read()
364 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_SCANNING:\t %d\n", in iwl_dbgfs_status_read()
366 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_SCAN_ABORTING:\t %d\n", in iwl_dbgfs_status_read()
368 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_SCAN_HW:\t\t %d\n", in iwl_dbgfs_status_read()
370 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_POWER_PMI:\t %d\n", in iwl_dbgfs_status_read()
372 pos += scnprintf(buf + pos, bufsz - pos, "STATUS_FW_ERROR:\t %d\n", in iwl_dbgfs_status_read()
374 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_status_read()
383 int pos = 0; in iwl_dbgfs_rx_handlers_read() local
395 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rx_handlers_read()
401 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rx_handlers_read()
434 int pos = 0, i; in iwl_dbgfs_qos_read() local
439 pos += scnprintf(buf + pos, bufsz - pos, "context %d:\n", in iwl_dbgfs_qos_read()
442 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_qos_read()
444 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_qos_read()
451 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_qos_read()
453 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_qos_read()
464 int pos = 0; in iwl_dbgfs_thermal_throttling_read() local
467 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_thermal_throttling_read()
470 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_thermal_throttling_read()
475 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_thermal_throttling_read()
478 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_thermal_throttling_read()
481 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_thermal_throttling_read()
485 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_thermal_throttling_read()
517 int pos = 0; in iwl_dbgfs_disable_ht40_read() local
520 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_disable_ht40_read()
523 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_disable_ht40_read()
532 int pos = 0; in iwl_dbgfs_temperature_read() local
535 pos += scnprintf(buf + pos, bufsz - pos, "%d\n", priv->temperature); in iwl_dbgfs_temperature_read()
536 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_temperature_read()
588 int pos, value; in iwl_dbgfs_sleep_level_override_read() local
596 pos = scnprintf(buf, bufsz, "%d\n", value); in iwl_dbgfs_sleep_level_override_read()
597 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sleep_level_override_read()
606 int pos = 0, i; in iwl_dbgfs_current_sleep_command_read() local
610 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_current_sleep_command_read()
612 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_current_sleep_command_read()
617 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_current_sleep_command_read()
621 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_current_sleep_command_read()
671 int pos = 0; in iwl_dbgfs_ucode_rx_stats_read() local
713 pos += iwl_statistics_flag(priv, buf, bufsz); in iwl_dbgfs_ucode_rx_stats_read()
714 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
716 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
721 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
725 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
729 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
733 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
738 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
744 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
749 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
755 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
761 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
766 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
771 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
777 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
783 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
788 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
793 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
799 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
805 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
811 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
818 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
820 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
824 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
828 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
832 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
836 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
841 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
847 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
851 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
856 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
862 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
867 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
872 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
877 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
883 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
888 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
893 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
899 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
904 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
909 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
916 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
918 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
923 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
928 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
934 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
940 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
946 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
952 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
958 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
964 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
970 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
976 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
982 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
988 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
994 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1000 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1006 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1012 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1018 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1024 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1030 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1036 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1043 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1045 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1049 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1053 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1059 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1063 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1067 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1072 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1077 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1082 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1086 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_rx_stats_read()
1094 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_rx_stats_read()
1104 int pos = 0; in iwl_dbgfs_ucode_tx_stats_read() local
1128 pos += iwl_statistics_flag(priv, buf, bufsz); in iwl_dbgfs_ucode_tx_stats_read()
1129 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1131 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1136 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1141 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1147 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1153 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1158 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1162 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1167 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1173 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1179 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1185 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1191 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1197 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1203 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1209 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1215 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1221 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1227 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1233 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1239 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1245 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1251 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1256 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1262 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1270 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1274 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1279 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1284 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_tx_stats_read()
1291 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tx_stats_read()
1301 int pos = 0; in iwl_dbgfs_ucode_general_stats_read() local
1337 pos += iwl_statistics_flag(priv, buf, bufsz); in iwl_dbgfs_ucode_general_stats_read()
1338 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1340 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1343 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1346 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1349 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1354 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1359 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1365 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1370 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1375 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1380 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1384 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1388 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1392 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1396 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1402 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_general_stats_read()
1411 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_general_stats_read()
1421 int pos = 0; in iwl_dbgfs_ucode_bt_stats_read() local
1455 pos += iwl_statistics_flag(priv, buf, bufsz); in iwl_dbgfs_ucode_bt_stats_read()
1456 pos += scnprintf(buf + pos, bufsz - pos, "Statistics_BT:\n"); in iwl_dbgfs_ucode_bt_stats_read()
1457 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1459 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1463 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1467 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1471 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1475 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1479 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1483 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1487 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1492 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_ucode_bt_stats_read()
1499 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_bt_stats_read()
1509 int pos = 0; in iwl_dbgfs_reply_tx_error_read() local
1522 pos += scnprintf(buf + pos, bufsz - pos, "Statistics_TX_Error:\n"); in iwl_dbgfs_reply_tx_error_read()
1523 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1526 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1529 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1532 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1535 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1538 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1542 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1545 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1548 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1551 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1554 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1557 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1560 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1563 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1566 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1569 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1572 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1575 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1578 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1581 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1585 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1588 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1592 pos += scnprintf(buf + pos, bufsz - pos, "UNKNOWN:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1595 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_reply_tx_error_read()
1598 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1601 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1604 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1607 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1610 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1614 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1618 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1622 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1625 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1629 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1632 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1635 pos += scnprintf(buf + pos, bufsz - pos, "%s:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1638 pos += scnprintf(buf + pos, bufsz - pos, "UNKNOWN:\t\t\t%u\n", in iwl_dbgfs_reply_tx_error_read()
1641 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_reply_tx_error_read()
1651 int pos = 0; in iwl_dbgfs_sensitivity_read() local
1663 pos += scnprintf(buf + pos, bufsz - pos, "auto_corr_ofdm:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1665 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sensitivity_read()
1668 pos += scnprintf(buf + pos, bufsz - pos, "auto_corr_ofdm_x1:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1670 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sensitivity_read()
1673 pos += scnprintf(buf + pos, bufsz - pos, "auto_corr_cck:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1675 pos += scnprintf(buf + pos, bufsz - pos, "auto_corr_cck_mrc:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1677 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sensitivity_read()
1680 pos += scnprintf(buf + pos, bufsz - pos, "last_fa_cnt_ofdm:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1682 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sensitivity_read()
1685 pos += scnprintf(buf + pos, bufsz - pos, "last_fa_cnt_cck:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1687 pos += scnprintf(buf + pos, bufsz - pos, "nrg_curr_state:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1689 pos += scnprintf(buf + pos, bufsz - pos, "nrg_prev_state:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1691 pos += scnprintf(buf + pos, bufsz - pos, "nrg_value:\t\t\t"); in iwl_dbgfs_sensitivity_read()
1693 pos += scnprintf(buf + pos, bufsz - pos, " %u", in iwl_dbgfs_sensitivity_read()
1696 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sensitivity_read()
1697 pos += scnprintf(buf + pos, bufsz - pos, "nrg_silence_rssi:\t\t"); in iwl_dbgfs_sensitivity_read()
1699 pos += scnprintf(buf + pos, bufsz - pos, " %u", in iwl_dbgfs_sensitivity_read()
1702 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sensitivity_read()
1703 pos += scnprintf(buf + pos, bufsz - pos, "nrg_silence_ref:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1705 pos += scnprintf(buf + pos, bufsz - pos, "nrg_energy_idx:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1707 pos += scnprintf(buf + pos, bufsz - pos, "nrg_silence_idx:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1709 pos += scnprintf(buf + pos, bufsz - pos, "nrg_th_cck:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1711 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sensitivity_read()
1714 pos += scnprintf(buf + pos, bufsz - pos, "num_in_cck_no_fa:\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1716 pos += scnprintf(buf + pos, bufsz - pos, "nrg_th_ofdm:\t\t\t %u\n", in iwl_dbgfs_sensitivity_read()
1719 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sensitivity_read()
1730 int pos = 0; in iwl_dbgfs_chain_noise_read() local
1742 pos += scnprintf(buf + pos, bufsz - pos, "active_chains:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1744 pos += scnprintf(buf + pos, bufsz - pos, "chain_noise_a:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1746 pos += scnprintf(buf + pos, bufsz - pos, "chain_noise_b:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1748 pos += scnprintf(buf + pos, bufsz - pos, "chain_noise_c:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1750 pos += scnprintf(buf + pos, bufsz - pos, "chain_signal_a:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1752 pos += scnprintf(buf + pos, bufsz - pos, "chain_signal_b:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1754 pos += scnprintf(buf + pos, bufsz - pos, "chain_signal_c:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1756 pos += scnprintf(buf + pos, bufsz - pos, "beacon_count:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1759 pos += scnprintf(buf + pos, bufsz - pos, "disconn_array:\t\t\t"); in iwl_dbgfs_chain_noise_read()
1761 pos += scnprintf(buf + pos, bufsz - pos, " %u", in iwl_dbgfs_chain_noise_read()
1764 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_chain_noise_read()
1765 pos += scnprintf(buf + pos, bufsz - pos, "delta_gain_code:\t\t"); in iwl_dbgfs_chain_noise_read()
1767 pos += scnprintf(buf + pos, bufsz - pos, " %u", in iwl_dbgfs_chain_noise_read()
1770 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_chain_noise_read()
1771 pos += scnprintf(buf + pos, bufsz - pos, "radio_write:\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1773 pos += scnprintf(buf + pos, bufsz - pos, "state:\t\t\t\t %u\n", in iwl_dbgfs_chain_noise_read()
1776 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_chain_noise_read()
1787 int pos = 0; in iwl_dbgfs_power_save_status_read() local
1794 pos += scnprintf(buf + pos, bufsz - pos, "Power Save Status: "); in iwl_dbgfs_power_save_status_read()
1795 pos += scnprintf(buf + pos, bufsz - pos, "%s\n", in iwl_dbgfs_power_save_status_read()
1801 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_power_save_status_read()
1833 int pos = 0; in iwl_dbgfs_ucode_tracing_read() local
1837 pos += scnprintf(buf + pos, bufsz - pos, "ucode trace timer is %s\n", in iwl_dbgfs_ucode_tracing_read()
1839 pos += scnprintf(buf + pos, bufsz - pos, "non_wraps_count:\t\t %u\n", in iwl_dbgfs_ucode_tracing_read()
1841 pos += scnprintf(buf + pos, bufsz - pos, "wraps_once_count:\t\t %u\n", in iwl_dbgfs_ucode_tracing_read()
1843 pos += scnprintf(buf + pos, bufsz - pos, "wraps_more_count:\t\t %u\n", in iwl_dbgfs_ucode_tracing_read()
1846 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tracing_read()
1910 int pos = 0; in iwl_dbgfs_missed_beacon_read() local
1914 pos += scnprintf(buf + pos, bufsz - pos, "%d\n", in iwl_dbgfs_missed_beacon_read()
1917 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_missed_beacon_read()
1951 int pos = 0; in iwl_dbgfs_plcp_delta_read() local
1955 pos += scnprintf(buf + pos, bufsz - pos, "%u\n", in iwl_dbgfs_plcp_delta_read()
1958 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_plcp_delta_read()
1990 int pos = 0; in iwl_dbgfs_rf_reset_read() local
1995 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rf_reset_read()
1997 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rf_reset_read()
2000 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rf_reset_read()
2003 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rf_reset_read()
2007 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rf_reset_read()
2050 int pos = 0; in iwl_dbgfs_bt_traffic_read() local
2055 pos += scnprintf(buf + pos, bufsz - pos, "BT coex disabled\n"); in iwl_dbgfs_bt_traffic_read()
2056 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2058 pos += scnprintf(buf + pos, bufsz - pos, "BT enable flag: 0x%x\n", in iwl_dbgfs_bt_traffic_read()
2060 pos += scnprintf(buf + pos, bufsz - pos, "BT in %s mode\n", in iwl_dbgfs_bt_traffic_read()
2062 pos += scnprintf(buf + pos, bufsz - pos, "BT status: %s, " in iwl_dbgfs_bt_traffic_read()
2065 pos += scnprintf(buf + pos, bufsz - pos, "ch_announcement: %d, " in iwl_dbgfs_bt_traffic_read()
2070 pos += scnprintf(buf + pos, bufsz - pos, "bluetooth traffic load: "); in iwl_dbgfs_bt_traffic_read()
2073 pos += scnprintf(buf + pos, bufsz - pos, "Continuous\n"); in iwl_dbgfs_bt_traffic_read()
2076 pos += scnprintf(buf + pos, bufsz - pos, "High\n"); in iwl_dbgfs_bt_traffic_read()
2079 pos += scnprintf(buf + pos, bufsz - pos, "Low\n"); in iwl_dbgfs_bt_traffic_read()
2083 pos += scnprintf(buf + pos, bufsz - pos, "None\n"); in iwl_dbgfs_bt_traffic_read()
2087 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2096 int pos = 0; in iwl_dbgfs_protection_mode_read() local
2101 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_protection_mode_read()
2106 pos += scnprintf(buf + pos, bufsz - pos, "N/A"); in iwl_dbgfs_protection_mode_read()
2108 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_protection_mode_read()
2217 int pos = 0; in iwl_dbgfs_calib_disabled_read() local
2220 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_calib_disabled_read()
2225 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_calib_disabled_read()
2230 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_calib_disabled_read()
2236 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_calib_disabled_read()