Searched refs:FLAG_ACTIVE_LOW (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/gpio/ |
D | gpiolib-sysfs.c | 181 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 184 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 311 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low() 315 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_sysfs_set_active_low() 317 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_sysfs_set_active_low() 339 !!test_bit(FLAG_ACTIVE_LOW, &desc->flags)); in active_low_show()
|
D | gpiolib-legacy.c | 42 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
|
D | gpiolib.c | 577 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in linehandle_create() 924 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in lineevent_create() 1072 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_ioctl() 2395 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit() 2603 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 2726 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 2837 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex() 2890 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() 3062 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex() 3125 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck() [all …]
|
D | gpiolib.h | 213 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
|