Home
last modified time | relevance | path

Searched refs:FLAG_ACTIVE_LOW (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpio/
H A 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()
H A Dgpiolib-legacy.c43 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
H A 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, in gpio_desc_to_lineinfo()
[all...]
H A Dgpiolib.h107 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
H A Dgpiolib.c2150 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit()
2472 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output()
2616 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
2627 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low()
2771 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex()
2829 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
3039 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex()
3103 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck()
3464 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
3925 set_bit(FLAG_ACTIVE_LOW, in gpiod_configure_flags()
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpiolib-sysfs.c183 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
186 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
300 if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value) in gpio_sysfs_set_active_low()
303 assign_bit(FLAG_ACTIVE_LOW, &desc->flags, value); in gpio_sysfs_set_active_low()
324 value = !!test_bit(FLAG_ACTIVE_LOW, &desc->flags); in active_low_show()
H A Dgpiolib-legacy.c37 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
H A Dgpiolib-cdev.c183 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags()
750 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup()
754 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup()
856 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value()
1070 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1073 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup()
1231 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
2162 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2165 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create()
2320 if (test_bit(FLAG_ACTIVE_LOW, in gpio_desc_to_lineinfo()
[all...]
H A Dgpiolib.c2220 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit()
2588 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output()
2773 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low()
2784 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low()
2940 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex()
3000 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value()
3217 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex()
3283 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck()
3644 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep()
4196 set_bit(FLAG_ACTIVE_LOW, in gpiod_configure_flags()
[all...]
H A Dgpiolib.h166 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro

Completed in 24 milliseconds