Searched refs:FLAG_ACTIVE_LOW (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/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 | 43 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
|
| D | gpiolib.c | 591 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in linehandle_create() 947 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in lineevent_create() 960 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create() 963 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create() 1093 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_ioctl() 2789 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit() 3071 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 3210 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 3355 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex() 3413 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() [all …]
|
| D | gpiolib.h | 104 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
|