Searched refs:FLAG_EXPORT (Results 1 – 3 of 3) sorted by relevance
582 test_bit(FLAG_EXPORT, &desc->flags)) { in gpiod_export()587 test_bit(FLAG_EXPORT, &desc->flags)); in gpiod_export()619 set_bit(FLAG_EXPORT, &desc->flags); in gpiod_export()690 if (!test_bit(FLAG_EXPORT, &desc->flags)) in gpiod_unexport()699 clear_bit(FLAG_EXPORT, &desc->flags); in gpiod_unexport()
154 #define FLAG_EXPORT 2 /* protected by sysfs_lock */ macro
2272 test_bit(FLAG_EXPORT, &desc->flags) || in gpio_desc_to_lineinfo()