Home
last modified time | relevance | path

Searched refs:sysfs_emit (Results 1 – 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/base/power/
Dsysfs.c104 return sysfs_emit(buf, "%s\n", in control_show()
132 return sysfs_emit(buf, "%llu\n", tmp); in runtime_active_time_show()
145 return sysfs_emit(buf, "%llu\n", tmp); in runtime_suspended_time_show()
177 return sysfs_emit(buf, "%s\n", output); in runtime_status_show()
189 return sysfs_emit(buf, "%d\n", dev->power.autosuspend_delay); in autosuspend_delay_ms_show()
218 return sysfs_emit(buf, "n/a\n"); in pm_qos_resume_latency_us_show()
222 return sysfs_emit(buf, "%d\n", value); in pm_qos_resume_latency_us_show()
262 return sysfs_emit(buf, "%s\n", "auto"); in pm_qos_latency_tolerance_us_show()
264 return sysfs_emit(buf, "%s\n", "any"); in pm_qos_latency_tolerance_us_show()
266 return sysfs_emit(buf, "%d\n", value); in pm_qos_latency_tolerance_us_show()
[all …]
Dwakeup_stats.c29 return sysfs_emit(buf, "%lu\n", ws->_name); \
45 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show()
61 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
78 return sysfs_emit(buf, "%lld\n", ktime_to_ms(max_time)); in max_time_ms_show()
87 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show()
96 return sysfs_emit(buf, "%s\n", ws->name); in name_show()
112 return sysfs_emit(buf, "%lld\n", ktime_to_ms(prevent_sleep_time)); in prevent_suspend_time_ms_show()
/kernel/linux/linux-5.10/drivers/base/
Dcpu.c160 return sysfs_emit(buf, "%llx\n", addr); in crash_notes_show()
168 return sysfs_emit(buf, "%zu\n", sizeof(note_buf_t)); in crash_notes_size_show()
192 rc = sysfs_emit(buf, "%d\n", isolated); in isolate_show()
266 return sysfs_emit(buf, "%d\n", NR_CPUS - 1); in print_cpus_kernel_max()
314 len = sysfs_emit(buf, "%*pbl\n", cpumask_pr_args(isolated)); in print_cpus_isolated()
326 return sysfs_emit(buf, "%*pbl\n", cpumask_pr_args(tick_nohz_full_mask)); in print_cpus_nohz_full()
555 return sysfs_emit(buf, "Not affected\n"); in cpu_show_meltdown()
561 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spectre_v1()
567 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spectre_v2()
573 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spec_store_bypass()
[all …]
Dcacheinfo.c365 return sysfs_emit(buf, "%u\n", this_leaf->object); \
380 return sysfs_emit(buf, "%uK\n", this_leaf->size >> 10); in size_show()
389 return sysfs_emit(buf, "%*pb\n", nr_cpu_ids, mask); in shared_cpu_map_show()
398 return sysfs_emit(buf, "%*pbl\n", nr_cpu_ids, mask); in shared_cpu_list_show()
421 return sysfs_emit(buf, "%s\n", output); in type_show()
440 return sysfs_emit(buf, "%s\n", output); in allocation_policy_show()
451 n = sysfs_emit(buf, "WriteThrough\n"); in write_policy_show()
453 n = sysfs_emit(buf, "WriteBack\n"); in write_policy_show()
Dmemory.c123 return sysfs_emit(buf, "%08lx\n", phys_index); in phys_index_show()
133 return sysfs_emit(buf, "%d\n", (int)IS_ENABLED(CONFIG_MEMORY_HOTREMOVE)); in removable_show()
161 return sysfs_emit(buf, "ERROR-UNKNOWN-%ld\n", mem->state); in state_show()
164 return sysfs_emit(buf, "%s\n", output); in state_show()
305 return sysfs_emit(buf, "%d\n", in phys_device_show()
345 return sysfs_emit(buf, "%s\n", "none"); in valid_zones_show()
377 return sysfs_emit(buf, "%lx\n", memory_block_size_bytes()); in block_size_bytes_show()
389 return sysfs_emit(buf, "%s\n", in auto_online_blocks_show()
Dnode.c165 return sysfs_emit(buf, "%u\n", \
233 return sysfs_emit(buf, fmt "\n", \
484 return sysfs_emit(buf, in node_read_numastat()
1002 return sysfs_emit(buf, "%*pbl\n", in show_node_state()
Dtopology.c21 return sysfs_emit(buf, "%d\n", topology_##name(dev->id)); \
Dsoc.c86 return sysfs_emit(buf, "%s\n", output); in soc_info_show()
Dplatform.c1040 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show()
1085 len = sysfs_emit(buf, "%s\n", pdev->driver_override); in driver_override_show()
1095 return sysfs_emit(buf, "%d\n", dev_to_node(dev)); in numa_node_show()
Dcore.c295 return sysfs_emit(buf, "%s\n", output); in status_show()
312 return sysfs_emit(buf, "%s\n", output); in auto_remove_on_show()
321 return sysfs_emit(buf, "%d\n", !!(link->flags & DL_FLAG_PM_RUNTIME)); in runtime_pm_show()
330 return sysfs_emit(buf, "%d\n", in sync_state_only_show()
1100 return sysfs_emit(buf, "%u\n", val); in waiting_for_supplier_show()
1748 return sysfs_emit(buf, "%lx\n", *(unsigned long *)(ea->var)); in device_show_ulong()
1778 return sysfs_emit(buf, "%d\n", *(int *)(ea->var)); in device_show_int()
1799 return sysfs_emit(buf, "%d\n", *(bool *)(ea->var)); in device_show_bool()
2033 return sysfs_emit(buf, "%u\n", val); in online_show()
Ddevcoredump.c126 return sysfs_emit(buf, "%d\n", devcd_disabled); in disabled_show()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c3461 len = sysfs_emit(buf, "%d\n", session->fast_abort); in iscsi_session_get_param()
3464 len = sysfs_emit(buf, "%d\n", session->abort_timeout); in iscsi_session_get_param()
3467 len = sysfs_emit(buf, "%d\n", session->lu_reset_timeout); in iscsi_session_get_param()
3470 len = sysfs_emit(buf, "%d\n", session->tgt_reset_timeout); in iscsi_session_get_param()
3473 len = sysfs_emit(buf, "%d\n", session->initial_r2t_en); in iscsi_session_get_param()
3476 len = sysfs_emit(buf, "%hu\n", session->max_r2t); in iscsi_session_get_param()
3479 len = sysfs_emit(buf, "%d\n", session->imm_data_en); in iscsi_session_get_param()
3482 len = sysfs_emit(buf, "%u\n", session->first_burst); in iscsi_session_get_param()
3485 len = sysfs_emit(buf, "%u\n", session->max_burst); in iscsi_session_get_param()
3488 len = sysfs_emit(buf, "%d\n", session->pdu_inorder_en); in iscsi_session_get_param()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfad_attr.c714 return sysfs_emit(buf, "%s\n", serial_num); in bfad_im_serial_num_show()
728 return sysfs_emit(buf, "%s\n", model); in bfad_im_model_show()
808 return sysfs_emit(buf, "%s\n", model_descr); in bfad_im_model_desc_show()
822 return sysfs_emit(buf, "0x%llx\n", cpu_to_be64(nwwn)); in bfad_im_node_name_show()
839 return sysfs_emit(buf, "%s\n", symname); in bfad_im_symbolic_name_show()
853 return sysfs_emit(buf, "%s\n", hw_ver); in bfad_im_hw_version_show()
860 return sysfs_emit(buf, "%s\n", BFAD_DRIVER_VERSION); in bfad_im_drv_version_show()
874 return sysfs_emit(buf, "%s\n", optrom_ver); in bfad_im_optionrom_version_show()
888 return sysfs_emit(buf, "%s\n", fw_ver); in bfad_im_fw_version_show()
900 return sysfs_emit(buf, "%d\n", in bfad_im_num_of_ports_show()
[all …]
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-buf-sysfs-stats.c86 return sysfs_emit(buf, "%s\n", dmabuf->exp_name); in exporter_name_show()
93 return sysfs_emit(buf, "%zu\n", dmabuf->size); in size_show()
/kernel/linux/linux-5.10/kernel/sched/
Dcore_ctl.c101 return sysfs_emit(buf, "%u\n", state->min_cpus); in show_min_cpus()
122 return sysfs_emit(buf, "%u\n", state->max_cpus); in show_max_cpus()
145 return sysfs_emit(buf, "%u\n", state->enable); in show_enable()
150 return sysfs_emit(buf, "%u\n", state->need_cpus); in show_need_cpus()
155 return sysfs_emit(buf, "%u\n", state->active_cpus); in show_active_cpus()
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_sysfs.c16 return sysfs_emit(page, "%s\n", ptp->info->name); in clock_name_show()
230 return sysfs_emit(page, "%u %u\n", func, chan); in ptp_pin_show()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dcore.c2851 return sysfs_emit(buf, "%.*s\n", \
3384 return sysfs_emit(buf, "uuid.%pU\n", &ids->uuid); in wwid_show()
3387 return sysfs_emit(buf, "eui.%16phN\n", ids->nguid); in wwid_show()
3390 return sysfs_emit(buf, "eui.%8phN\n", ids->eui64); in wwid_show()
3399 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show()
3408 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
3423 return sysfs_emit(buf, "%pU\n", ids->nguid); in uuid_show()
3425 return sysfs_emit(buf, "%pU\n", &ids->uuid); in uuid_show()
3432 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
3439 return sysfs_emit(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show()
[all …]
Dmultipath.c627 return sysfs_emit(buf, "%s\n", in nvme_subsys_iopolicy_show()
653 return sysfs_emit(buf, "%d\n", nvme_get_ns_from_dev(dev)->ana_grpid); in ana_grpid_show()
662 return sysfs_emit(buf, "%s\n", nvme_ana_state_names[ns->ana_state]); in ana_state_show()
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
Dfallback.c126 return sysfs_emit(buf, "%d\n", __firmware_loading_timeout()); in timeout_show()
221 return sysfs_emit(buf, "%d\n", loading); in firmware_loading_show()
/kernel/linux/linux-5.10/include/linux/
Dsysfs.h333 int sysfs_emit(char *buf, const char *fmt, ...);
584 static inline int sysfs_emit(char *buf, const char *fmt, ...) in sysfs_emit() function
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c412 return sysfs_emit(buf, "%d\n", errors); in dsicm_num_errors_show()
442 return sysfs_emit(buf, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show()
490 return sysfs_emit(buf, "%u\n", t); in dsicm_show_ulps()
535 return sysfs_emit(buf, "%u\n", t); in dsicm_show_ulps_timeout()
Dpanel-tpo-td043mtea1.c172 return sysfs_emit(buf, "%d\n", ddata->vmirror); in tpo_td043_vmirror_show()
202 return sysfs_emit(buf, "%d\n", ddata->mode); in tpo_td043_mode_show()
/kernel/linux/linux-5.10/fs/sysfs/
Dfile.c721 int sysfs_emit(char *buf, const char *fmt, ...) in sysfs_emit() function
736 EXPORT_SYMBOL_GPL(sysfs_emit);
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dbugs.c2225 return sysfs_emit(buf, "Unknown: No mitigations\n"); in mmio_stale_data_show_state()
2228 return sysfs_emit(buf, "%s\n", mmio_strings[mmio_mitigation]); in mmio_stale_data_show_state()
2231 return sysfs_emit(buf, "%s; SMT Host state unknown\n", in mmio_stale_data_show_state()
2235 return sysfs_emit(buf, "%s; SMT %s\n", mmio_strings[mmio_mitigation], in mmio_stale_data_show_state()
/kernel/linux/linux-5.10/arch/s390/kernel/
Duv.c370 return sysfs_emit(buf, "%lx\n", uv_info.uv_feature_indications); in uv_query_feature_indications()

12