Home
last modified time | relevance | path

Searched refs:FLAG_ACTIVE_LOW (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/gpio/ !
Dgpiolib.c58 #define FLAG_ACTIVE_LOW 7 /* sysfs value has active low */ macro
279 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_value_show()
307 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_value_store()
357 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_setup_irq()
360 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_setup_irq()
479 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in sysfs_set_active_low()
483 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in sysfs_set_active_low()
485 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in sysfs_set_active_low()
511 !!test_bit(FLAG_ACTIVE_LOW, &desc->flags)); in gpio_active_low_show()
1255 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_free()