Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-legacy.c37 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpio_request_one()
Dgpiolib.h160 #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()
2058 clear_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_free_commit()
2433 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiod_direction_output()
3055 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && !raw) { in gpiod_set_array_value_complex()
3116 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in gpiod_set_value_nocheck()
3305 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) { in gpiochip_lock_as_irq()
3373 !test_bit(FLAG_OPEN_DRAIN, &desc->flags)); in gpiochip_enable_irq()
3417 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_drain()
4017 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
4025 set_bit(FLAG_OPEN_DRAIN, &desc->flags); in gpiod_configure_flags()
Dgpiolib-cdev.c183 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()