Home
last modified time | relevance | path

Searched refs:SYSFS_CLASS_GPIO (Results 1 – 5 of 5) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/gpio/
Dgpio.c38 #define SYSFS_CLASS_GPIO "/sys/class/gpio" macro
46 sprintf(bu, SYSFS_CLASS_GPIO "/gpio%d/value", dev->pin); in mraa_gpio_get_valfp()
98 snprintf(directory, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/", dev->pin); in mraa_gpio_init_internal()
103 int export = open(SYSFS_CLASS_GPIO "/export", O_WRONLY); in mraa_gpio_init_internal()
278 sprintf(bu, SYSFS_CLASS_GPIO "/gpio%d/value", dev->pin); in mraa_gpio_interrupt_handler()
420 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/edge", dev->pin); in mraa_gpio_edge_mode()
548 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/drive", dev->pin); in mraa_gpio_mode()
609 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/direction", dev->pin); in mraa_gpio_dir()
731 int unexport = open(SYSFS_CLASS_GPIO "/unexport", O_WRONLY); in mraa_gpio_unexport_force()
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_nuc5.c35 #define SYSFS_CLASS_GPIO "/sys/class/gpio" macro
Dintel_de3815.c35 #define SYSFS_CLASS_GPIO "/sys/class/gpio" macro
Dintel_galileo_rev_g.c34 #define SYSFS_CLASS_GPIO "/sys/class/gpio" macro
162 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/drive", pullup_map[dev->phy_pin]); in mraa_intel_galileo_gen2_gpio_mode_replace()
Dintel_edison_fab_c.c37 #define SYSFS_CLASS_GPIO "/sys/class/gpio" macro
117 snprintf(buffer, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%i/pinmux", sysfs); in mraa_intel_edison_pinmode_change()
544 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/pullmode", dev->pin); in mraa_intel_edsion_mb_gpio_mode()