Searched refs:FLAG_ACTIVE_LOW (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/gpio/ |
D | gpiolib-sysfs.c | 172 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()
|
D | gpiolib-legacy.c | 43 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
|
D | gpiolib-cdev.c | 137 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags() 683 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup() 687 flags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in hte_edge_setup() 789 if (test_bit(FLAG_ACTIVE_LOW, &line->desc->flags)) in debounced_value() 1003 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup() 1006 irqflags |= test_bit(FLAG_ACTIVE_LOW, &line->desc->flags) ? in edge_detector_setup() 1164 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags() 2009 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create() 2012 irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in lineevent_create() 2161 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpio_desc_to_lineinfo()
|
D | gpiolib.h | 151 #define FLAG_ACTIVE_LOW 6 /* value has active low */ macro
|
D | gpiolib.c | 2044 clear_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_free_commit() 2407 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 2592 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 2603 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() 2819 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() 3036 test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_array_value_complex() 3102 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_set_value_nocheck() 3463 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value_cansleep() 4002 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_configure_flags() [all …]
|