Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/pci/hotplug/
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-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dcyan_skillfish_ppt.c295 size += sysfs_emit_at(buf, size,"%s:\n", "OD_SCLK"); in cyan_skillfish_print_clk_levels()
296 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
302 size += sysfs_emit_at(buf, size,"%s:\n", "OD_VDDC"); in cyan_skillfish_print_clk_levels()
303 size += sysfs_emit_at(buf, size, "0: %umV *\n", cur_value); in cyan_skillfish_print_clk_levels()
306 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in cyan_skillfish_print_clk_levels()
307 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in cyan_skillfish_print_clk_levels()
309 size += sysfs_emit_at(buf, size, "VDDC: %7umV %10umV\n", in cyan_skillfish_print_clk_levels()
320 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
333 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", CYAN_SKILLFISH_SCLK_MIN, in cyan_skillfish_print_clk_levels()
335 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in cyan_skillfish_print_clk_levels()
[all …]
Dvangogh_ppt.c598 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in vangogh_print_legacy_clk_levels()
599 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
601 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
607 size += sysfs_emit_at(buf, size, "CCLK_RANGE in Core%d:\n", smu->cpu_core_id_select); in vangogh_print_legacy_clk_levels()
608 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
610 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
616 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in vangogh_print_legacy_clk_levels()
617 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in vangogh_print_legacy_clk_levels()
619 size += sysfs_emit_at(buf, size, "CCLK: %7uMhz %10uMhz\n", in vangogh_print_legacy_clk_levels()
662 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in vangogh_print_legacy_clk_levels()
[all …]
Dnavi10_ppt.c1293 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1321 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1332 *offset += sysfs_emit_at(buf, *offset, "%d: %s %s %dMhz %s\n", i, in navi10_emit_clk_levels()
1354 *offset += sysfs_emit_at(buf, *offset, "OD_SCLK:\n0: %uMhz\n1: %uMhz\n", in navi10_emit_clk_levels()
1362 *offset += sysfs_emit_at(buf, *offset, "OD_MCLK:\n1: %uMHz\n", od_table->UclkFmax); in navi10_emit_clk_levels()
1369 *offset += sysfs_emit_at(buf, *offset, "OD_VDDC_CURVE:\n"); in navi10_emit_clk_levels()
1384 *offset += sysfs_emit_at(buf, *offset, "%d: %uMHz %umV\n", in navi10_emit_clk_levels()
1392 *offset += sysfs_emit_at(buf, *offset, "%s:\n", "OD_RANGE"); in navi10_emit_clk_levels()
1399 *offset += sysfs_emit_at(buf, *offset, "SCLK: %7uMhz %10uMhz\n", in navi10_emit_clk_levels()
1406 *offset += sysfs_emit_at(buf, *offset, "MCLK: %7uMhz %10uMhz\n", in navi10_emit_clk_levels()
[all …]
Darcturus_ppt.c774 size += sysfs_emit_at(buf, size, "unavailable\n"); in arcturus_print_clk_levels()
800 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, in arcturus_print_clk_levels()
823 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
846 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
869 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
892 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
915 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
926 size += sysfs_emit_at(buf, size, "0: %s %s %dMhz *\n", in arcturus_print_clk_levels()
1398 size += sysfs_emit_at(buf, size, "%16s %s %s %s %s %s %s %s %s %s %s\n", in arcturus_get_power_profile_mode()
1402 size += sysfs_emit_at(buf, size, "%16s\n", in arcturus_get_power_profile_mode()
[all …]
/Linux-v6.1/drivers/infiniband/hw/usnic/
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-v6.1/drivers/base/
Dcpu.c248 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline()
253 len += sysfs_emit_at(buf, len, ","); in print_cpus_offline()
256 len += sysfs_emit_at(buf, len, "%u", nr_cpu_ids); in print_cpus_offline()
258 len += sysfs_emit_at(buf, len, "%u-%d", in print_cpus_offline()
262 len += sysfs_emit_at(buf, len, "\n"); in print_cpus_offline()
323 len += sysfs_emit_at(buf, len, in print_cpu_modalias()
333 len += sysfs_emit_at(buf, len, ",%04X", i); in print_cpu_modalias()
335 len += sysfs_emit_at(buf, len, "\n"); in print_cpu_modalias()
Dnode.c386 len = sysfs_emit_at(buf, len, in node_read_meminfo()
415 len += sysfs_emit_at(buf, len, in node_read_meminfo()
425 len += sysfs_emit_at(buf, len, in node_read_meminfo()
518 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
525 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
535 len += sysfs_emit_at(buf, len, "%s %lu\n", node_stat_name(i), in node_read_vmstat()
557 len += sysfs_emit_at(buf, len, "%s%d", in node_read_distance()
561 len += sysfs_emit_at(buf, len, "\n"); in node_read_distance()
/Linux-v6.1/drivers/infiniband/ulp/rtrs/
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()
Drtrs-srv-sysfs.c106 return cnt + sysfs_emit_at(page, cnt, "\n"); in rtrs_srv_src_addr_show()
122 len += sysfs_emit_at(page, len, "\n"); in rtrs_srv_dst_addr_show()
/Linux-v6.1/drivers/acpi/
Dplatform_profile.c43 len += sysfs_emit_at(buf, len, "%s", profile_names[i]); in platform_profile_choices_show()
45 len += sysfs_emit_at(buf, len, " %s", profile_names[i]); in platform_profile_choices_show()
47 len += sysfs_emit_at(buf, len, "\n"); in platform_profile_choices_show()
/Linux-v6.1/drivers/platform/x86/dell/
Ddell-wmi-privacy.c144 len += sysfs_emit_at(buf, len, "[%s] [supported]\n", privacy_types[type]); in dell_privacy_supported_type_show()
146 len += sysfs_emit_at(buf, len, "[%s] [unsupported]\n", privacy_types[type]); in dell_privacy_supported_type_show()
165 len += sysfs_emit_at(buf, len, "[%s] [unmuted]\n", privacy_types[type]); in dell_privacy_current_state_show()
167 len += sysfs_emit_at(buf, len, "[%s] [muted]\n", privacy_types[type]); in dell_privacy_current_state_show()
/Linux-v6.1/drivers/iio/
Dindustrialio-core.c533 len += sysfs_emit_at(buf, len, "%s ", e->items[i]); in iio_enum_available_read()
658 return sysfs_emit_at(buf, offset, "%d", vals[0]); in __iio_format_value()
664 return sysfs_emit_at(buf, offset, "-%d.%06u%s", in __iio_format_value()
668 return sysfs_emit_at(buf, offset, "%d.%06u%s", vals[0], in __iio_format_value()
672 return sysfs_emit_at(buf, offset, "-%d.%09u", in __iio_format_value()
675 return sysfs_emit_at(buf, offset, "%d.%09u", vals[0], in __iio_format_value()
682 return sysfs_emit_at(buf, offset, "-0.%09u", abs(tmp1)); in __iio_format_value()
684 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
690 return sysfs_emit_at(buf, offset, "-0.%09u", abs(tmp1)); in __iio_format_value()
692 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_4_ppt.c489 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in smu_v13_0_4_print_clk_levels()
490 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in smu_v13_0_4_print_clk_levels()
492 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in smu_v13_0_4_print_clk_levels()
496 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v13_0_4_print_clk_levels()
497 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in smu_v13_0_4_print_clk_levels()
519 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in smu_v13_0_4_print_clk_levels()
536 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in smu_v13_0_4_print_clk_levels()
538 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in smu_v13_0_4_print_clk_levels()
541 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in smu_v13_0_4_print_clk_levels()
Dsmu_v13_0_5_ppt.c877 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in smu_v13_0_5_print_clk_levels()
878 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in smu_v13_0_5_print_clk_levels()
880 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in smu_v13_0_5_print_clk_levels()
884 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v13_0_5_print_clk_levels()
885 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in smu_v13_0_5_print_clk_levels()
905 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in smu_v13_0_5_print_clk_levels()
922 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in smu_v13_0_5_print_clk_levels()
924 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in smu_v13_0_5_print_clk_levels()
927 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in smu_v13_0_5_print_clk_levels()
Dsmu_v13_0_7_ppt.c966 size += sysfs_emit_at(buf, size, "unavailable\n"); in smu_v13_0_7_print_clk_levels()
1024 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v13_0_7_print_clk_levels()
1026 size += sysfs_emit_at(buf, size, "1: %uMhz *\n", in smu_v13_0_7_print_clk_levels()
1028 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v13_0_7_print_clk_levels()
1031 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", in smu_v13_0_7_print_clk_levels()
1034 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in smu_v13_0_7_print_clk_levels()
1040 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in smu_v13_0_7_print_clk_levels()
1060 size += sysfs_emit_at(buf, size, "%d: %s %s %dMhz %s\n", i, in smu_v13_0_7_print_clk_levels()
1447 size += sysfs_emit_at(buf, size, " "); in smu_v13_0_7_get_power_profile_mode()
1449 size += sysfs_emit_at(buf, size, "%-14s%s", amdgpu_pp_profile_name[i], in smu_v13_0_7_get_power_profile_mode()
[all …]
Dyellow_carp_ppt.c1011 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in yellow_carp_print_clk_levels()
1012 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in yellow_carp_print_clk_levels()
1014 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in yellow_carp_print_clk_levels()
1018 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in yellow_carp_print_clk_levels()
1019 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in yellow_carp_print_clk_levels()
1040 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in yellow_carp_print_clk_levels()
1057 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in yellow_carp_print_clk_levels()
1059 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in yellow_carp_print_clk_levels()
1062 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in yellow_carp_print_clk_levels()
Dsmu_v13_0_0_ppt.c923 size += sysfs_emit_at(buf, size, "unavailable\n"); in smu_v13_0_0_print_clk_levels()
981 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v13_0_0_print_clk_levels()
983 size += sysfs_emit_at(buf, size, "1: %uMhz *\n", in smu_v13_0_0_print_clk_levels()
985 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v13_0_0_print_clk_levels()
988 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", in smu_v13_0_0_print_clk_levels()
991 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in smu_v13_0_0_print_clk_levels()
997 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in smu_v13_0_0_print_clk_levels()
1017 size += sysfs_emit_at(buf, size, "%d: %s %s %dMhz %s\n", i, in smu_v13_0_0_print_clk_levels()
1441 size += sysfs_emit_at(buf, size, "%16s %s %s %s %s %s %s %s %s %s\n", in smu_v13_0_0_get_power_profile_mode()
1463 size += sysfs_emit_at(buf, size, "%2d %14s%s:\n", in smu_v13_0_0_get_power_profile_mode()
[all …]
/Linux-v6.1/drivers/net/bonding/
Dbond_sysfs.c50 res += sysfs_emit_at(buf, res, "++more++ "); in bonding_show_bonds()
53 res += sysfs_emit_at(buf, res, "%s ", bond->dev->name); in bonding_show_bonds()
181 res += sysfs_emit_at(buf, res, "++more++ "); in bonding_show_slaves()
184 res += sysfs_emit_at(buf, res, "%s ", slave->dev->name); in bonding_show_slaves()
295 res += sysfs_emit_at(buf, res, "%pI4 ", in bonding_show_arp_targets()
637 res += sysfs_emit_at(buf, res, "++more++ "); in bonding_show_queue_id()
640 res += sysfs_emit_at(buf, res, "%s:%d ", in bonding_show_queue_id()
/Linux-v6.1/drivers/soc/aspeed/
Daspeed-uart-routing.c506 len += sysfs_emit_at(buf, len, "[%s] ", sel->options[pos]); in aspeed_uart_routing_show()
508 len += sysfs_emit_at(buf, len, "%s ", sel->options[pos]); in aspeed_uart_routing_show()
512 len += sysfs_emit_at(buf, len, "[unknown(%d)]", val); in aspeed_uart_routing_show()
514 len += sysfs_emit_at(buf, len, "\n"); in aspeed_uart_routing_show()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c524 size += sysfs_emit_at(buf, size, "OD_RANGE\nSCLK: %10uMhz %10uMhz\n", min, max); in renoir_print_clk_levels()
531 size += sysfs_emit_at(buf, size, "OD_SCLK\n"); in renoir_print_clk_levels()
532 size += sysfs_emit_at(buf, size, "0:%10uMhz\n", min); in renoir_print_clk_levels()
533 size += sysfs_emit_at(buf, size, "1:%10uMhz\n", max); in renoir_print_clk_levels()
550 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in renoir_print_clk_levels()
552 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in renoir_print_clk_levels()
555 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in renoir_print_clk_levels()
602 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in renoir_print_clk_levels()
609 size += sysfs_emit_at(buf, size, " %uMhz *\n", cur_value); in renoir_print_clk_levels()
1124 size += sysfs_emit_at(buf, size, "%2d %14s%s\n", in renoir_get_power_profile_mode()
/Linux-v6.1/drivers/iio/pressure/
Dms5637.c47 len += sysfs_emit_at(buf, len, "%u ", ms5637_samp_freq[i]); in ms5637_show_samp_freq()
48 sysfs_emit_at(buf, len - 1, "\n"); in ms5637_show_samp_freq()
/Linux-v6.1/kernel/power/
Dwakelock.c49 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks()
52 len += sysfs_emit_at(buf, len, "\n"); in pm_show_wakelocks()
/Linux-v6.1/drivers/perf/
Darm-ccn.c333 res += sysfs_emit_at(buf, res, ",event=0x%x", event->event); in arm_ccn_pmu_event_show()
335 res += sysfs_emit_at(buf, res, ",%s", event->def); in arm_ccn_pmu_event_show()
337 res += sysfs_emit_at(buf, res, ",mask=0x%x", event->mask); in arm_ccn_pmu_event_show()
344 res += sysfs_emit_at(buf, res, ",xp=?,vc=?"); in arm_ccn_pmu_event_show()
346 res += sysfs_emit_at(buf, res, in arm_ccn_pmu_event_show()
349 res += sysfs_emit_at(buf, res, ",bus=?"); in arm_ccn_pmu_event_show()
353 res += sysfs_emit_at(buf, res, ",node=%d", ccn->mn_id); in arm_ccn_pmu_event_show()
356 res += sysfs_emit_at(buf, res, ",node=?"); in arm_ccn_pmu_event_show()
360 res += sysfs_emit_at(buf, res, "\n"); in arm_ccn_pmu_event_show()
/Linux-v6.1/drivers/perf/hisilicon/
Dhns3_pmu.c399 len = sysfs_emit_at(buf, 0, "filter mode supported: "); in hns3_pmu_filter_mode_show()
401 len += sysfs_emit_at(buf, len, "global "); in hns3_pmu_filter_mode_show()
403 len += sysfs_emit_at(buf, len, "port "); in hns3_pmu_filter_mode_show()
405 len += sysfs_emit_at(buf, len, "port-tc "); in hns3_pmu_filter_mode_show()
407 len += sysfs_emit_at(buf, len, "func "); in hns3_pmu_filter_mode_show()
409 len += sysfs_emit_at(buf, len, "func-queue "); in hns3_pmu_filter_mode_show()
411 len += sysfs_emit_at(buf, len, "func-intr "); in hns3_pmu_filter_mode_show()
413 len += sysfs_emit_at(buf, len, "\n"); in hns3_pmu_filter_mode_show()

123