Searched refs:GPIOD_FLAG_REQUESTED (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/gpio/ |
| H A D | gpiolib.h | 192 #define GPIOD_FLAG_REQUESTED 0 /* GPIO is in use */ macro
|
| H A D | gpiolib.c | 132 if (!test_bit(GPIOD_FLAG_REQUESTED, &flags)) in gpiod_get_label() 2562 if (test_and_set_bit(GPIOD_FLAG_REQUESTED, &desc->flags)) in gpiod_request_commit() 2593 clear_bit(GPIOD_FLAG_REQUESTED, &desc->flags); in gpiod_request_commit() 2627 if (guard.gc && test_bit(GPIOD_FLAG_REQUESTED, &flags)) { in gpiod_free_commit() 2632 clear_bit(GPIOD_FLAG_REQUESTED, &flags); in gpiod_free_commit() 2683 if (!test_bit(GPIOD_FLAG_REQUESTED, &desc->flags)) in gpiochip_dup_line_label() 5399 if (is_irq || test_bit(GPIOD_FLAG_REQUESTED, &flags)) { in gpiolib_dbg_show()
|
| H A D | gpiolib-sysfs.c | 758 if (!test_bit(GPIOD_FLAG_REQUESTED, &desc->flags)) { in gpiod_export()
|
| H A D | gpiolib-cdev.c | 2183 if (label && test_bit(GPIOD_FLAG_REQUESTED, &dflags)) in gpio_desc_to_lineinfo() 2200 if (test_bit(GPIOD_FLAG_REQUESTED, &dflags) || in gpio_desc_to_lineinfo()
|