Home
last modified time | relevance | path

Searched refs:FLAG_OPEN_DRAIN (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/gpio/
Dgpiolib-legacy.c37 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpio_request_one()
Dgpiolib.h152 #define FLAG_OPEN_DRAIN 7 /* Gpio is open drain type */ macro
Dgpiolib.c226 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && in gpiod_get_direction()
2046 clear_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_free_commit()
2421 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiod_direction_output()
3043 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && !raw) { in gpiod_set_array_value_complex()
3104 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpiod_set_value_nocheck()
3293 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiochip_lock_as_irq()
3361 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)); in gpiochip_enable_irq()
3405 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_drain()
4005 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
4013 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
Dgpiolib-cdev.c139 assign_bit(FLAG_OPEN_DRAIN, flagsp, in linehandle_flags_to_desc_flags()
1177 assign_bit(FLAG_OPEN_DRAIN, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
2164 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpio_desc_to_lineinfo()