Home
last modified time | relevance | path

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

123456

/linux/drivers/media/common/siano/
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/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/s390/crypto/
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/drivers/platform/x86/hp/hp-bioscfg/
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/drivers/memstick/core/
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/drivers/acpi/
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()
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/chrome/
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()
143 count += sysfs_emit_at(buf, count, "Firmware copy: %s\n", in version_show()
152 count += sysfs_emit_at(buf, count, in version_show()
157 count += sysfs_emit_at(buf, count, "Build info: %s\n", msg->data); in version_show()
165 count += sysfs_emit_at(buf, count, in version_show()
174 count += sysfs_emit_at(buf, count, "Chip vendor: %s\n", r_chip->vendor); in version_show()
175 count += sysfs_emit_at(buf, count, "Chip name: %s\n", r_chip->name); in version_show()
176 count += sysfs_emit_at(buf, count, "Chip revision: %s\n", r_chip->revision); in version_show()
184 count += sysfs_emit_at(buf, count, in version_show()
[all …]
/linux/drivers/target/iscsi/
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/drivers/cpufreq/
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/drivers/gpu/drm/amd/pm/swsmu/smu11/
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 …]
A Dnavi10_ppt.c1304 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1332 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1423 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1429 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1435 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1441 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1447 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1453 *offset += sysfs_emit_at(buf, *offset, in navi10_emit_clk_levels()
1566 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in navi10_print_clk_levels()
1575 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in navi10_print_clk_levels()
[all …]
A Dvangogh_ppt.c581 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in vangogh_print_legacy_clk_levels()
582 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
584 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
591 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels()
593 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels()
685 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_clk_levels()
687 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_clk_levels()
694 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_clk_levels()
696 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_clk_levels()
777 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in vangogh_print_clk_levels()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A Dsmu_v13_0_7_ppt.c1269 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v13_0_7_print_clk_levels()
1273 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v13_0_7_print_clk_levels()
1327 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in smu_v13_0_7_print_clk_levels()
1338 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v13_0_7_print_clk_levels()
1350 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v13_0_7_print_clk_levels()
1389 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1407 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1425 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
1443 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_7_print_clk_levels()
2384 size += sysfs_emit_at(buf, size, "\n"); in smu_v13_0_7_get_power_profile_mode()
[all …]
A Dsmu_v13_0_0_ppt.c1218 size += sysfs_emit_at(buf, size, "unavailable\n"); in smu_v13_0_0_print_clk_levels()
1280 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v13_0_0_print_clk_levels()
1284 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v13_0_0_print_clk_levels()
1338 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in smu_v13_0_0_print_clk_levels()
1349 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v13_0_0_print_clk_levels()
1361 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v13_0_0_print_clk_levels()
1400 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1418 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1436 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
1454 size += sysfs_emit_at(buf, size, "%d\n", in smu_v13_0_0_print_clk_levels()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
A Dsmu_v14_0_2_ppt.c1087 size += sysfs_emit_at(buf, size, "unavailable\n"); in smu_v14_0_2_print_clk_levels()
1149 size += sysfs_emit_at(buf, size, "0: %uMhz\n", in smu_v14_0_2_print_clk_levels()
1151 size += sysfs_emit_at(buf, size, "1: %uMhz *\n", in smu_v14_0_2_print_clk_levels()
1153 size += sysfs_emit_at(buf, size, "2: %uMhz\n", in smu_v14_0_2_print_clk_levels()
1224 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v14_0_2_print_clk_levels()
1236 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v14_0_2_print_clk_levels()
1275 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1293 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1311 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
1329 size += sysfs_emit_at(buf, size, "%d\n", in smu_v14_0_2_print_clk_levels()
[all …]
/linux/scripts/coccinelle/api/
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/drivers/infiniband/hw/usnic/
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/drivers/input/
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/drivers/infiniband/ulp/rtrs/
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/drivers/base/
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()
A 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()
525 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
532 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat()
542 len += sysfs_emit_at(buf, len, "%s %lu\n", node_stat_name(i), in node_read_vmstat()
564 len += sysfs_emit_at(buf, len, "%s%d", in node_read_distance()
568 len += sysfs_emit_at(buf, len, "\n"); in node_read_distance()
/linux/fs/f2fs/
A Dsysfs.c191 len += sysfs_emit_at(buf, len, "%s", in features_show()
194 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
197 len += sysfs_emit_at(buf, len, "%s%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()
232 len += sysfs_emit_at(buf, len, "%s%s", in features_show()
[all …]
/linux/drivers/platform/x86/dell/
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/drivers/iio/
A Dindustrialio-core.c524 len += sysfs_emit_at(buf, len, "%s ", e->items[i]); in iio_enum_available_read()
649 return sysfs_emit_at(buf, offset, "%d", vals[0]); in __iio_format_value()
655 return sysfs_emit_at(buf, offset, "-%d.%06u%s", in __iio_format_value()
663 return sysfs_emit_at(buf, offset, "-%d.%09u", in __iio_format_value()
674 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
682 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
690 l += sysfs_emit_at(buf, offset + l, "%d ", vals[i]); in __iio_format_value()
697 return sysfs_emit_at(buf, offset, "%lld", tmp2); in __iio_format_value()
725 return len + sysfs_emit_at(buf, len, "\n"); in iio_format_value()
797 len += sysfs_emit_at(buf, len, " "); in iio_format_list()
[all …]

Completed in 76 milliseconds

123456