Searched refs:FLAG_USED_AS_IRQ (Results 1 – 3 of 3) sorted by relevance
172 #define FLAG_USED_AS_IRQ 9 /* GPIO is connected to an IRQ */ macro
2595 if (test_bit(FLAG_USED_AS_IRQ, &desc->flags) && in gpiod_direction_output()3482 set_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiochip_lock_as_irq()3513 clear_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiochip_unlock_as_irq()3527 !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) in gpiochip_disable_irq()3537 !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) { in gpiochip_enable_irq()3554 return test_bit(FLAG_USED_AS_IRQ, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_irq()4612 is_irq = test_bit(FLAG_USED_AS_IRQ, &desc->flags); in gpiolib_dbg_show()
2493 test_bit(FLAG_USED_AS_IRQ, &desc->flags) || in gpio_desc_to_lineinfo()