Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-legacy.c37 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpio_request_one()
Dgpiolib.h108 #define FLAG_OPEN_DRAIN 7 /* Gpio is open drain type */ macro
Dgpiolib.c223 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && in gpiod_get_direction()
2139 clear_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_free_commit()
2473 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiod_direction_output()
3033 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && !raw) { in gpiod_set_array_value_complex()
3092 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpiod_set_value_nocheck()
3281 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiochip_lock_as_irq()
3349 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)); in gpiochip_enable_irq()
3393 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_drain()
3915 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
3923 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
Dgpiolib-cdev.c138 assign_bit(FLAG_OPEN_DRAIN, flagsp, in linehandle_flags_to_desc_flags()
964 assign_bit(FLAG_OPEN_DRAIN, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1951 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpio_desc_to_lineinfo()