Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-sysfs.c177 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
180 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
307 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low()
310 assign_bit(FLAG_ACTIVE_LOW, &desc->flags, value); in gpio_sysfs_set_active_low()
332 !!test_bit(FLAG_ACTIVE_LOW, &desc->flags)); in active_low_show()
Dgpiolib-cdev.c180 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags()
689 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value()
730 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounce_work_func()
873 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
876 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1024 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1186 (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) != in linereq_set_config_unlocked()
1913 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
1916 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2065 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_desc_to_lineinfo()
Dgpiolib-legacy.c43 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
Dgpiolib.c2029 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit()
2392 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output()
2519 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
2530 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low()
2683 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex()
2743 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
2960 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex()
3026 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck()
3387 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
3853 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags()
[all …]
Dgpiolib.h146 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro