Searched refs:FLAG_ACTIVE_LOW (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpiolib-sysfs.c | 182 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 D | gpiolib-cdev.c | 136 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags() 615 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value() 654 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounce_work_func() 797 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup() 800 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup() 948 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags() 1107 (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) != in linereq_set_config_unlocked() 1774 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create() 1777 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create() 1925 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_desc_to_lineinfo()
|
| H A D | gpiolib-legacy.c | 43 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
|
| H A D | gpiolib.c | 2139 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit() 2461 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 2606 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 2617 change_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_toggle_active_low() 2761 if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_array_value_complex() 2819 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() 3029 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex() 3093 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck() 3454 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep() 3915 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags() [all …]
|
| H A D | gpiolib.h | 107 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
|