Searched refs:FLAG_ACTIVE_LOW (Results 1 – 4 of 4) sorted by relevance
/drivers/gpio/ |
D | gpiolib-sysfs.c | 169 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()
|
D | gpiolib.c | 476 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in linehandle_create() 802 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in lineevent_create() 950 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_ioctl() 2089 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in __gpiod_free() 2319 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 2359 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 2440 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() 2567 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex() 2631 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value() 2849 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep() [all …]
|
D | gpiolib-legacy.c | 42 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
|
D | gpiolib.h | 187 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
|