Home
last modified time | relevance | path

Searched refs:sysfs (Results 1 – 25 of 755) sorted by relevance

12345678910>>...31

/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt1 Chinese translated version of Documentation/filesystems/sysfs.rst
13 Documentation/filesystems/sysfs.rst 的中文翻译
27 sysfs - 用于导出内核对象(kobject)的文件系统
36 sysfs 简介:
39 sysfs 是一个最初基于 ramfs 且位于内存的文件系统。它提供导出内核
42 sysfs 始终与 kobject 的底层结构紧密相关。请阅读
47 使用 sysfs
50 只要内核配置中定义了 CONFIG_SYSFS ,sysfs 总是被编译进内核。你可
53 mount -t sysfs sysfs /sys
59 任何 kobject 在系统中注册,就会有一个目录在 sysfs 中被创建。这个
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-tty29 These sysfs values expose the TIOCGSERIAL interface via
30 sysfs rather than via ioctls.
38 These sysfs values expose the TIOCGSERIAL interface via
39 sysfs rather than via ioctls.
47 These sysfs values expose the TIOCGSERIAL interface via
48 sysfs rather than via ioctls.
56 These sysfs values expose the TIOCGSERIAL interface via
57 sysfs rather than via ioctls.
65 These sysfs values expose the TIOCGSERIAL interface via
66 sysfs rather than via ioctls.
[all …]
H A Dsysfs-bus-event_source-devices-hv_24x76 (See ABI/testing/sysfs-bus-event_source-devices-format).
41 also extractable from the provided binary "catalog" sysfs entry.
48 extractable from the provided binary "catalog" sysfs entry.
54 This sysfs interface exposes the number of sockets present in the
61 This sysfs interface exposes the number of chips per socket
68 This sysfs interface exposes the number of cores per chip
75 This sysfs file exposes the cpumask which is designated to make
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A Dwith_stress.sh19 echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control
28 sysfs=`mount -t cgroup2 | head -1 | awk '{ print $3 }'`
29 if [ ! -d "$sysfs" ]; then
34 if ! echo +$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
35 echo "Skipping: cannot enable $subsys_ctrl in $sysfs" >&2
39 if ! echo -$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
40 echo "Skipping: cannot disable $subsys_ctrl in $sysfs" >&2
50 sysfs=
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dopenhpi-sysfs-cross-compile.patch1 Fix sysfs when cross-compiling
3 Use proper paths for sysfs plugins when cross-compiling
11 diff --git a/plugins/sysfs/sysfs2hpi.c b/plugins/sysfs/sysfs2hpi.c
13 --- a/plugins/sysfs/sysfs2hpi.c
14 +++ b/plugins/sysfs/sysfs2hpi.c
20 +#include <sysfs/libsysfs.h>
/OK3568_Linux_fs/kernel/fs/sysfs/
H A DKconfig3 bool "sysfs file system support" if EXPERT
7 The sysfs filesystem is a virtual filesystem that the kernel uses to
11 Users can use sysfs to ascertain useful information about the running
13 which driver each is bound to. sysfs can also be used to tune devices
16 Some system agents rely on the information in sysfs to operate.
17 /sbin/hotplug uses device and object attributes in sysfs to assist in
20 sysfs is currently used by the block subsystem to mount the root
21 partition. If sysfs is disabled you must specify the boot device on
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dsysfs-tagging.rst10 The problem. Network devices show up in sysfs and with the network
16 sysfs, sysfs now has tagging directory support.
19 the sysfs directory entries we ensure that we don't have conflicts
23 Each sysfs directory entry may be tagged with a namespace via the
29 Each sysfs superblock's kernfs_super_info contains an array
31 kobj_nstype first mounts sysfs, a new superblock is created. It
32 will be differentiated from other sysfs mounts by having its
35 the contents of other namespaces' sysfs mounts. Therefore, when a
/OK3568_Linux_fs/kernel/tools/lib/api/fs/
H A Dfs.c313 FS(sysfs, FS__SYSFS);
458 const char *sysfs = sysfs__mountpoint(); in sysfs__read_ull_base() local
460 if (!sysfs) in sysfs__read_ull_base()
463 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_ull_base()
481 const char *sysfs = sysfs__mountpoint(); in sysfs__read_int() local
483 if (!sysfs) in sysfs__read_int()
486 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_int()
494 const char *sysfs = sysfs__mountpoint(); in sysfs__read_str() local
496 if (!sysfs) in sysfs__read_str()
499 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_str()
[all …]
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dsysfs.rst4 sysfs - _The_ filesystem for exporting kernel objects
18 sysfs is a ram-based filesystem initially based on ramfs. It provides
22 sysfs is tied inherently to the kobject infrastructure. Please read
27 Using sysfs
30 sysfs is always compiled in if CONFIG_SYSFS is defined. You can access
33 mount -t sysfs sysfs /sys
40 created for it in sysfs. That directory is created as a subdirectory
42 userspace. Top-level directories in sysfs represent the common
48 the past this kobject pointer has been used by sysfs to do reference
50 With the current sysfs implementation the kobject reference count is
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c42 DIR *sysfs; in check_all_cpu_dscr_defaults() local
46 sysfs = opendir(CPU_PATH); in check_all_cpu_dscr_defaults()
47 if (!sysfs) { in check_all_cpu_dscr_defaults()
52 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
71 closedir(sysfs); in check_all_cpu_dscr_defaults()
/OK3568_Linux_fs/kernel/Documentation/gpu/
H A Damdgpu.rst90 The AMDGPU RAS interfaces are exposed via sysfs (for informational queries) and
93 RAS debugfs/sysfs Control and Error Injection Interfaces
105 RAS Error Count sysfs Interface
109 :doc: AMDGPU RAS sysfs Error Count Interface
117 RAS VRAM Bad Pages sysfs Interface
121 :doc: AMDGPU RAS sysfs gpu_vram_bad_pages Interface
133 The test verifies the RAS feature enabled status and makes sure the necessary sysfs and debugfs fil…
161 GPU sysfs Power State Interfaces
164 GPU power controls are exposed via sysfs files.
221 via sysfs
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dpmu.c89 const char *sysfs = sysfs__mountpoint(); in pmu_format() local
91 if (!sysfs) in pmu_format()
95 "%s" EVENT_SOURCE_DEVICE_PATH "%s/format", sysfs, name); in pmu_format()
481 const char *sysfs = sysfs__mountpoint(); in pmu_aliases() local
483 if (!sysfs) in pmu_aliases()
487 "%s/bus/event_source/devices/%s/events", sysfs, name); in pmu_aliases()
532 const char *sysfs = sysfs__mountpoint(); in pmu_type() local
534 if (!sysfs) in pmu_type()
538 "%s" EVENT_SOURCE_DEVICE_PATH "%s/type", sysfs, name); in pmu_type()
560 const char *sysfs = sysfs__mountpoint(); in pmu_read_sysfs() local
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dvideo-output.rst6 The output sysfs class driver provides an abstract video output layer that
8 device through common sysfs interface. For example, on my IBM ThinkPad T42
10 method for 'state' with output sysfs class. The user interface under sysfs is::
H A Dsysfs-rules.rst1 Rules on how to access information in sysfs
4 The kernel-exported sysfs exports internal kernel implementation details
7 internal API. Therefore, there are aspects of the sysfs interface that
10 To minimize the risk of breaking users of sysfs, which are in most cases
12 of sysfs must follow some rules to use an as-abstract-as-possible way to
15 abstractions these programs provide instead of accessing sysfs directly.
17 But if you really do want or need to access sysfs directly, please follow
19 versions of the sysfs interface.
22 It makes assumptions about sysfs which are not true. Its API does not
28 to sysfs has failed; it causes more problems than it solves. It
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dw83791d.rst93 See below for the description of the sysfs-interface.
100 The sysfs interface to the global enable is via the sysfs beep_enable file.
103 The sysfs interface to the beep bitmask has migrated from the original legacy
104 method of a single sysfs beep_mask file to a newer method using multiple
105 `*_beep` files as described in `Documentation/hwmon/sysfs-interface.rst`.
108 original legacy method used a single sysfs alarms file containing a bitmap
109 of triggered alarms. The newer method uses multiple sysfs `*_alarm` files
110 (again following the pattern described in sysfs-interface).
118 NOTE: All new code should be written to use the newer sysfs-interface
127 The sysfs-interface is documented in the 'sysfs-interface' file. Only
H A Dlm93.rst83 sysfs files prochot1, prochot2, prochot1_avg, prochot2_avg, prochot1_max,
93 These intervals can be found in the sysfs files prochot1_interval and
105 non-zero integer to the sysfs file prochot_short.
112 The sysfs files prochot1_override and prochot2_override contain boolean
114 #P2_PROCHOT, respectively. The sysfs file prochot_override_duty_cycle
123 sysfs files vrdhot1 and vrdhot2. There is one value per file: a boolean for
136 fan tachometer with a pwm) to the sysfs file fan<n>_smart_tach. A zero
145 15.10.6 of the datasheet for details.) The sysfs files pwm1_override
147 where 0 disables and 1 enables the manual control mode. The sysfs files pwm1
159 The sysfs files pwm1_freq and pwm2_freq are used to select the frequency. The
[all …]
H A Dtmp401.rst70 The driver provides the common sysfs-interface for temperatures (see
71 Documentation/hwmon/sysfs-interface.rst under Temperatures).
78 Exported via sysfs attributes tempX_lowest and tempX_highest.
82 Exported via sysfs attribute temp_reset_history. Writing 1 to this
93 Exported via sysfs attribute tempX_offset
H A Dacpi_power_meter.rst23 sysfs interface conforms with the specification outlined in the "Power" section
24 of Documentation/hwmon/sysfs-interface.rst.
33 `power[1-*]_average` sysfs file.
40 the case, the `power[1-*]_cap` and related sysfs files will appear. When the
49 well as sent as a poll notification to a sysfs file. The events are as
/OK3568_Linux_fs/kernel/Documentation/driver-api/driver-model/
H A Doverview.rst82 file system named sysfs.
89 none on /sys type sysfs (rw,noexec,nosuid,nodev)
93 The auto-mounting of sysfs is typically accomplished by an entry similar to
96 none /sys sysfs defaults 0 0
100 none /sys sysfs nodev,noexec,nosuid 0 0
102 If sysfs is not automatically mounted, you can always do it manually with::
104 # mount -t sysfs sysfs /sys
122 More information about the sysfs directory layout can be found in
124 Documentation/filesystems/sysfs.rst.
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A DMakefile7 coresight-sysfs.o
17 coresight-etm3x-sysfs.o
19 coresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o
26 coresight-cti-sysfs.o
/OK3568_Linux_fs/kernel/Documentation/driver-api/rapidio/
H A Dsysfs.rst5 The RapidIO sysfs files have moved to:
6 Documentation/ABI/testing/sysfs-bus-rapidio and
7 Documentation/ABI/testing/sysfs-class-rapidio
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpufreq/
H A Dmain.sh49 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
52 echo $msg sysfs is not mounted >&2
60 echo $msg cpus not available in sysfs >&2
65 echo $msg cpufreq directory not available in sysfs >&2
/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/
H A Dgpio.txt307 * GPIOF_EXPORT_DIR_FIXED - 将 gpio 导出到 sysfs,并保持方向
531 使用“gpiolib”实现框架的平台可以选择配置一个 GPIO 的 sysfs 用户接口。
597 sysfs 文件的开始部分,也可以关闭这个文件并重新打开它来读取数据。
637 /* 创建一个 sysfs 连接到已导出的 GPIO 节点 */
641 在一个内核驱动申请一个 GPIO 之后,它可以通过 gpio_export()使其在 sysfs
648 在 GPIO 被导出之后,gpio_export_link()允许在 sysfs 文件系统的任何地方
649 创建一个到这个 GPIO sysfs 节点的符号链接。这样驱动就可以通过一个描述性的
650 名字,在 sysfs 中他们所拥有的设备下提供一个(到这个 GPIO sysfs 节点的)接口。
/OK3568_Linux_fs/buildroot/package/lshw/
H A D0001-Fix-musl-build-basename-is-in-libgen.h.patch11 src/core/sysfs.cc | 19 ++++++++++---------
14 diff --git a/src/core/sysfs.cc b/src/core/sysfs.cc
16 --- a/src/core/sysfs.cc
17 +++ b/src/core/sysfs.cc
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dsysfs.sh21 if [ -e /sys ] && grep -q sysfs /proc/filesystems && ! [ -e /sys/class ]; then
22 mount -t sysfs sysfs /sys

12345678910>>...31