Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpio/
Dgpiolib-sysfs.c172 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
175 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
289 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low()
292 assign_bit(FLAG_ACTIVE_LOW, &desc->flags, value); in gpio_sysfs_set_active_low()
313 value = !!test_bit(FLAG_ACTIVE_LOW, &desc->flags); in active_low_show()
Dgpiolib-legacy.c43 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
Dgpiolib-cdev.c181 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags()
739 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup()
743 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup()
845 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value()
1059 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1062 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1220 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
2131 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2134 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2283 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_desc_to_lineinfo()
Dgpiolib.h156 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
Dgpiolib.c2048 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit()
2411 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output()
2596 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
2607 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low()
2763 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex()
2823 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
3040 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex()
3106 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck()
3467 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
4006 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags()
[all …]