Home
last modified time | relevance | path

Searched refs:GPIOD_FLAG_EXPORT (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpio/
H A Dgpiolib-sysfs.c751 if (test_and_set_bit(GPIOD_FLAG_EXPORT, &desc->flags)) in gpiod_export()
869 clear_bit(GPIOD_FLAG_EXPORT, &desc->flags); in gpiod_export()
928 if (!test_bit(GPIOD_FLAG_EXPORT, &desc->flags)) in gpiod_unexport_unlocked()
947 clear_bit(GPIOD_FLAG_EXPORT, &desc->flags); in gpiod_unexport_unlocked()
H A Dgpiolib.h194 #define GPIOD_FLAG_EXPORT 2 /* GPIO is exported to user-space */ macro
H A Dgpiolib-cdev.c2202 test_bit(GPIOD_FLAG_EXPORT, &dflags) || in gpio_desc_to_lineinfo()