HomeSort by relevance Sort by last modified time
    Searched defs:sysfs (Results 1 - 3 of 3) sorted by null

  /device/lge/hammerhead/libsensors/
LightSensor.cpp 55 char sysfs[PATH_MAX]; local
57 strcpy(sysfs, I2C);
58 strcat(sysfs, "als_poll_delay");
60 fd = open(sysfs, O_RDWR);
81 char sysfs[PATH_MAX]; local
83 strcpy(sysfs, I2C);
84 strcat(sysfs, "enable_als_sensor");
86 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en);
88 int fd = open(sysfs, O_RDWR);
90 ALOGE("couldn't open '%s' input device", sysfs);
    [all...]
ProximitySensor.cpp 62 char sysfs[PATH_MAX]; local
64 strcpy(sysfs, I2C);
65 strcat(sysfs, "enable_ps_sensor");
67 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en);
69 int fd = open(sysfs, O_RDWR);
71 ALOGE("couldn't open '%s' input device", sysfs);
  /external/iputils/
arping.c 41 #include <sysfs/libsysfs.h>
71 struct sysfs_devattr_values *sysfs; member in struct:device
567 * by_sysfs(): requires libsysfs , and sysfs in kernel.
729 if (!device.sysfs) {
730 device.sysfs = malloc(sizeof(*device.sysfs));
731 sysfs_devattr_values_init(device.sysfs, 0);
786 if (device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong) {
787 if (device.sysfs->value[SYSFS_DEVATTR_FLAGS].ulong & IFF_RUNNING)
797 sysfs_devattr_values_init(device.sysfs, 1)
    [all...]

Completed in 75 milliseconds