Searched refs:FLAG_OPEN_DRAIN (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/gpio/ |
D | gpiolib-legacy.c | 37 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpio_request_one()
|
D | gpiolib.h | 157 #define FLAG_OPEN_DRAIN 7 /* Gpio is open drain type */ macro
|
D | gpiolib.c | 226 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && in gpiod_get_direction() 2050 clear_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_free_commit() 2425 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiod_direction_output() 3047 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && !raw) { in gpiod_set_array_value_complex() 3108 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpiod_set_value_nocheck() 3297 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiochip_lock_as_irq() 3365 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)); in gpiochip_enable_irq() 3409 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_drain() 4009 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags() 4017 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
|
D | gpiolib-cdev.c | 183 assign_bit(FLAG_OPEN_DRAIN, flagsp, in linehandle_flags_to_desc_flags() 1233 assign_bit(FLAG_OPEN_DRAIN, flagsp, in gpio_v2_line_config_flags_to_desc_flags() 2286 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpio_desc_to_lineinfo()
|