Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/core/
H A 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()
285 ctx->ro_gpio = desc; in mmc_gpiod_request_ro()
295 return ctx->ro_gpio ? true : false; in mmc_can_gpio_ro()