| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-tty | 29 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/filesystems/ |
| H A D | sysfs.txt | 1 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/drivers/staging/gasket/ |
| H A D | gasket_sysfs.h | 3 * Set of common sysfs utilities. 9 * Gasket driver framework to manage their own set of sysfs entries, instead of 12 * The goal of these utilities is to allow for sysfs entries to be easily 13 * created without causing a proliferation of sysfs "show" functions. This 15 * sysfs entries is rarely performance-critical, this is likely acceptible. 24 #include <linux/sysfs.h> 29 /* The maximum number of sysfs nodes in a directory. 44 * Pairing of sysfs attribute and user data. 45 * Used in lookups in sysfs "show" functions to return attribute metadata. 48 /* The underlying sysfs device attribute associated with this data. */ [all …]
|
| H A D | gasket_sysfs.c | 11 * Pair of kernel device and user-specified pointer. Used in lookups in sysfs 25 /* This device's set of sysfs attributes/nodes. */ 39 * Data needed to manage users of this sysfs utility. 91 dev_dbg(mapping->device, "Removing Gasket sysfs mapping\n"); in put_mapping() 93 * We can't remove the sysfs nodes in the kref callback, since in put_mapping() 95 * Readers/writers of sysfs nodes, though, will be blocked on in put_mapping() 97 * sysfs nodes are removed outside the lock. in put_mapping() 165 dev_dbg(device, "Creating sysfs entries for device\n"); in gasket_sysfs_create_mapping() 171 "Attempting to re-initialize sysfs mapping for device\n"); in gasket_sysfs_create_mapping() 192 dev_dbg(device, "Creating sysfs mapping for device %s\n", in gasket_sysfs_create_mapping() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | sysfs.rst | 4 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 46 Sysfs internally stores a pointer to the kobject that implements a 48 the past this kobject pointer has been used by sysfs to do reference [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | if.h | 47 * set these flags using userspace utilities but there is also a sysfs 49 * are shared for all types of net_devices. The sysfs entries are available 50 * via /sys/class/net/<dev>/flags. Flags which can be toggled through sysfs 53 * even if you try to set them via sysfs. Flags which are always preserved 59 * @IFF_UP: interface is up. Can be toggled through sysfs. 61 * @IFF_DEBUG: turn on debugging. Can be toggled through sysfs. 64 * @IFF_NOTRAILERS: avoid use of trailers. Can be toggled through sysfs. 67 * @IFF_NOARP: no ARP protocol. Can be toggled through sysfs. Volatile. 68 * @IFF_PROMISC: receive all packets. Can be toggled through sysfs. 70 * sysfs. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | if.h | 44 * set these flags using userspace utilities but there is also a sysfs 46 * are shared for all types of net_devices. The sysfs entries are available 47 * via /sys/class/net/<dev>/flags. Flags which can be toggled through sysfs 50 * even if you try to set them via sysfs. Flags which are always preserved 56 * @IFF_UP: interface is up. Can be toggled through sysfs. 58 * @IFF_DEBUG: turn on debugging. Can be toggled through sysfs. 61 * @IFF_NOTRAILERS: avoid use of trailers. Can be toggled through sysfs. 64 * @IFF_NOARP: no ARP protocol. Can be toggled through sysfs. Volatile. 65 * @IFF_PROMISC: receive all packets. Can be toggled through sysfs. 67 * sysfs. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | if.h | 44 * set these flags using userspace utilities but there is also a sysfs 46 * are shared for all types of net_devices. The sysfs entries are available 47 * via /sys/class/net/<dev>/flags. Flags which can be toggled through sysfs 50 * even if you try to set them via sysfs. Flags which are always preserved 56 * @IFF_UP: interface is up. Can be toggled through sysfs. 58 * @IFF_DEBUG: turn on debugging. Can be toggled through sysfs. 61 * @IFF_NOTRAILERS: avoid use of trailers. Can be toggled through sysfs. 64 * @IFF_NOARP: no ARP protocol. Can be toggled through sysfs. Volatile. 65 * @IFF_PROMISC: receive all packets. Can be toggled through sysfs. 67 * sysfs. [all …]
|
| /OK3568_Linux_fs/kernel/fs/sysfs/ |
| H A D | Kconfig | 2 config SYSFS config 3 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 D | sysfs-tagging.rst | 4 Sysfs tagging 10 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/Documentation/admin-guide/ |
| H A D | sysfs-rules.rst | 1 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/tools/testing/selftests/cpu-hotplug/ |
| H A D | cpu-on-off-test.sh | 4 SYSFS= 19 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'` 21 if [ ! -d "$SYSFS" ]; then 22 echo $msg sysfs is not mounted >&2 26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 32 online_cpus=`cat $SYSFS/devices/system/cpu/online` 40 present_cpus=`cat $SYSFS/devices/system/cpu/present` 46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 62 for cpu in $SYSFS/devices/system/cpu/cpu*; do 81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_core_linux.c | 2303 * power_policy_show - Show callback for the power_policy sysfs file. 2305 * @dev: The device this sysfs file is for 2306 * @attr: The attributes of the sysfs file 2307 * @buf: The output buffer for the sysfs file contents 2309 * This function is called to get the contents of the power_policy sysfs 2352 * power_policy_store - Store callback for the power_policy sysfs file. 2354 * @dev: The device with sysfs file is for 2355 * @attr: The attributes of the sysfs file 2356 * @buf: The value written to the sysfs file 2357 * @count: The number of bytes to write to the sysfs file [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/gpio/ |
| H A D | sysfs.rst | 1 GPIO Sysfs Interface for Userspace 7 Documentation/ABI/obsolete/sysfs-gpio AND NEW USERSPACE CONSUMERS 8 ARE SUPPOSED TO USE THE CHARACTER DEVICE ABI. THIS OLD SYSFS ABI WILL 15 The deprecated sysfs ABI 18 configure a sysfs user interface to GPIOs. This is different from the 36 DO NOT ABUSE SYSFS TO CONTROL HARDWARE THAT HAS PROPER KERNEL DRIVERS. 40 Paths in Sysfs 97 poll(2) returns, either lseek(2) to the beginning of the sysfs 151 /* create a sysfs link to an exported GPIO node */ 156 the sysfs interface by gpiod_export(). The driver can control whether the [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/laptops/ |
| H A D | thinkpad-acpi.rst | 85 is a new sysfs-based interface which is not complete yet. 91 all new functionality will be implemented on the sysfs interface. 93 The sysfs interface tries to blend in the generic Linux sysfs subsystems 99 Notes about the sysfs interface 103 to the sysfs interfaces will be enforced, as will correctness in the 104 thinkpad-acpi's implementation of sysfs interfaces. 106 Also, any bugs in the thinkpad-acpi sysfs driver code or in the 107 thinkpad-acpi's implementation of the sysfs interfaces will be fixed for 112 Applications interfacing to the thinkpad-acpi sysfs interfaces must 113 follow all sysfs guidelines and correctly process all errors (the sysfs [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/ |
| H A D | openhpi-sysfs-cross-compile.patch | 1 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/tools/testing/selftests/gpio/ |
| H A D | gpio-mockup.sh | 6 #2: sysfs/debugfs not mount 11 SYSFS= 29 echo "-t: interface type: chardev(char device) and sysfs(being" 43 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'` 44 if [ ! -d "$SYSFS" ]; then 45 echo $msg sysfs is not mounted >&2 48 GPIO_SYSFS=`echo $SYSFS/class/gpio` 49 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio` 56 source gpio-mockup-sysfs.sh 86 echo "WARNING: sysfs ABI of gpio is going to deprecated."
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/ |
| H A D | with_stress.sh | 19 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/kernel/tools/testing/selftests/memory-hotplug/ |
| H A D | mem-on-off-test.sh | 4 SYSFS= 18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'` 20 if [ ! -d "$SYSFS" ]; then 21 echo $msg sysfs is not mounted >&2 25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then 30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then 43 for memory in $SYSFS/devices/system/memory/memory*; do 63 grep -q online $SYSFS/devices/system/memory/memory$1/state 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 73 echo online > $SYSFS/devices/system/memory/memory$1/state [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | lm93.rst | 83 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/dscr/ |
| H A D | dscr_sysfs_test.c | 3 * POWER Data Stream Control Register (DSCR) sysfs interface test 5 * This test updates to system wide DSCR default through the sysfs interface 7 * well verified from their sysfs interfaces. 42 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/driver-api/driver-model/ |
| H A D | overview.rst | 82 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/gpu/arm/midgard/ |
| H A D | mali_kbase_core_linux.c | 2273 * show_policy - Show callback for the power_policy sysfs file. 2275 * This function is called to get the contents of the power_policy sysfs 2279 * @dev: The device this sysfs file is for 2280 * @attr: The attributes of the sysfs file 2281 * @buf: The output buffer for the sysfs file contents 2322 * set_policy - Store callback for the power_policy sysfs file. 2324 * This function is called when the power_policy sysfs file is written to. 2329 * @dev: The device with sysfs file is for 2330 * @attr: The attributes of the sysfs file 2331 * @buf: The value written to the sysfs file [all …]
|
| /OK3568_Linux_fs/kernel/drivers/remoteproc/ |
| H A D | remoteproc_sysfs.c | 23 * By writing to the 'recovery' sysfs entry, we control the behavior of the 26 * The 'recovery' sysfs entry supports these commands: 73 * human readable configuration via sysfs. Always keep in sync with 92 * By writing to the 'coredump' sysfs entry, we control the behavior of the 95 * The 'coredump' sysfs entry supports these commands: 133 /* Expose the loaded / running firmware name via sysfs */ 154 /* Change firmware name via sysfs */ 170 * via sysfs. Always keep in sync with enum rproc_state 182 /* Expose the state of the remote processor via sysfs */ 193 /* Change remote processor state via sysfs */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/habanalabs/include/common/ |
| H A D | cpucp_if.h | 227 CPUCP_PACKET_TEMPERATURE_GET, /* sysfs */ 228 CPUCP_PACKET_VOLTAGE_GET, /* sysfs */ 229 CPUCP_PACKET_CURRENT_GET, /* sysfs */ 230 CPUCP_PACKET_FAN_SPEED_GET, /* sysfs */ 231 CPUCP_PACKET_PWM_GET, /* sysfs */ 232 CPUCP_PACKET_PWM_SET, /* sysfs */ 233 CPUCP_PACKET_FREQUENCY_SET, /* sysfs */ 234 CPUCP_PACKET_FREQUENCY_GET, /* sysfs */ 243 CPUCP_PACKET_FREQUENCY_CURR_GET, /* sysfs */ 244 CPUCP_PACKET_MAX_POWER_GET, /* sysfs */ [all …]
|