Searched refs:FLAG_ACTIVE_LOW (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/gpio/ |
D | gpiolib-sysfs.c | 171 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_setup_irq() 174 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_setup_irq() 294 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in sysfs_set_active_low() 298 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in sysfs_set_active_low() 300 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in sysfs_set_active_low() 326 !!test_bit(FLAG_ACTIVE_LOW, &desc->flags)); in gpio_active_low_show()
|
D | gpiolib.c | 869 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in __gpiod_free() 1083 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 1126 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 1204 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() 1332 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_priv() 1399 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value() 1558 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep() 1600 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_cansleep() 1929 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags() 2065 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in fwnode_get_named_gpiod()
|
D | gpiolib-legacy.c | 42 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
|
D | gpiolib.h | 88 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
|