Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpio/
H A Dgpiolib-sysfs.c183 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
188 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
308 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low()
311 assign_bit(FLAG_ACTIVE_LOW, &desc->flags, value); in gpio_sysfs_set_active_low()
333 value = !!test_bit(FLAG_ACTIVE_LOW, &desc->flags); in active_low_show()
H A Dgpiolib-cdev.c147 assign_bit(FLAG_ACTIVE_LOW, &flags, in linehandle_flags_to_desc_flags()
728 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup()
732 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup()
834 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value()
1064 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1067 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1240 assign_bit(FLAG_ACTIVE_LOW, &flags, in gpio_v2_line_config_flags_to_desc_flags()
2121 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2124 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2292 if (test_bit(FLAG_ACTIVE_LOW, &dflags)) in gpio_desc_to_lineinfo()
H A Dgpiolib.c2479 clear_bit(FLAG_ACTIVE_LOW, &flags); in gpiod_free_commit()
2989 if (test_bit(FLAG_ACTIVE_LOW, &flags)) in gpiod_direction_output_nonotify()
3199 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
3210 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low()
3415 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex()
3477 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
3739 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex()
3814 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck()
4188 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
4776 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags()
[all …]
H A Dgpiolib.h196 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro