Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/base/power/
A Dsysfs.c104 return sysfs_emit(buf, "%s\n", in control_show()
363 return sysfs_emit(buf, "\n"); in wakeup_count_show()
384 return sysfs_emit(buf, "\n"); in wakeup_active_count_show()
405 return sysfs_emit(buf, "\n"); in wakeup_abort_count_show()
426 return sysfs_emit(buf, "\n"); in wakeup_expire_count_show()
446 return sysfs_emit(buf, "\n"); in wakeup_active_show()
467 return sysfs_emit(buf, "\n"); in wakeup_total_time_ms_show()
487 return sysfs_emit(buf, "\n"); in wakeup_max_time_ms_show()
508 return sysfs_emit(buf, "\n"); in wakeup_last_time_ms_show()
538 return sysfs_emit(buf, "\n"); in wakeup_prevent_sleep_time_ms_show()
[all …]
A 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()
/linux/fs/nilfs2/
A Dsysfs.c98 return sysfs_emit(buf, "%llu\n", in nilfs_snapshot_inodes_count_show()
106 return sysfs_emit(buf, "%llu\n", in nilfs_snapshot_blocks_count_show()
309 return sysfs_emit(buf, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show()
451 return sysfs_emit(buf, "%llu\n", in nilfs_segctor_last_pseg_block_show()
508 return sysfs_emit(buf, "%llu\n", segnum); in nilfs_segctor_current_last_full_seg_show()
550 return sysfs_emit(buf, "%llu\n", cno); in nilfs_segctor_next_checkpoint_show()
578 return sysfs_emit(buf, "%llu\n", ctime); in nilfs_segctor_last_seg_write_time_secs_show()
802 return sysfs_emit(buf, sb_readme_str); in nilfs_superblock_README_show()
867 return sysfs_emit(buf, "%llu\n", in nilfs_dev_free_blocks_show()
906 return sysfs_emit(buf, dev_readme_str); in nilfs_dev_README_show()
[all …]
/linux/drivers/dma/idxd/
A Dsysfs.c28 return sysfs_emit(buf, "%d\n", -1); in engine_group_id_show()
438 return sysfs_emit(buf, "disabled\n"); in wq_state_show()
440 return sysfs_emit(buf, "enabled\n"); in wq_state_show()
443 return sysfs_emit(buf, "unknown\n"); in wq_state_show()
457 return sysfs_emit(buf, "-1\n"); in wq_group_id_show()
808 return sysfs_emit(buf, "%d\n", minor); in wq_cdev_minor_show()
942 return sysfs_emit(buf, "%u\n", occup); in wq_occupancy_show()
1112 return sysfs_emit(buf, "%d\n", count); in clients_show()
1134 return sysfs_emit(buf, "enabled\n"); in state_show()
1136 return sysfs_emit(buf, "halted\n"); in state_show()
[all …]
/linux/drivers/infiniband/ulp/rtrs/
A Drtrs-clt-sysfs.c55 return sysfs_emit(page, "%d\n", in max_reconnect_attempts_show()
99 return sysfs_emit(page, "round-robin (RR: %d)\n", in mpath_policy_show()
102 return sysfs_emit(page, "min-inflight (MI: %d)\n", in mpath_policy_show()
105 return sysfs_emit(page, "min-latency (ML: %d)\n", in mpath_policy_show()
108 return sysfs_emit(page, "Unknown (%d)\n", clt->mp_policy); in mpath_policy_show()
157 return sysfs_emit( in add_path_show()
204 return sysfs_emit(page, "connected\n"); in rtrs_clt_state_show()
206 return sysfs_emit(page, "disconnected\n"); in rtrs_clt_state_show()
340 return sysfs_emit(page, "%u\n", sess->hca_port); in rtrs_clt_hca_port_show()
354 return sysfs_emit(page, "%s\n", sess->hca_name); in rtrs_clt_hca_name_show()
[all …]
/linux/drivers/s390/block/
A Ddasd_devmap.c1036 len = sysfs_emit(buf, "%s\n", in dasd_discipline_show()
1042 len = sysfs_emit(buf, "none\n"); in dasd_discipline_show()
1059 len = sysfs_emit(buf, "new\n"); in dasd_device_status_show()
1065 len = sysfs_emit(buf, "basic\n"); in dasd_device_status_show()
1071 len = sysfs_emit(buf, "ready\n"); in dasd_device_status_show()
1419 rc = sysfs_emit(buf, "ignore\n"); in dasd_reservation_policy_show()
1423 rc = sysfs_emit(buf, "fail\n"); in dasd_reservation_policy_show()
1425 rc = sysfs_emit(buf, "ignore\n"); in dasd_reservation_policy_show()
1460 return sysfs_emit(buf, "none\n"); in dasd_reservation_state_show()
1465 rc = sysfs_emit(buf, "lost\n"); in dasd_reservation_state_show()
[all …]
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_sysfs.c60 return sysfs_emit(buf, "%u\n", subsystem_device_id); in board_id_show()
87 len = sysfs_emit(buf, "%s: %s:%d.%d, %s, %pM, %u VFs\n", in config_show()
109 len = sysfs_emit(buf, "%s: no VFs\n", in config_show()
125 return sysfs_emit(buf, "%s\n", netdev_name(us_ibdev->netdev)); in iface_show()
135 return sysfs_emit(buf, "%u\n", kref_read(&us_ibdev->vf_cnt)); in max_vf_show()
149 return sysfs_emit(buf, "%d\n", qp_per_vf); in qp_per_vf_show()
159 return sysfs_emit(buf, "%d\n", in cq_per_vf_show()
207 return sysfs_emit(buf, "0x%p\n", qp_grp->ctx); in context_show()
217 len = sysfs_emit(buf, "QPN: %d State: (%s) PID: %u VF Idx: %hu", in summary_show()
/linux/drivers/scsi/
A Dlibiscsi.c3509 len = sysfs_emit(buf, "%d\n", session->erl); in iscsi_session_get_param()
3518 len = sysfs_emit(buf, "%d\n", session->tpgt); in iscsi_session_get_param()
3575 len = sysfs_emit(buf, "%u\n", session->tsid); in iscsi_session_get_param()
3588 len = sysfs_emit(buf, "%s\n", in iscsi_session_get_param()
3591 len = sysfs_emit(buf, "\n"); in iscsi_session_get_param()
3632 len = sysfs_emit(buf, "%hu\n", in iscsi_conn_get_addr_param()
3663 len = sysfs_emit(buf, "%d\n", conn->hdrdgst_en); in iscsi_conn_get_param()
3675 len = sysfs_emit(buf, "%u\n", conn->exp_statsn); in iscsi_conn_get_param()
3684 len = sysfs_emit(buf, "%u\n", conn->statsn); in iscsi_conn_get_param()
3714 len = sysfs_emit(buf, "%u\n", conn->ipv4_tos); in iscsi_conn_get_param()
[all …]
/linux/drivers/scsi/ufs/
A Dufs-sysfs.c70 return sysfs_emit(buf, "%d\n", hba->rpm_lvl); in rpm_lvl_show()
355 return sysfs_emit(buf, "%llu\n", in read_total_busy_show()
384 return sysfs_emit(buf, "%llu\n", in read_req_latency_max_show()
394 return sysfs_emit(buf, "%llu\n", in read_req_latency_min_show()
404 return sysfs_emit(buf, "%llu\n", in read_req_latency_sum_show()
422 return sysfs_emit(buf, "%llu\n", in write_total_busy_show()
451 return sysfs_emit(buf, "%llu\n", in write_req_latency_max_show()
461 return sysfs_emit(buf, "%llu\n", in write_req_latency_min_show()
471 return sysfs_emit(buf, "%llu\n", in write_req_latency_sum_show()
550 ret = sysfs_emit(sysfs_buf, "0x%04X\n", in ufs_sysfs_read_desc_param()
[all …]
/linux/drivers/base/
A Dcpu.c160 return sysfs_emit(buf, "%llx\n", addr); in crash_notes_show()
231 return sysfs_emit(buf, "%d\n", NR_CPUS - 1); in print_cpus_kernel_max()
515 return sysfs_emit(buf, "Not affected\n"); in cpu_show_meltdown()
521 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spectre_v1()
527 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spectre_v2()
533 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spec_store_bypass()
539 return sysfs_emit(buf, "Not affected\n"); in cpu_show_l1tf()
545 return sysfs_emit(buf, "Not affected\n"); in cpu_show_mds()
552 return sysfs_emit(buf, "Not affected\n"); in cpu_show_tsx_async_abort()
558 return sysfs_emit(buf, "Not affected\n"); in cpu_show_itlb_multihit()
[all …]
/linux/drivers/acpi/
A Dacpi_configfs.c106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); in acpi_table_signature_show()
116 return sysfs_emit(str, "%d\n", h->length); in acpi_table_length_show()
126 return sysfs_emit(str, "%d\n", h->revision); in acpi_table_revision_show()
136 return sysfs_emit(str, "%.*s\n", ACPI_OEM_ID_SIZE, h->oem_id); in acpi_table_oem_id_show()
146 return sysfs_emit(str, "%.*s\n", ACPI_OEM_TABLE_ID_SIZE, h->oem_table_id); in acpi_table_oem_table_id_show()
156 return sysfs_emit(str, "%d\n", h->oem_revision); in acpi_table_oem_revision_show()
167 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->asl_compiler_id); in acpi_table_asl_compiler_id_show()
178 return sysfs_emit(str, "%d\n", h->asl_compiler_revision); in acpi_table_asl_compiler_revision_show()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vram_mgr.c142 return sysfs_emit(buf, "samsung\n"); in amdgpu_mem_info_vram_vendor()
144 return sysfs_emit(buf, "infineon\n"); in amdgpu_mem_info_vram_vendor()
146 return sysfs_emit(buf, "elpida\n"); in amdgpu_mem_info_vram_vendor()
148 return sysfs_emit(buf, "etron\n"); in amdgpu_mem_info_vram_vendor()
150 return sysfs_emit(buf, "nanya\n"); in amdgpu_mem_info_vram_vendor()
152 return sysfs_emit(buf, "hynix\n"); in amdgpu_mem_info_vram_vendor()
154 return sysfs_emit(buf, "mosel\n"); in amdgpu_mem_info_vram_vendor()
156 return sysfs_emit(buf, "winbond\n"); in amdgpu_mem_info_vram_vendor()
158 return sysfs_emit(buf, "esmt\n"); in amdgpu_mem_info_vram_vendor()
160 return sysfs_emit(buf, "micron\n"); in amdgpu_mem_info_vram_vendor()
[all …]
/linux/drivers/infiniband/hw/qib/
A Dqib_sysfs.c460 return sysfs_emit(buf, "%llu\n", in rc_acks_show()
483 return sysfs_emit(buf, "%llu\n", in rc_qacks_show()
506 return sysfs_emit(buf, "%llu\n", in rc_delayed_comp_show()
583 return sysfs_emit(buf, "%s\n", dd->boardname); in hca_type_show()
592 return sysfs_emit(buf, "%s", (char *)ib_qib_version); in version_show()
604 return sysfs_emit(buf, "%s", dd->boardversion); in boardversion_show()
616 return sysfs_emit(buf, "%s", dd->lbus_info); in localbus_info_show()
630 return sysfs_emit(buf, "%u\n", in nctxts_show()
645 return sysfs_emit(buf, "%u\n", dd->freectxts); in nfreectxts_show()
658 return sysfs_emit(buf, ".%*s\n", size, dd->serial); in serial_show()
[all …]
/linux/drivers/block/rnbd/
A Drnbd-clt-sysfs.c232 return sysfs_emit(page, "init\n"); in state_show()
235 return sysfs_emit(page, "open\n"); in state_show()
238 return sysfs_emit(page, "closed\n"); in state_show()
240 return sysfs_emit(page, "unmapped\n"); in state_show()
242 return sysfs_emit(page, "unknown\n"); in state_show()
255 return sysfs_emit(page, "%d\n", dev->nr_poll_queues); in nr_poll_queues_show()
268 return sysfs_emit(page, "%s\n", dev->pathname); in mapping_path_show()
290 return sysfs_emit(page, "Usage: echo <normal|force> > %s\n", in rnbd_clt_unmap_dev_show()
361 return sysfs_emit(page, "Usage: echo <new size in sectors> > %s\n", in rnbd_clt_resize_dev_show()
438 return sysfs_emit(page, "%s\n", dev->sess->sessname); in session_show()
[all …]
/linux/fs/xfs/
A Dxfs_sysfs.c108 return sysfs_emit(buf, "%d\n", xfs_globals.bug_on_assert); in bug_on_assert_show()
168 return sysfs_emit(buf, "%d\n", xfs_globals.mount_delay); in mount_delay_show()
191 return sysfs_emit(buf, "%d\n", xfs_globals.always_cow); in always_cow_show()
227 return sysfs_emit(buf, "%d\n", xfs_globals.pwork_threads); in pwork_threads_show()
330 return sysfs_emit(buf, "%d:%d\n", cycle, block); in log_head_lsn_show()
344 return sysfs_emit(buf, "%d:%d\n", cycle, block); in log_tail_lsn_show()
359 return sysfs_emit(buf, "%d:%d\n", cycle, bytes); in reserve_grant_head_show()
373 return sysfs_emit(buf, "%d:%d\n", cycle, bytes); in write_grant_head_show()
428 return sysfs_emit(buf, "%d\n", retries); in max_retries_show()
469 return sysfs_emit(buf, "%d\n", timeout); in retry_timeout_seconds_show()
[all …]
/linux/drivers/hwmon/pmbus/
A Dinspur-ipsps.c73 return sysfs_emit(buf, "%s\n", data); in ipsps_string_show()
94 return sysfs_emit(buf, "%u.%02u%u-%u.%02u\n", in ipsps_fw_version_show()
114 return sysfs_emit(buf, "[%s] %s %s\n", in ipsps_mode_show()
118 return sysfs_emit(buf, "%s [%s] %s\n", in ipsps_mode_show()
122 return sysfs_emit(buf, "%s %s [%s]\n", in ipsps_mode_show()
126 return sysfs_emit(buf, "unspecified\n"); in ipsps_mode_show()
/linux/drivers/gpu/drm/i915/
A Di915_sysfs.c74 return sysfs_emit(buf, "%x\n", mask); in rc6_enable_show()
82 return sysfs_emit(buf, "%u\n", rc6_residency); in rc6_residency_ms_show()
90 return sysfs_emit(buf, "%u\n", rc6p_residency); in rc6p_residency_ms_show()
98 return sysfs_emit(buf, "%u\n", rc6pp_residency); in rc6pp_residency_ms_show()
106 return sysfs_emit(buf, "%u\n", rc6_residency); in media_rc6_residency_ms_show()
265 return sysfs_emit(buf, "%d\n", intel_rps_read_actual_frequency(rps)); in gt_act_freq_mhz_show()
274 return sysfs_emit(buf, "%d\n", intel_rps_get_requested_frequency(rps)); in gt_cur_freq_mhz_show()
282 return sysfs_emit(buf, "%d\n", intel_gpu_freq(rps, rps->boost_freq)); in gt_boost_freq_mhz_show()
331 return sysfs_emit(buf, "%d\n", intel_rps_get_max_frequency(rps)); in gt_max_freq_mhz_show()
359 return sysfs_emit(buf, "%d\n", intel_rps_get_min_frequency(rps)); in gt_min_freq_mhz_show()
[all …]
/linux/drivers/hwmon/occ/
A Dcommon.c260 return sysfs_emit(buf, "%u\n", val); in occ_show_temp_1()
311 return sysfs_emit(buf, "%u\n", val); in occ_show_temp_2()
358 return sysfs_emit(buf, "%u\n", val); in occ_show_temp_10()
388 return sysfs_emit(buf, "%u\n", val); in occ_show_freq_1()
418 return sysfs_emit(buf, "%u\n", val); in occ_show_freq_2()
539 return sysfs_emit(buf, "%u_proc\n", in occ_show_power_a0()
553 return sysfs_emit(buf, "%u_vdd\n", in occ_show_power_a0()
567 return sysfs_emit(buf, "%u_vdn\n", in occ_show_power_a0()
605 return sysfs_emit(buf, "system\n"); in occ_show_caps_1_2()
655 return sysfs_emit(buf, "system\n"); in occ_show_caps_3()
[all …]
/linux/drivers/infiniband/core/
A Dsysfs.c249 return sysfs_emit(buf, "0x%x\n", attr.lid); in lid_show()
262 return sysfs_emit(buf, "%u\n", attr.lmc); in lid_mask_count_show()
288 return sysfs_emit(buf, "%u\n", attr.sm_sl); in sm_sl_show()
411 return sysfs_emit(buf, "%s\n", output); in link_layer_show()
445 ret = sysfs_emit(buf, "%s\n", ndev->name); in print_ndev()
452 return sysfs_emit(buf, "%s\n", in print_gid_type()
532 return sysfs_emit(buf, "0x%04x\n", pkey); in show_port_pkey()
615 len = sysfs_emit(buf, "%d\n", in show_pma_counter()
619 len = sysfs_emit(buf, "%u\n", *data); in show_pma_counter()
861 return sysfs_emit(buf, "%d\n", msecs); in show_stats_lifespan()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dsysfs.c110 return sysfs_emit(buf, "%s\n", ppd->cc_prescan ? "on" : "off"); in cc_prescan_show()
153 return sysfs_emit(buf, "%u\n", *((u8 *)dd->sc2vl + sattr->sc)); in sc2vl_attr_show()
251 return sysfs_emit(buf, "%u\n", ibp->sl_to_sc[sattr->sl]); in sl2sc_attr_show()
349 return sysfs_emit(buf, "%u\n", dd->vld[vlattr->vl].mtu); in vl2mtu_attr_show()
412 return sysfs_emit(buf, "%x\n", dd_from_dev(dev)->minrev); in hw_rev_show()
426 return sysfs_emit(buf, "%s\n", dd->boardname); in board_id_show()
438 return sysfs_emit(buf, "%s", dd->boardversion); in boardversion_show()
455 return sysfs_emit(buf, "%u\n", in nctxts_show()
469 return sysfs_emit(buf, "%u\n", dd->freectxts); in nfreectxts_show()
481 return sysfs_emit(buf, "%s", dd->serial); in serial_show()
[all …]
/linux/fs/btrfs/
A Dsysfs.c180 return sysfs_emit(buf, "%d\n", val); in btrfs_feature_attr_show()
333 return sysfs_emit(buf, "0\n"); in rmdir_subvol_show()
439 return sysfs_emit(buf, "%lld\n", in btrfs_discardable_bytes_show()
450 return sysfs_emit(buf, "%d\n", in btrfs_discardable_extents_show()
461 return sysfs_emit(buf, "%llu\n", in btrfs_discard_bitmap_bytes_show()
472 return sysfs_emit(buf, "%lld\n", in btrfs_discard_bytes_saved_show()
483 return sysfs_emit(buf, "%llu\n", in btrfs_discard_extent_bytes_show()
494 return sysfs_emit(buf, "%u\n", in btrfs_discard_iops_limit_show()
525 return sysfs_emit(buf, "%u\n", in btrfs_discard_kbps_limit_show()
555 return sysfs_emit(buf, "%llu\n", in btrfs_discard_max_discard_size_show()
[all …]
/linux/drivers/input/tablet/
A Daiptek.c1039 return sysfs_emit(buf, "%dx%d\n", in show_tabletSize()
1144 return sysfs_emit(buf, "%s\n", map_val_to_str(tool_mode_map, in show_tabletToolMode()
1174 return sysfs_emit(buf, "disable\n"); in show_tabletXtilt()
1176 return sysfs_emit(buf, "%d\n", aiptek->curSetting.xTilt); in show_tabletXtilt()
1215 return sysfs_emit(buf, "disable\n"); in show_tabletYtilt()
1217 return sysfs_emit(buf, "%d\n", aiptek->curSetting.yTilt); in show_tabletYtilt()
1313 return sysfs_emit(buf, "%ld\n", aiptek->eventCount); in show_tabletEventsReceived()
1352 return sysfs_emit(buf, retMsg); in show_tabletDiagnosticMessage()
1527 return sysfs_emit(buf, "disable\n"); in show_tabletWheel()
1529 return sysfs_emit(buf, "%d\n", aiptek->curSetting.wheel); in show_tabletWheel()
[all …]
/linux/drivers/pci/
A Dpci-sysfs.c43 return sysfs_emit(buf, format_string, pdev->field); \
68 return sysfs_emit(buf, "%u\n", desc->irq); in irq_show()
72 return sysfs_emit(buf, "%u\n", pdev->irq); in irq_show()
192 return sysfs_emit(buf, "%s\n", in max_link_speed_show()
235 return sysfs_emit(buf, "%u\n", in current_link_width_show()
252 return sysfs_emit(buf, "%u\n", sec_bus); in secondary_bus_number_show()
268 return sysfs_emit(buf, "%u\n", sub_bus); in subordinate_bus_number_show()
364 return sysfs_emit(buf, "%d\n", dev->numa_node); in numa_node_show()
392 return sysfs_emit(buf, "%u\n", subordinate ? in msi_bus_show()
563 return sysfs_emit(buf, "%pOF\n", np); in devspec_show()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
A Dsysfs.c17 return sysfs_emit(buf, "%d\n", get); \
44 return sysfs_emit(buf, "%d\n", get); \
67 return sysfs_emit(buf, "%d\n", ATH5K_ANI_MAX_NOISE_IMM_LVL); in ath5k_attr_show_noise_immunity_level_max()
76 return sysfs_emit(buf, "%d\n", ATH5K_ANI_MAX_FIRSTEP_LVL); in ath5k_attr_show_firstep_level_max()
/linux/drivers/gpu/drm/amd/pm/
A Damdgpu_pm.c149 return sysfs_emit(buf, "%s\n", in amdgpu_get_power_dpm_state()
291 return sysfs_emit(buf, "%s\n", in amdgpu_get_power_dpm_force_performance_level()
489 return sysfs_emit(buf, "%d\n", i); in amdgpu_get_pp_cur_state()
507 return sysfs_emit(buf, "\n"); in amdgpu_get_pp_force_state()
929 size = sysfs_emit(buf, "\n"); in amdgpu_get_pp_od_clk_voltage()
1015 size = sysfs_emit(buf, "\n"); in amdgpu_get_pp_features()
1076 size = sysfs_emit(buf, "\n"); in amdgpu_get_pp_dpm_clock()
1475 size = sysfs_emit(buf, "\n"); in amdgpu_get_pp_power_profile_mode()
2945 size = sysfs_emit(buf, "\n"); in amdgpu_hwmon_show_power_cap_generic()
2984 return sysfs_emit(buf, "%s\n", in amdgpu_hwmon_show_power_label()
[all …]

Completed in 88 milliseconds

1234567891011