Lines Matching refs:FLAG_REQUESTED
51 #define FLAG_REQUESTED 0 macro
98 if (WARN(test_and_set_bit(FLAG_REQUESTED, &desc->flags) == 0, in gpio_ensure_requested()
102 clear_bit(FLAG_REQUESTED, &desc->flags); in gpio_ensure_requested()
717 if (test_bit(FLAG_REQUESTED, &desc->flags) in gpio_export()
1117 if (test_bit(FLAG_REQUESTED, &gpio_desc[id].flags)) { in gpiochip_remove()
1196 if (test_and_set_bit(FLAG_REQUESTED, &desc->flags) == 0) { in gpio_request()
1214 clear_bit(FLAG_REQUESTED, &desc->flags); in gpio_request()
1246 if (chip && test_bit(FLAG_REQUESTED, &desc->flags)) { in gpio_free()
1256 clear_bit(FLAG_REQUESTED, &desc->flags); in gpio_free()
1345 if (test_bit(FLAG_REQUESTED, &gpio_desc[gpio].flags) == 0) in gpiochip_is_requested()
1649 if (!test_bit(FLAG_REQUESTED, &gdesc->flags)) in gpiolib_dbg_show()