Searched refs:FLAG_USED_AS_IRQ (Results 1 – 3 of 3) sorted by relevance
149 #define FLAG_USED_AS_IRQ 9 /* GPIO is connected to an IRQ */ macro
2398 if (test_bit(FLAG_USED_AS_IRQ, &desc->flags) && in gpiod_direction_output()3224 set_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiochip_lock_as_irq()3255 clear_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiochip_unlock_as_irq()3269 !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) in gpiochip_disable_irq()3279 !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) { in gpiochip_enable_irq()3296 return test_bit(FLAG_USED_AS_IRQ, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_irq()4412 is_irq = test_bit(FLAG_USED_AS_IRQ, &gdesc->flags); in gpiolib_dbg_show()
2053 test_bit(FLAG_USED_AS_IRQ, &desc->flags) || in gpio_desc_to_lineinfo()