Home
last modified time | relevance | path

Searched full:sysfs (Results 1 – 25 of 248) sorted by relevance

12345678910

/openbmc/openbmc/meta-openembedded/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/
H A Dgpiod-sysfs-proxy_0.1.2.bb1 SUMMARY = "User-space, libgpiod-based compatibility layer for linux GPIO sysfs interface."
11 file://gpiod-sysfs-proxy.service.in \
14 file://gpiod-sysfs-proxy.init.in \
20 # For full backward compatibility with the kernel sysfs interface, this option
21 # must be selected. However, we don't make it the default as - with kernel sysfs
32 …install -m 0644 ${UNPACKDIR}/gpiod-sysfs-proxy.service.in ${D}${systemd_system_unitdir}/gpiod-sysf…
44 … sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${systemd_system_unitdir}/gpiod-sysfs-proxy.service
47 … install -m 0755 ${UNPACKDIR}/gpiod-sysfs-proxy.init.in ${D}${sysconfdir}/init.d/gpiod-sysfs-proxy
48 sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${sysconfdir}/init.d/gpiod-sysfs-proxy
52 SYSTEMD_SERVICE:${PN} = "gpiod-sysfs-proxy.service"
[all …]
/openbmc/openbmc/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>
/openbmc/openbmc/meta-openembedded/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/
H A Dgpiod-sysfs-proxy.init.in3 # Provides: gpiod-sysfs-proxy
8 # Short-Description: User-space, libgpiod-based compatibility layer for linux GPIO sysfs interfa…
12 # Debian init.d script for gpiod-sysfs-proxy
20 PROG="/usr/bin/gpiod-sysfs-proxy"
21 NAME="gpiod-sysfs-proxy"
33 mount -t sysfs sysfs /run/gpio/sys -o nosuid,nodev,noexec
H A Drun-gpio-sys.mount5 Description=Remount of sysfs for gpiod-sysfs-proxy
10 What=sysfs
12 Type=sysfs
/openbmc/openpower-proc-control/
H A Dtargeting.hpp28 * @param[in] - The sysfs device path
49 * Returns the CFAM sysfs path
69 * The sysfs device path for the CFAM
86 * Scans sysfs to find all processors and creates Target objects
88 * @param[in] fsiMasterDev - the sysfs device for the master
89 * @param[in] fsiSlaveDirectory - the base sysfs dir for slaves
131 * The path to the fsi-master sysfs device to access
136 * The path to the fsi slave sysfs base directory
/openbmc/phosphor-pid-control/sensors/
H A Dbuild_utils.cpp27 static constexpr auto sysfs = "/sys/"; variable
36 if (path.find(sysfs) != std::string::npos) in getWriteInterfaceType()
38 // A sysfs read sensor. in getWriteInterfaceType()
39 return IOInterfaceType::SYSFS; in getWriteInterfaceType()
67 if (path.find(sysfs) != std::string::npos) in getReadInterfaceType()
69 return IOInterfaceType::SYSFS; in getReadInterfaceType()
/openbmc/openbmc/meta-google/recipes-google/gpio/gpio-ctrl/
H A Dlib.sh44 # Looks up the sysfs GPIO number
69 local sysfs
71 sysfs="${gpio_sysfs_lookup_cache["$id"]}"
75 if ! sysfs="$(grep -xl "$val" /sys/class/gpio/gpiochip*/label)"; then
79 sysfs="${sysfs%/label}"
82 for sysfs in $(echo /sys/class/gpio/gpiochip*); do
85 link="$(readlink -f "$sysfs/device/of_node" 2>/dev/null)" || continue
87 sysfs=
89 if [ -z "$sysfs" ]; then
99 gpio_sysfs_lookup_cache["$id"]="$sysfs"
[all …]
/openbmc/docs/designs/
H A Dmultihost-physical-led.md12 The existing phosphor-led-sysfs design exposes one service per LED configuration
29 Based on the current design in phosphor-led-sysfs application, pairing groups
38 KERNEL META-PHOSPHOR PHOSPHOR-LED-SYSFS SERVICE
72 PHOSPHSOR-LED-SYSFS DAEMON
76 The existing design uses sysfs entry as udev events for particular LED and
103 - Add DBUS API method for phosphor-led-sysfs daemon.
110 KERNEL PHOSPHOR-LED-SYSFS DAEMON
114 | LED 1 | Event 2 | UDEV | | SYSFS | | EXECUTABLE |
151 - Dbus API method will be created in the phosphor-led-sysfs repository under
152 **_xyz.openbmc_project.Led.Sysfs.Internal_** interface name to add or remove
[all …]
/openbmc/phosphor-hwmon/
H A Dreadd.cpp20 #include "sysfs.hpp"
41 app.add_option("-p,--path", syspath, "sysfs location to monitor"); in main()
56 path = sysfs::findHwmonFromDevPath(path); in main()
60 path = sysfs::findHwmonFromOFPath(path); in main()
76 // Determine the physical device sysfs path. in main()
77 auto calloutPath = sysfs::findCalloutPath(path); in main()
H A Dfan_speed.hpp5 #include "sysfs.hpp"
15 * @details Derived FanSpeedObject type that writes the target value to sysfs
25 * @param[in] devPath - The /sys/devices sysfs path
52 * @brief Writes the pwm_enable sysfs entry if the
62 /** @brief Hwmon sysfs access. */
H A Dfan_pwm.cpp7 #include "sysfs.hpp"
26 // Write target out to sysfs in target()
42 sysfs::make_sysfs_path(_ioAccess->path(), _type, _id, empty); in target()
44 log<level::INFO>(std::format("Failing sysfs file: {} errno: {}", file, in target()
H A Dfan_speed.cpp7 #include "sysfs.hpp"
35 auto file = sysfs::make_sysfs_path(_ioAccess->path(), _type, _id, in target()
38 log<level::INFO>(std::format("Failing sysfs file: {} errno: {}", file, in target()
70 auto fullPath = sysfs::make_sysfs_path(_ioAccess->path(), type::pwm, in enable()
73 log<level::INFO>(std::format("Failing sysfs file: {} errno: {}", in enable()
H A Dmainloop.hpp8 #include "sysfs.hpp"
49 * @param[in] path - hwmon sysfs instance to manage
50 * @param[in] devPath - physical device sysfs path.
91 /** @brief Read hwmon sysfs entries */
103 /** @brief hwmon sysfs class path. */
105 /** @brief hwmon sysfs instance. */
107 /** @brief physical device sysfs path. */
119 /** @brief Hwmon sysfs access. */
H A Dfan_pwm.hpp5 #include "sysfs.hpp"
15 * @details Derived FanPwmObject type that writes the target value to sysfs
25 * @param[in] devPath - The /sys/devices sysfs path
55 /** @brief Hwmon sysfs access. */
/openbmc/phosphor-led-sysfs/test/
H A Dsysfs.cpp17 #include "sysfs.hpp"
78 TEST(Sysfs, getBrightness) in TEST() argument
87 TEST(Sysfs, getMaxBrightness) in TEST() argument
94 TEST(Sysfs, getTrigger) in TEST() argument
104 TEST(Sysfs, getTriggerBlink) in TEST() argument
111 TEST(Sysfs, getDelayOn) in TEST() argument
120 TEST(Sysfs, getDelayOff) in TEST() argument
/openbmc/phosphor-state-manager/
H A Dmeson.options102 'sysfs-secure-boot-path',
105 description: 'The sysfs path to the secure boot value.',
109 'sysfs-abr-image-path',
112 description: 'The sysfs path to the abr image value.',
123 'sysfs-tpm-device-path',
126 description: 'The sysfs path to the tpm device.',
130 'sysfs-tpm-measurement-path',
133 description: 'The sysfs path to the tpm measurement value.',
/openbmc/phosphor-led-sysfs/
H A Dmeson.build44 ['systemd' / 'system' / 'sysfs-led@.service'],
60 'sysfs.cpp',
69 install_dir: '/usr/libexec/phosphor-led-sysfs',
79 install_dir: '/usr/libexec/phosphor-led-sysfs',
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpmbus_driver_device.hpp117 * driver in sysfs.
142 * Returns map from PMBus PAGE numbers to sysfs hwmon file numbers.
182 * sysfs.
198 * Returns whether the specified sysfs hwmon file is a voltage label file.
203 * @param fileName file within the sysfs hwmon directory
218 * @param fileName voltage label file within the sysfs hwmon directory
246 * in sysfs.
251 * Map from PMBus PAGE numbers to sysfs hwmon file numbers.
/openbmc/phosphor-pid-control/test/
H A Dutil_unittest.cpp28 // Verify the sysfs type is determined with an expected path in TEST()
31 EXPECT_EQ(IOInterfaceType::SYSFS, getWriteInterfaceType(path)); in TEST()
74 // Verify the sysfs type is determined with an expected path in TEST()
77 EXPECT_EQ(IOInterfaceType::SYSFS, getReadInterfaceType(path)); in TEST()
/openbmc/witherspoon-pfault-analysis/
H A Dpmbus.hpp106 * by reading and writing sysfs files.
125 * @param[in] path - path to the sysfs directory
138 * @param[in] path - path to the sysfs directory
150 * Reads a file in sysfs that represents a single bit,
162 * Reads a file in sysfs that represents a single bit,
185 * Read byte(s) from file in sysfs.
195 * Read a string from file in sysfs.
205 * Read data from a binary file in sysfs.
228 * Returns the sysfs base path of this device
277 * The sysfs device path
/openbmc/openbmc/meta-phosphor/recipes-phosphor/leds/
H A Dphosphor-led-sysfs_git.bb3 HOMEPAGE = "http://github.com/openbmc/phosphor-led-sysfs"
16 SRC_URI = "git://github.com/openbmc/phosphor-led-sysfs;branch=master;protocol=https"
27 FILES:${PN} += "/usr/lib/systemd/system/sysfs-led@.service"
/openbmc/phosphor-power/tools/power-utils/
H A Dversion.cpp41 // PsuInfo contains the device path, PMBus access type, and sysfs file name
50 * @return tuple - device path, PMBus access type, and sysfs file name
96 * @brief Get the PSU version from sysfs.
108 // Get PSU device path, PMBus access type, and sysfs file name from JSON in getVersionJson()
111 // Read version from sysfs file in getVersionJson()
122 * @brief Get the PSU version from sysfs.
140 // Read version from sysfs file in getVersionDbus()
/openbmc/openbmc/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
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-boot.sh8 mount -t sysfs sysfs /sys
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/i2cdev/i2cdev/
H A Dfix-musl.patch19 libi2cdev/sysfs.c | 1 -
30 #include "sysfs.h"
45 #include "sysfs.h"
79 --- a/libi2cdev/sysfs.c
80 +++ b/libi2cdev/sysfs.c

12345678910