Home
last modified time | relevance | path

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

123

/linux/drivers/pci/hotplug/
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/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dcyan_skillfish_ppt.c321 size += sysfs_emit_at(buf, size,"%s:\n", "OD_SCLK"); in cyan_skillfish_print_clk_levels()
322 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
328 size += sysfs_emit_at(buf, size,"%s:\n", "OD_VDDC"); in cyan_skillfish_print_clk_levels()
329 size += sysfs_emit_at(buf, size, "0: %umV *\n", cur_value); in cyan_skillfish_print_clk_levels()
332 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in cyan_skillfish_print_clk_levels()
333 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in cyan_skillfish_print_clk_levels()
335 size += sysfs_emit_at(buf, size, "VDDC: %7umV %10umV\n", in cyan_skillfish_print_clk_levels()
346 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
359 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", CYAN_SKILLFISH_SCLK_MIN, in cyan_skillfish_print_clk_levels()
361 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in cyan_skillfish_print_clk_levels()
[all …]
A Dvangogh_ppt.c597 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in vangogh_print_legacy_clk_levels()
598 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
600 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
607 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
609 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
700 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_clk_levels()
702 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_clk_levels()
709 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_clk_levels()
711 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_clk_levels()
791 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in vangogh_print_clk_levels()
[all …]
A Dnavi10_ppt.c1308 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in navi10_print_clk_levels()
1339 size += sysfs_emit_at(buf, size, "%d: %s %s %dMhz %s\n", i, in navi10_print_clk_levels()
1360 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in navi10_print_clk_levels()
1361 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMhz\n", in navi10_print_clk_levels()
1369 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in navi10_print_clk_levels()
1377 size += sysfs_emit_at(buf, size, "OD_VDDC_CURVE:\n"); in navi10_print_clk_levels()
1392 size += sysfs_emit_at(buf, size, "%d: %uMHz %umV\n", in navi10_print_clk_levels()
1400 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in navi10_print_clk_levels()
1407 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in navi10_print_clk_levels()
1414 size += sysfs_emit_at(buf, size, "MCLK: %7uMhz %10uMhz\n", in navi10_print_clk_levels()
[all …]
A Darcturus_ppt.c791 size += sysfs_emit_at(buf, size, "unavailable\n"); in arcturus_print_clk_levels()
817 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, in arcturus_print_clk_levels()
840 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
863 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
886 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
909 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
932 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in arcturus_print_clk_levels()
943 size += sysfs_emit_at(buf, size, "0: %s %s %dMhz *\n", in arcturus_print_clk_levels()
1425 size += sysfs_emit_at(buf, size, "%16s %s %s %s %s %s %s %s %s %s %s\n", in arcturus_get_power_profile_mode()
1429 size += sysfs_emit_at(buf, size, "%16s\n", in arcturus_get_power_profile_mode()
[all …]
A Dsienna_cichlid_ppt.c1046 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in sienna_cichlid_print_clk_levels()
1068 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, freq_values[i], in sienna_cichlid_print_clk_levels()
1079 size += sysfs_emit_at(buf, size, "%d: %s %s %dMhz %s\n", i, in sienna_cichlid_print_clk_levels()
1102 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in sienna_cichlid_print_clk_levels()
1113 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in sienna_cichlid_print_clk_levels()
1130 size += sysfs_emit_at(buf, size, "OD_VDDGFX_OFFSET:\n"); in sienna_cichlid_print_clk_levels()
1131 size += sysfs_emit_at(buf, size, "%dmV\n", od_table->VddGfxOffset); in sienna_cichlid_print_clk_levels()
1138 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in sienna_cichlid_print_clk_levels()
1145 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in sienna_cichlid_print_clk_levels()
1154 size += sysfs_emit_at(buf, size, "MCLK: %7uMhz %10uMhz\n", in sienna_cichlid_print_clk_levels()
[all …]
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_sysfs.c96 len += sysfs_emit_at(buf, len, " Per VF:"); in config_show()
101 len += sysfs_emit_at(buf, len, "%s %d %s", in config_show()
107 len += sysfs_emit_at(buf, len, "\n"); in config_show()
227 len += sysfs_emit_at(buf, len, " %s[%d]", in summary_show()
233 len += sysfs_emit_at(buf, len, "\n"); in summary_show()
/linux/drivers/base/
A 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()
A Dnode.c385 len = sysfs_emit_at(buf, len, in node_read_meminfo()
414 len += sysfs_emit_at(buf, len, in node_read_meminfo()
424 len += sysfs_emit_at(buf, len, in node_read_meminfo()
515 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
522 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
532 len += sysfs_emit_at(buf, len, "%s %lu\n", node_stat_name(i), in node_read_vmstat()
554 len += sysfs_emit_at(buf, len, "%s%d", in node_read_distance()
558 len += sysfs_emit_at(buf, len, "\n"); in node_read_distance()
A Dmemory.c394 return sysfs_emit_at(buf, len, " %s", zone->name); in print_allowed_zone()
421 len += sysfs_emit_at(buf, len, "%s", default_zone->name); in valid_zones_show()
428 len += sysfs_emit_at(buf, len, "%s", default_zone->name); in valid_zones_show()
434 len += sysfs_emit_at(buf, len, "\n"); in valid_zones_show()
/linux/drivers/infiniband/ulp/rtrs/
A Drtrs-clt-stats.c52 used += sysfs_emit_at(buf, used, "%d ", in rtrs_clt_stats_migration_from_cnt_to_str()
56 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_from_cnt_to_str()
71 used += sysfs_emit_at(buf, used, "%d ", s->cpu_migr.to); in rtrs_clt_stats_migration_to_cnt_to_str()
74 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_to_cnt_to_str()
A Drtrs-srv-sysfs.c105 return cnt + sysfs_emit_at(page, cnt, "\n"); in rtrs_srv_src_addr_show()
121 len += sysfs_emit_at(page, len, "\n"); in rtrs_srv_dst_addr_show()
A Drtrs-clt-sysfs.c385 len += sysfs_emit_at(page, len, "\n"); in rtrs_clt_src_addr_show()
402 len += sysfs_emit_at(page, len, "\n"); in rtrs_clt_dst_addr_show()
/linux/drivers/acpi/
A 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/drivers/platform/x86/dell/
A 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/drivers/iio/
A 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()
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()
684 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
692 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
700 l += sysfs_emit_at(buf, offset + l, "%d ", vals[i]); in __iio_format_value()
732 return len + sysfs_emit_at(buf, len, "\n"); in iio_format_value()
797 len += sysfs_emit_at(buf, len, " "); in iio_format_list()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A Dyellow_carp_ppt.c981 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in yellow_carp_print_clk_levels()
982 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in yellow_carp_print_clk_levels()
984 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in yellow_carp_print_clk_levels()
988 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in yellow_carp_print_clk_levels()
989 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in yellow_carp_print_clk_levels()
1010 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in yellow_carp_print_clk_levels()
1027 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in yellow_carp_print_clk_levels()
1029 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in yellow_carp_print_clk_levels()
1032 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in yellow_carp_print_clk_levels()
A Daldebaran_ppt.c739 size += sysfs_emit_at(buf, size, "unavailable\n"); in aldebaran_print_clk_levels()
748 size += sysfs_emit_at(buf, size, "%s:\n", "GFXCLK"); in aldebaran_print_clk_levels()
785 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, in aldebaran_print_clk_levels()
795 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, in aldebaran_print_clk_levels()
802 size += sysfs_emit_at(buf, size, "%s:\n", "MCLK"); in aldebaran_print_clk_levels()
819 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in aldebaran_print_clk_levels()
842 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in aldebaran_print_clk_levels()
865 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in aldebaran_print_clk_levels()
888 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in aldebaran_print_clk_levels()
911 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", in aldebaran_print_clk_levels()
/linux/drivers/soc/aspeed/
A 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/drivers/gpu/drm/amd/pm/swsmu/smu12/
A Drenoir_ppt.c515 size += sysfs_emit_at(buf, size, "OD_RANGE\nSCLK: %10uMhz %10uMhz\n", min, max); in renoir_print_clk_levels()
522 size += sysfs_emit_at(buf, size, "OD_SCLK\n"); in renoir_print_clk_levels()
523 size += sysfs_emit_at(buf, size, "0:%10uMhz\n", min); in renoir_print_clk_levels()
524 size += sysfs_emit_at(buf, size, "1:%10uMhz\n", max); in renoir_print_clk_levels()
541 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in renoir_print_clk_levels()
543 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in renoir_print_clk_levels()
546 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in renoir_print_clk_levels()
593 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in renoir_print_clk_levels()
600 size += sysfs_emit_at(buf, size, " %uMhz *\n", cur_value); in renoir_print_clk_levels()
1123 size += sysfs_emit_at(buf, size, "%2d %14s%s\n", in renoir_get_power_profile_mode()
/linux/drivers/iio/pressure/
A 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/drivers/dma/idxd/
A Dsysfs.c260 rc += sysfs_emit_at(buf, rc, "engine%d.%d ", idxd->id, engine->id); in group_engines_show()
266 rc += sysfs_emit_at(buf, rc, "\n"); in group_engines_show()
288 rc += sysfs_emit_at(buf, rc, "wq%d.%d ", idxd->id, wq->id); in group_work_queues_show()
294 rc += sysfs_emit_at(buf, rc, "\n"); in group_work_queues_show()
1072 rc += sysfs_emit_at(buf, rc, "%#llx ", idxd->hw.opcap.bits[i]); in op_cap_show()
1075 rc += sysfs_emit_at(buf, rc, "\n"); in op_cap_show()
1151 out += sysfs_emit_at(buf, out, "%#018llx ", idxd->sw_err.bits[i]); in errors_show()
1154 out += sysfs_emit_at(buf, out, "\n"); in errors_show()
/linux/drivers/perf/
A 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/drivers/gpu/drm/amd/pm/swsmu/
A Dsmu_cmn.c717 size = sysfs_emit_at(buf, size, "features high: 0x%08x low: 0x%08x\n", in smu_cmn_get_pp_feature_mask()
732 size += sysfs_emit_at(buf, size, "%-2s. %-20s %-3s : %-s\n", in smu_cmn_get_pp_feature_mask()
739 size += sysfs_emit_at(buf, size, "%02d. %-20s (%2d) : %s\n", in smu_cmn_get_pp_feature_mask()
/linux/drivers/watchdog/
A Dwatchdog_pretimeout.c59 count += sysfs_emit_at(buf, count, "%s\n", priv->gov->name); in watchdog_pretimeout_available_governors_get()

Completed in 91 milliseconds

123