Home
last modified time | relevance | path

Searched refs:sysfs_emit_at (Results 1 – 25 of 148) sorted by relevance

123456

/linux-6.15/drivers/media/common/siano/
H A Dsmsdvb-debugfs.c51 n += sysfs_emit_at(buf, n, "SNR = %d\n", p->SNR); in smsdvb_print_dvb_stats()
52 n += sysfs_emit_at(buf, n, "ber = %d\n", p->ber); in smsdvb_print_dvb_stats()
53 n += sysfs_emit_at(buf, n, "FIB_CRC = %d\n", p->FIB_CRC); in smsdvb_print_dvb_stats()
54 n += sysfs_emit_at(buf, n, "ts_per = %d\n", p->ts_per); in smsdvb_print_dvb_stats()
55 n += sysfs_emit_at(buf, n, "MFER = %d\n", p->MFER); in smsdvb_print_dvb_stats()
56 n += sysfs_emit_at(buf, n, "RSSI = %d\n", p->RSSI); in smsdvb_print_dvb_stats()
116 n += sysfs_emit_at(buf, n, "SNR = %d dB\t\t", p->SNR); in smsdvb_print_isdb_stats()
135 n += sysfs_emit_at(buf, n, "\nLayer %d\n", i); in smsdvb_print_isdb_stats()
141 n += sysfs_emit_at(buf, n, "ber_bit_count = %-5d\n", in smsdvb_print_isdb_stats()
200 n += sysfs_emit_at(buf, n, "\nLayer %d\n", i); in smsdvb_print_isdb_stats_ex()
[all …]
/linux-6.15/drivers/pci/hotplug/
H A Dshpchp_sysfs.c35 len += sysfs_emit_at(buf, len, "Free resources: memory\n"); in show_ctrl()
39 len += sysfs_emit_at(buf, len, in show_ctrl()
45 len += sysfs_emit_at(buf, len, "Free resources: prefetchable memory\n"); in show_ctrl()
49 len += sysfs_emit_at(buf, len, in show_ctrl()
55 len += sysfs_emit_at(buf, len, "Free resources: IO\n"); in show_ctrl()
58 len += sysfs_emit_at(buf, len, in show_ctrl()
64 len += sysfs_emit_at(buf, len, "Free resources: bus numbers\n"); in show_ctrl()
70 len += sysfs_emit_at(buf, len, in show_ctrl()
/linux-6.15/drivers/platform/chrome/
H A Dcros_ec_sysfs.c31 count += sysfs_emit_at(buf, count, in reboot_show()
33 count += sysfs_emit_at(buf, count, " [at-shutdown]\n"); in reboot_show()
152 count += sysfs_emit_at(buf, count, in version_show()
165 count += sysfs_emit_at(buf, count, in version_show()
184 count += sysfs_emit_at(buf, count, in version_show()
190 count += sysfs_emit_at(buf, count, in version_show()
325 count += sysfs_emit_at(buf, count, " USB=%d", in usbpdmuxinfo_show()
327 count += sysfs_emit_at(buf, count, " DP=%d", in usbpdmuxinfo_show()
336 count += sysfs_emit_at(buf, count, " SAFE=%d", in usbpdmuxinfo_show()
338 count += sysfs_emit_at(buf, count, " TBT=%d", in usbpdmuxinfo_show()
[all …]
/linux-6.15/drivers/s390/crypto/
H A Dzcrypt_cex4.c130 n += sysfs_emit_at(buf, n, "AES NEW: - -\n"); in cca_mkvps_show()
137 n += sysfs_emit_at(buf, n, "AES CUR: - -\n"); in cca_mkvps_show()
144 n += sysfs_emit_at(buf, n, "AES OLD: - -\n"); in cca_mkvps_show()
307 n += sysfs_emit_at(buf, n, "%s", in ep11_card_op_modes_show()
311 n += sysfs_emit_at(buf, n, "\n"); in ep11_card_op_modes_show()
361 n += sysfs_emit_at(buf, n, "\n"); in ep11_mkvps_show()
367 n += sysfs_emit_at(buf, n, "WK NEW: %s -\n", in ep11_mkvps_show()
370 n += sysfs_emit_at(buf, n, "WK NEW: %s 0x", in ep11_mkvps_show()
374 n += sysfs_emit_at(buf, n, "\n"); in ep11_mkvps_show()
404 n += sysfs_emit_at(buf, n, "%s", in ep11_queue_op_modes_show()
[all …]
/linux-6.15/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c168 len += sysfs_emit_at(buf, len, "{\n"); in status_show()
169 len += sysfs_emit_at(buf, len, "\t\"State\": \"%s\",\n", in status_show()
171 len += sysfs_emit_at(buf, len, "\t\"Version\": \"%d.%d\"", in status_show()
179 len += sysfs_emit_at(buf, len, "\n"); in status_show()
182 len += sysfs_emit_at(buf, len, ",\n"); in status_show()
190 len += sysfs_emit_at(buf, len, " %u", data.kek_mod[i]); in status_show()
192 len += sysfs_emit_at(buf, len, " \",\n"); in status_show()
193 len += sysfs_emit_at(buf, len, "\t\"SigningKeyMod\": \""); in status_show()
196 len += sysfs_emit_at(buf, len, " %u", data.sk_mod[i]); in status_show()
199 len += sysfs_emit_at(buf, len, " \"\n"); in status_show()
[all …]
/linux-6.15/drivers/memstick/core/
H A Dmspro_block.c263 rc += sysfs_emit_at(buffer, rc, "%02x ", in mspro_block_attr_show_default()
296 rc += sysfs_emit_at(buffer, rc, "user block count: %x\n", in mspro_block_attr_show_sysinfo()
315 rc += sysfs_emit_at(buffer, rc, "vcc: %x\n", x_sys->vcc); in mspro_block_attr_show_sysinfo()
316 rc += sysfs_emit_at(buffer, rc, "vpp: %x\n", x_sys->vpp); in mspro_block_attr_show_sysinfo()
325 rc += sysfs_emit_at(buffer, rc, "controller code: %x\n", in mspro_block_attr_show_sysinfo()
384 rc += sysfs_emit_at(buffer, rc, "name: %s\n", name); in mspro_block_attr_show_specfile()
385 rc += sysfs_emit_at(buffer, rc, "ext: %s\n", ext); in mspro_block_attr_show_specfile()
387 rc += sysfs_emit_at(buffer, rc, "time: %d:%d:%d\n", in mspro_block_attr_show_specfile()
391 rc += sysfs_emit_at(buffer, rc, "date: %d-%d-%d\n", in mspro_block_attr_show_specfile()
412 rc += sysfs_emit_at(buffer, rc, "bytes per track: %x\n", in mspro_block_attr_show_devinfo()
[all …]
/linux-6.15/drivers/acpi/
H A Dfan_attr.c30 count += sysfs_emit_at(buf, count, "not-defined:"); in show_state()
32 count += sysfs_emit_at(buf, count, "%lld:", fps->trip_point); in show_state()
35 count += sysfs_emit_at(buf, count, "not-defined:"); in show_state()
37 count += sysfs_emit_at(buf, count, "%lld:", fps->speed); in show_state()
40 count += sysfs_emit_at(buf, count, "not-defined:"); in show_state()
42 count += sysfs_emit_at(buf, count, "%lld:", fps->noise_level * 100); in show_state()
45 count += sysfs_emit_at(buf, count, "not-defined\n"); in show_state()
47 count += sysfs_emit_at(buf, count, "%lld\n", fps->power); in show_state()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_7_ppt.c1334 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in smu_v13_0_7_print_clk_levels()
1345 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v13_0_7_print_clk_levels()
1357 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v13_0_7_print_clk_levels()
1396 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1414 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1432 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1450 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1468 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1486 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
2490 size += sysfs_emit_at(buf, size, "\n"); in smu_v13_0_7_get_power_profile_mode()
[all …]
H A Dsmu_v13_0_0_ppt.c1287 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v13_0_0_print_clk_levels()
1291 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v13_0_0_print_clk_levels()
1345 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in smu_v13_0_0_print_clk_levels()
1356 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v13_0_0_print_clk_levels()
1368 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v13_0_0_print_clk_levels()
1407 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1425 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1443 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1461 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1479 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
[all …]
H A Dsmu_v13_0_5_ppt.c872 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in smu_v13_0_5_print_clk_levels()
873 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in smu_v13_0_5_print_clk_levels()
875 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in smu_v13_0_5_print_clk_levels()
879 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v13_0_5_print_clk_levels()
880 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in smu_v13_0_5_print_clk_levels()
901 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in smu_v13_0_5_print_clk_levels()
918 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in smu_v13_0_5_print_clk_levels()
920 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in smu_v13_0_5_print_clk_levels()
923 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in smu_v13_0_5_print_clk_levels()
/linux-6.15/drivers/target/iscsi/
H A Discsi_target_configfs.c546 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
549 rb += sysfs_emit_at(page, rb, "SessionType: %s\n", in lio_target_nacl_info_show()
552 rb += sysfs_emit_at(page, rb, "Session State: "); in lio_target_nacl_info_show()
595 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
599 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
603 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
607 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
611 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
615 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
619 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
[all …]
/linux-6.15/drivers/cpufreq/
H A Dcpufreq_stats.c131 len += sysfs_emit_at(buf, len, " From : To\n"); in show_trans_table()
132 len += sysfs_emit_at(buf, len, " : "); in show_trans_table()
136 len += sysfs_emit_at(buf, len, "%9u ", stats->freq_table[i]); in show_trans_table()
141 len += sysfs_emit_at(buf, len, "\n"); in show_trans_table()
147 len += sysfs_emit_at(buf, len, "%9u: ", stats->freq_table[i]); in show_trans_table()
158 len += sysfs_emit_at(buf, len, "%9u ", count); in show_trans_table()
162 len += sysfs_emit_at(buf, len, "\n"); in show_trans_table()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dcyan_skillfish_ppt.c305 size += sysfs_emit_at(buf, size,"%s:\n", "OD_SCLK"); in cyan_skillfish_print_clk_levels()
306 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
312 size += sysfs_emit_at(buf, size,"%s:\n", "OD_VDDC"); in cyan_skillfish_print_clk_levels()
313 size += sysfs_emit_at(buf, size, "0: %umV *\n", cur_value); in cyan_skillfish_print_clk_levels()
316 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in cyan_skillfish_print_clk_levels()
317 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in cyan_skillfish_print_clk_levels()
319 size += sysfs_emit_at(buf, size, "VDDC: %7umV %10umV\n", in cyan_skillfish_print_clk_levels()
330 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
343 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", CYAN_SKILLFISH_SCLK_MIN, in cyan_skillfish_print_clk_levels()
345 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in cyan_skillfish_print_clk_levels()
[all …]
H A Dnavi10_ppt.c1306 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1334 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1425 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1431 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1437 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1443 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1449 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1455 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1568 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in navi10_print_clk_levels()
1577 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in navi10_print_clk_levels()
[all …]
H A Dvangogh_ppt.c583 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in vangogh_print_legacy_clk_levels()
584 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
586 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
593 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
595 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
687 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_clk_levels()
689 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_clk_levels()
696 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_clk_levels()
698 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_clk_levels()
779 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in vangogh_print_clk_levels()
[all …]
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0_2_ppt.c1151 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v14_0_2_print_clk_levels()
1155 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v14_0_2_print_clk_levels()
1212 size += sysfs_emit_at(buf, size, "%dMhz\n", in smu_v14_0_2_print_clk_levels()
1221 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v14_0_2_print_clk_levels()
1233 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v14_0_2_print_clk_levels()
1272 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1290 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1308 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1326 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1344 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
[all …]
/linux-6.15/scripts/coccinelle/api/
H A Ddevice_attr_show.cocci4 /// show() should only use sysfs_emit() or sysfs_emit_at() when formatting
48 coccilib.report.print_report(p[0], "WARNING: please use sysfs_emit or sysfs_emit_at")
54 coccilib.org.print_todo(p[0], "WARNING: please use sysfs_emit or sysfs_emit_at")
/linux-6.15/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c95 len += sysfs_emit_at(buf, len, " Per VF:"); in config_show()
100 len += sysfs_emit_at(buf, len, "%s %d %s", in config_show()
106 len += sysfs_emit_at(buf, len, "\n"); in config_show()
226 len += sysfs_emit_at(buf, len, " %s[%d]", in summary_show()
232 len += sysfs_emit_at(buf, len, "\n"); in summary_show()
/linux-6.15/drivers/input/
H A Dvivaldi-fmap.c30 size += sysfs_emit_at(buf, size, in vivaldi_function_row_physmap_show()
33 size += sysfs_emit_at(buf, size, "\n"); in vivaldi_function_row_physmap_show()
/linux-6.15/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c48 used += sysfs_emit_at(buf, used, "%d ", in rtrs_clt_stats_migration_from_cnt_to_str()
52 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_from_cnt_to_str()
67 used += sysfs_emit_at(buf, used, "%d ", s->cpu_migr.to); in rtrs_clt_stats_migration_to_cnt_to_str()
70 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_to_cnt_to_str()
/linux-6.15/drivers/base/
H A Dcpu.c257 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline()
262 len += sysfs_emit_at(buf, len, ","); in print_cpus_offline()
265 len += sysfs_emit_at(buf, len, "%u", nr_cpu_ids); in print_cpus_offline()
267 len += sysfs_emit_at(buf, len, "%u-%d", in print_cpus_offline()
271 len += sysfs_emit_at(buf, len, "\n"); in print_cpus_offline()
349 len += sysfs_emit_at(buf, len, in print_cpu_modalias()
359 len += sysfs_emit_at(buf, len, ",%04X", i); in print_cpu_modalias()
361 len += sysfs_emit_at(buf, len, "\n"); in print_cpu_modalias()
H A Dnode.c388 len = sysfs_emit_at(buf, len, in node_read_meminfo()
417 len += sysfs_emit_at(buf, len, in node_read_meminfo()
427 len += sysfs_emit_at(buf, len, in node_read_meminfo()
527 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
534 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
544 len += sysfs_emit_at(buf, len, "%s %lu\n", node_stat_name(i), in node_read_vmstat()
566 len += sysfs_emit_at(buf, len, "%s%d", in node_read_distance()
570 len += sysfs_emit_at(buf, len, "\n"); in node_read_distance()
/linux-6.15/fs/f2fs/
H A Dsysfs.c197 len += sysfs_emit_at(buf, len, "%s", in features_show()
200 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
203 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
206 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
209 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
212 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
215 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
218 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
221 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
238 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
[all …]
/linux-6.15/drivers/platform/x86/dell/
H A Ddell-wmi-privacy.c148 len += sysfs_emit_at(buf, len, "[%s] [supported]\n", privacy_types[type]); in dell_privacy_supported_type_show()
150 len += sysfs_emit_at(buf, len, "[%s] [unsupported]\n", privacy_types[type]); in dell_privacy_supported_type_show()
169 len += sysfs_emit_at(buf, len, "[%s] [unmuted]\n", privacy_types[type]); in dell_privacy_current_state_show()
171 len += sysfs_emit_at(buf, len, "[%s] [muted]\n", privacy_types[type]); in dell_privacy_current_state_show()
/linux-6.15/drivers/iio/
H A Dindustrialio-core.c526 len += sysfs_emit_at(buf, len, "%s ", e->items[i]); in iio_enum_available_read()
651 return sysfs_emit_at(buf, offset, "%d", vals[0]); in __iio_format_value()
657 return sysfs_emit_at(buf, offset, "-%d.%06u%s", in __iio_format_value()
665 return sysfs_emit_at(buf, offset, "-%d.%09u", in __iio_format_value()
676 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
684 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
692 l += sysfs_emit_at(buf, offset + l, "%d ", vals[i]); in __iio_format_value()
699 return sysfs_emit_at(buf, offset, "%lld", tmp2); in __iio_format_value()
727 return len + sysfs_emit_at(buf, len, "\n"); in iio_format_value()
799 len += sysfs_emit_at(buf, len, " "); in iio_format_list()
[all …]

123456