Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mmc/core/
Dslot-gpio.c20 struct gpio_desc *ro_gpio; member
80 if (!ctx || !ctx->ro_gpio) in mmc_gpio_get_ro()
83 cansleep = gpiod_cansleep(ctx->ro_gpio); in mmc_gpio_get_ro()
85 gpiod_get_value_cansleep(ctx->ro_gpio) : in mmc_gpio_get_ro()
86 gpiod_get_value(ctx->ro_gpio); in mmc_gpio_get_ro()
265 ctx->ro_gpio = desc; in mmc_gpiod_request_ro()
275 return ctx->ro_gpio ? true : false; in mmc_can_gpio_ro()