Searched refs:FLAG_EXPORT (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 613 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 D | gpiolib.h | 105 #define FLAG_EXPORT 2 /* protected by sysfs_lock */ macro
|
H A D | gpiolib-cdev.c | 1938 test_bit(FLAG_EXPORT, &desc->flags) || in gpio_desc_to_lineinfo()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 595 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 D | gpiolib.h | 164 #define FLAG_EXPORT 2 /* protected by sysfs_lock */ macro
|
H A D | gpiolib-cdev.c | 2309 test_bit(FLAG_EXPORT, &desc->flags) || in gpio_desc_to_lineinfo()
|
Completed in 10 milliseconds