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

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

Completed in 130 milliseconds