Home
last modified time | relevance | path

Searched refs:gpiod_get_direction (Results 1 – 7 of 7) sorted by relevance

/linux/include/linux/gpio/
H A Dconsumer.h109 int gpiod_get_direction(struct gpio_desc *desc);
327 static inline int gpiod_get_direction(const struct gpio_desc *desc) in gpiod_get_direction() function
/linux/drivers/gpio/
H A Dgpiolib.c353 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction() function
400 EXPORT_SYMBOL_GPL(gpiod_get_direction);
2336 gpiod_get_direction(desc); in gpiod_request_commit()
3810 int dir = gpiod_get_direction(desc); in gpiochip_lock_as_irq()
5003 gpiod_get_direction(desc); in gpiolib_dbg_show()
H A Dgpiolib-sysfs.c83 gpiod_get_direction(desc); in direction_show()
H A Dgpio-virtuser.c321 ctx->ret = gpiod_get_direction(ctx->desc); in gpio_virtuser_do_get_direction_atomic()
349 dir = gpiod_get_direction(desc); in gpio_virtuser_direction_do_read()
/linux/drivers/tty/serial/
H A Dmxs-auart.c1522 if (gpiod && (gpiod_get_direction(gpiod) == 1)) in mxs_auart_init_gpios()
/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst203 int gpiod_get_direction(const struct gpio_desc *desc)
/linux/drivers/i2c/
H A Di2c-core-base.c449 if (gpiod_get_direction(bri->sda_gpiod) == 0) in i2c_init_recovery()