Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpio/
Dgpiolib-sysfs.c169 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
172 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
299 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low()
303 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_sysfs_set_active_low()
305 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_sysfs_set_active_low()
327 !!test_bit(FLAG_ACTIVE_LOW, &desc->flags)); in active_low_show()
Dgpiolib.c934 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in __gpiod_request()
990 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in __gpiod_free()
1204 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output()
1247 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
1335 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
1462 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_priv()
1527 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value()
1691 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
1733 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_cansleep()
2076 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_parse_flags()
[all …]
Dgpiolib-legacy.c38 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
Dgpiolib.h94 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro