Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpio/
Dgpiolib.h177 #define FLAG_OPEN_DRAIN 7 /* Gpio is open drain type */ macro
Dgpiolib.c246 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && in gpiod_get_direction()
2163 clear_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_free_commit()
2543 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiod_direction_output()
3165 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && !raw) { in gpiod_set_array_value_complex()
3226 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpiod_set_value_nocheck()
3415 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiochip_lock_as_irq()
3483 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)); in gpiochip_enable_irq()
3527 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_drain()
4140 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
4148 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
Dgpiolib-cdev.c185 assign_bit(FLAG_OPEN_DRAIN, flagsp, in linehandle_flags_to_desc_flags()
1244 assign_bit(FLAG_OPEN_DRAIN, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
2323 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpio_desc_to_lineinfo()