| /linux/drivers/media/common/siano/ |
| H A D | smsdvb-debugfs.c | 48 n += sysfs_emit_at(buf, n, "is_rf_locked = %d\n", p->is_rf_locked); in smsdvb_print_dvb_stats() 49 n += sysfs_emit_at(buf, n, "is_demod_locked = %d\n", p->is_demod_locked); in smsdvb_print_dvb_stats() 50 n += sysfs_emit_at(buf, n, "is_external_lna_on = %d\n", p->is_external_lna_on); in smsdvb_print_dvb_stats() 51 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() 57 n += sysfs_emit_at(buf, n, "in_band_pwr = %d\n", p->in_band_pwr); in smsdvb_print_dvb_stats() [all …]
|
| /linux/drivers/pci/hotplug/ |
| H A D | shpchp_sysfs.c | 35 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/ |
| H A D | zcrypt_cex4.c | 125 n += sysfs_emit_at(buf, n, "AES NEW: %s 0x%016llx\n", in cca_mkvps_show() 129 n += sysfs_emit_at(buf, n, "AES NEW: - -\n"); in cca_mkvps_show() 132 n += sysfs_emit_at(buf, n, "AES CUR: %s 0x%016llx\n", in cca_mkvps_show() 136 n += sysfs_emit_at(buf, n, "AES CUR: - -\n"); in cca_mkvps_show() 139 n += sysfs_emit_at(buf, n, "AES OLD: %s 0x%016llx\n", in cca_mkvps_show() 143 n += sysfs_emit_at(buf, n, "AES OLD: - -\n"); in cca_mkvps_show() 146 n += sysfs_emit_at(buf, n, "APKA NEW: %s 0x%016llx\n", in cca_mkvps_show() 150 n += sysfs_emit_at(buf, n, "APKA NEW: - -\n"); in cca_mkvps_show() 153 n += sysfs_emit_at(buf, n, "APKA CUR: %s 0x%016llx\n", in cca_mkvps_show() 157 n += sysfs_emit_at(buf, n, "APKA CUR: - -\n"); in cca_mkvps_show() [all …]
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | spmobj-attributes.c | 168 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() 185 len += sysfs_emit_at(buf, len, "\t\"Nonce\": %d,\n", data.nonce); in status_show() 186 len += sysfs_emit_at(buf, len, "\t\"FeaturesInUse\": %d,\n", data.features); in status_show() 187 len += sysfs_emit_at(buf, len, "\t\"EndorsementKeyMod\": \""); 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() [all …]
|
| /linux/drivers/memstick/core/ |
| H A D | mspro_block.c | 263 rc += sysfs_emit_at(buffer, rc, "%02x ", in mspro_block_attr_show_default() 293 rc += sysfs_emit_at(buffer, rc, "class: %x\n", x_sys->class); in mspro_block_attr_show_sysinfo() 294 rc += sysfs_emit_at(buffer, rc, "block size: %x\n", be16_to_cpu(x_sys->block_size)); in mspro_block_attr_show_sysinfo() 295 rc += sysfs_emit_at(buffer, rc, "block count: %x\n", be16_to_cpu(x_sys->block_count)); in mspro_block_attr_show_sysinfo() 296 rc += sysfs_emit_at(buffer, rc, "user block count: %x\n", in mspro_block_attr_show_sysinfo() 298 rc += sysfs_emit_at(buffer, rc, "page size: %x\n", be16_to_cpu(x_sys->page_size)); in mspro_block_attr_show_sysinfo() 299 rc += sysfs_emit_at(buffer, rc, "assembly date: GMT%+d:%d %04u-%02u-%02u %02u:%02u:%02u\n", in mspro_block_attr_show_sysinfo() 305 rc += sysfs_emit_at(buffer, rc, "serial number: %x\n", be32_to_cpu(x_sys->serial_number)); in mspro_block_attr_show_sysinfo() 306 rc += sysfs_emit_at(buffer, rc, "assembly maker code: %x\n", x_sys->assembly_maker_code); in mspro_block_attr_show_sysinfo() 307 rc += sysfs_emit_at(buffer, rc, "assembly model code: %02x%02x%02x\n", in mspro_block_attr_show_sysinfo() [all …]
|
| /linux/drivers/acpi/ |
| H A D | fan_attr.c | 30 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()
|
| H A D | sysfs.c | 701 size += sysfs_emit_at(buf, size, " EN"); in counter_show() 703 size += sysfs_emit_at(buf, size, " "); in counter_show() 705 size += sysfs_emit_at(buf, size, " STS"); in counter_show() 707 size += sysfs_emit_at(buf, size, " "); in counter_show() 710 size += sysfs_emit_at(buf, size, " invalid "); in counter_show() 712 size += sysfs_emit_at(buf, size, " enabled "); in counter_show() 714 size += sysfs_emit_at(buf, size, " wake_enabled"); in counter_show() 716 size += sysfs_emit_at(buf, size, " disabled "); in counter_show() 718 size += sysfs_emit_at(buf, size, " masked "); in counter_show() 720 size += sysfs_emit_at(buf, size, " unmasked"); in counter_show() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | cpufreq_stats.c | 131 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/ |
| H A D | cyan_skillfish_ppt.c | 306 size += sysfs_emit_at(buf, size,"%s:\n", "OD_SCLK"); in cyan_skillfish_emit_clk_levels() 307 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_emit_clk_levels() 313 size += sysfs_emit_at(buf, size,"%s:\n", "OD_VDDC"); in cyan_skillfish_emit_clk_levels() 314 size += sysfs_emit_at(buf, size, "0: %umV *\n", cur_value); in cyan_skillfish_emit_clk_levels() 317 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in cyan_skillfish_emit_clk_levels() 318 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in cyan_skillfish_emit_clk_levels() 320 size += sysfs_emit_at(buf, size, "VDDC: %7umV %10umV\n", in cyan_skillfish_emit_clk_levels() 331 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_emit_clk_levels() 344 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", CYAN_SKILLFISH_SCLK_MIN, in cyan_skillfish_emit_clk_levels() 346 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in cyan_skillfish_emit_clk_levels() [all …]
|
| H A D | vangogh_ppt.c | 586 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in vangogh_emit_legacy_clk_levels() 587 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_emit_legacy_clk_levels() 589 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_emit_legacy_clk_levels() 595 size += sysfs_emit_at(buf, size, "CCLK_RANGE in Core%d:\n", smu->cpu_core_id_select); in vangogh_emit_legacy_clk_levels() 596 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_emit_legacy_clk_levels() 598 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_emit_legacy_clk_levels() 604 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in vangogh_emit_legacy_clk_levels() 605 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in vangogh_emit_legacy_clk_levels() 607 size += sysfs_emit_at(buf, size, "CCLK: %7uMhz %10uMhz\n", in vangogh_emit_legacy_clk_levels() 651 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in vangogh_emit_legacy_clk_levels() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | smu_v13_0_7_ppt.c | 1226 sysfs_emit_at(buf, size, "unavailable\n"); in smu_v13_0_7_emit_clk_levels() 1277 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in smu_v13_0_7_emit_clk_levels() 1278 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMhz\n", in smu_v13_0_7_emit_clk_levels() 1288 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v13_0_7_emit_clk_levels() 1289 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMHz\n", in smu_v13_0_7_emit_clk_levels() 1299 size += sysfs_emit_at(buf, size, "OD_VDDGFX_OFFSET:\n"); in smu_v13_0_7_emit_clk_levels() 1300 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v13_0_7_emit_clk_levels() 1309 size += sysfs_emit_at(buf, size, "OD_FAN_CURVE:\n"); in smu_v13_0_7_emit_clk_levels() 1311 size += sysfs_emit_at(buf, size, "%d: %dC %d%%\n", in smu_v13_0_7_emit_clk_levels() 1316 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v13_0_7_emit_clk_levels() [all …]
|
| H A D | smu_v13_0_0_ppt.c | 1216 sysfs_emit_at(buf, size, "unavailable\n"); in smu_v13_0_0_emit_clk_levels() 1267 size += sysfs_emit_at(buf, size, "OD_SCLK:\n"); in smu_v13_0_0_emit_clk_levels() 1268 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMhz\n", in smu_v13_0_0_emit_clk_levels() 1278 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v13_0_0_emit_clk_levels() 1279 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMHz\n", in smu_v13_0_0_emit_clk_levels() 1289 size += sysfs_emit_at(buf, size, "OD_VDDGFX_OFFSET:\n"); in smu_v13_0_0_emit_clk_levels() 1290 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v13_0_0_emit_clk_levels() 1299 size += sysfs_emit_at(buf, size, "OD_FAN_CURVE:\n"); in smu_v13_0_0_emit_clk_levels() 1301 size += sysfs_emit_at(buf, size, "%d: %dC %d%%\n", in smu_v13_0_0_emit_clk_levels() 1306 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v13_0_0_emit_clk_levels() [all …]
|
| H A D | smu_v13_0_5_ppt.c | 877 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in smu_v13_0_5_emit_clk_levels() 878 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in smu_v13_0_5_emit_clk_levels() 880 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in smu_v13_0_5_emit_clk_levels() 884 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v13_0_5_emit_clk_levels() 885 size += sysfs_emit_at(buf, size, "SCLK: %7uMhz %10uMhz\n", in smu_v13_0_5_emit_clk_levels() 906 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in smu_v13_0_5_emit_clk_levels() 923 size += sysfs_emit_at(buf, size, "0: %uMhz %s\n", min, in smu_v13_0_5_emit_clk_levels() 925 size += sysfs_emit_at(buf, size, "1: %uMhz %s\n", in smu_v13_0_5_emit_clk_levels() 928 size += sysfs_emit_at(buf, size, "2: %uMhz %s\n", max, in smu_v13_0_5_emit_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H A D | smu_v14_0_2_ppt.c | 1045 sysfs_emit_at(buf, size, "unavailable\n"); in smu_v14_0_2_emit_clk_levels() 1097 size += sysfs_emit_at(buf, size, "OD_SCLK_OFFSET:\n"); in smu_v14_0_2_emit_clk_levels() 1098 size += sysfs_emit_at(buf, size, "%dMhz\n", in smu_v14_0_2_emit_clk_levels() 1107 size += sysfs_emit_at(buf, size, "OD_MCLK:\n"); in smu_v14_0_2_emit_clk_levels() 1108 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMHz\n", in smu_v14_0_2_emit_clk_levels() 1118 size += sysfs_emit_at(buf, size, "OD_VDDGFX_OFFSET:\n"); in smu_v14_0_2_emit_clk_levels() 1119 size += sysfs_emit_at(buf, size, "%dmV\n", in smu_v14_0_2_emit_clk_levels() 1128 size += sysfs_emit_at(buf, size, "OD_FAN_CURVE:\n"); in smu_v14_0_2_emit_clk_levels() 1130 size += sysfs_emit_at(buf, size, "%d: %dC %d%%\n", in smu_v14_0_2_emit_clk_levels() 1135 size += sysfs_emit_at(buf, size, "%s:\n", "OD_RANGE"); in smu_v14_0_2_emit_clk_levels() [all …]
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_ib_sysfs.c | 95 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/scripts/coccinelle/api/ |
| H A D | device_attr_show.cocci | 4 /// 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/ulp/rtrs/ |
| H A D | rtrs-clt-stats.c | 48 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/ |
| H A D | cpu.c | 257 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() 366 len += sysfs_emit_at(buf, len, in print_cpu_modalias() 376 len += sysfs_emit_at(buf, len, ",%04X", i); in print_cpu_modalias() 378 len += sysfs_emit_at(buf, len, "\n"); in print_cpu_modalias()
|
| H A D | node.c | 457 len = sysfs_emit_at(buf, len, in node_read_meminfo() 486 len += sysfs_emit_at(buf, len, in node_read_meminfo() 496 len += sysfs_emit_at(buf, len, in node_read_meminfo() 596 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat() 603 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat() 613 len += sysfs_emit_at(buf, len, "%s %lu\n", node_stat_name(i), in node_read_vmstat() 635 len += sysfs_emit_at(buf, len, "%s%d", in node_read_distance() 639 len += sysfs_emit_at(buf, len, "\n"); in node_read_distance()
|
| /linux/drivers/input/ |
| H A D | vivaldi-fmap.c | 30 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/iio/ |
| H A D | industrialio-core.c | 537 len += sysfs_emit_at(buf, len, "%s ", e->items[i]); in iio_enum_available_read() 662 return sysfs_emit_at(buf, offset, "%d", vals[0]); in __iio_format_value() 668 return sysfs_emit_at(buf, offset, "-%d.%06u%s", in __iio_format_value() 672 return sysfs_emit_at(buf, offset, "%d.%06u%s", vals[0], in __iio_format_value() 676 return sysfs_emit_at(buf, offset, "-%d.%09u", in __iio_format_value() 679 return sysfs_emit_at(buf, offset, "%d.%09u", vals[0], in __iio_format_value() 685 return sysfs_emit_at(buf, offset, "-0.%09u", abs(tmp1)); in __iio_format_value() 687 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value() 693 return sysfs_emit_at(buf, offset, "-0.%09u", abs(tmp1)); in __iio_format_value() 695 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value() [all …]
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-privacy.c | 148 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/block/zram/ |
| H A D | zcomp.c | 99 at += sysfs_emit_at(buf, at, "[%s] ", in zcomp_available_show() 102 at += sysfs_emit_at(buf, at, "%s ", backends[i]->name); in zcomp_available_show() 106 at += sysfs_emit_at(buf, at, "\n"); in zcomp_available_show()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega20_hwmgr.c | 3261 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega20_get_ppfeature_status() 3262 size += sysfs_emit_at(buf, size, "%-19s %-22s %s\n", in vega20_get_ppfeature_status() 3267 size += sysfs_emit_at(buf, size, "%-19s 0x%016llx %6s\n", in vega20_get_ppfeature_status() 3391 size += sysfs_emit_at(buf, size, in vega20_emit_clock_levels() 3398 size += sysfs_emit_at( in vega20_emit_clock_levels() 3413 size += sysfs_emit_at(buf, size, in vega20_emit_clock_levels() 3420 size += sysfs_emit_at( in vega20_emit_clock_levels() 3435 size += sysfs_emit_at(buf, size, in vega20_emit_clock_levels() 3442 size += sysfs_emit_at( in vega20_emit_clock_levels() 3457 size += sysfs_emit_at( in vega20_emit_clock_levels() [all …]
|
| /linux/drivers/net/bonding/ |
| H A D | bond_sysfs.c | 50 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() 180 res += sysfs_emit_at(buf, res, "++more++ "); in bonding_show_slaves() 183 res += sysfs_emit_at(buf, res, "%s ", slave->dev->name); in bonding_show_slaves() 294 res += sysfs_emit_at(buf, res, "%pI4 ", in bonding_show_arp_targets() 633 res += sysfs_emit_at(buf, res, "++more++ "); in bonding_show_queue_id() 636 res += sysfs_emit_at(buf, res, "%s:%d ", in bonding_show_queue_id()
|