Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-sysfs.c182 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
185 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
312 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low()
316 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_sysfs_set_active_low()
318 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_sysfs_set_active_low()
340 !!test_bit(FLAG_ACTIVE_LOW, &desc->flags)); in active_low_show()
Dgpiolib-cdev.c136 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags()
618 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value()
657 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounce_work_func()
800 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
803 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
951 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1110 (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) != in linereq_set_config_unlocked()
1797 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
1800 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
1948 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.h107 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
Dgpiolib.c2138 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit()
2460 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output()
2604 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
2615 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low()
2759 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex()
2817 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
3027 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex()
3091 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck()
3452 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
3913 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags()
[all …]