Home
last modified time | relevance | path

Searched refs:FLAG_EXPORT (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpiolib-sysfs.c613 test_bit(FLAG_EXPORT, &desc->flags)) { in gpiod_export()
618 test_bit(FLAG_EXPORT, &desc->flags)); in gpiod_export()
650 set_bit(FLAG_EXPORT, &desc->flags); in gpiod_export()
721 if (!test_bit(FLAG_EXPORT, &desc->flags)) in gpiod_unexport()
730 clear_bit(FLAG_EXPORT, &desc->flags); in gpiod_unexport()
H A Dgpiolib.h105 #define FLAG_EXPORT 2 /* protected by sysfs_lock */ macro
H A Dgpiolib-cdev.c1938 test_bit(FLAG_EXPORT, &desc->flags) || in gpio_desc_to_lineinfo()
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpiolib-sysfs.c595 test_bit(FLAG_EXPORT, &desc->flags)) { in gpiod_export()
600 test_bit(FLAG_EXPORT, &desc->flags)); in gpiod_export()
632 set_bit(FLAG_EXPORT, &desc->flags); in gpiod_export()
703 if (!test_bit(FLAG_EXPORT, &desc->flags)) in gpiod_unexport()
712 clear_bit(FLAG_EXPORT, &desc->flags); in gpiod_unexport()
H A Dgpiolib.h164 #define FLAG_EXPORT 2 /* protected by sysfs_lock */ macro
H A Dgpiolib-cdev.c2309 test_bit(FLAG_EXPORT, &desc->flags) || in gpio_desc_to_lineinfo()

Completed in 10 milliseconds