Searched refs:FLAG_USED_AS_IRQ (Results 1 – 3 of 3) sorted by relevance
154 #define FLAG_USED_AS_IRQ 9 /* GPIO is connected to an IRQ */ macro
2413 if (test_bit(FLAG_USED_AS_IRQ, &desc->flags) && in gpiod_direction_output()3300 set_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiochip_lock_as_irq()3331 clear_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiochip_unlock_as_irq()3345 !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) in gpiochip_disable_irq()3355 !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) { in gpiochip_enable_irq()3372 return test_bit(FLAG_USED_AS_IRQ, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_irq()4489 is_irq = test_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiolib_dbg_show()
2149 test_bit(FLAG_USED_AS_IRQ, &desc->flags) || in gpio_desc_to_lineinfo()