Searched refs:FLAG_REQUESTED (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/gpio/ |
D | gpiolib.c | 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() [all …]
|