Lines Matching refs:cd_gpio
21 struct gpio_desc *cd_gpio;
95 if (!ctx || !ctx->cd_gpio)
98 cansleep = gpiod_cansleep(ctx->cd_gpio);
100 gpiod_get_value_cansleep(ctx->cd_gpio) :
101 gpiod_get_value(ctx->cd_gpio);
111 if (host->slot.cd_irq >= 0 || !ctx || !ctx->cd_gpio)
121 irq = gpiod_to_irq(ctx->cd_gpio);
205 ctx->cd_gpio = desc;
227 return gpiod_set_config(ctx->cd_gpio, config);
235 return ctx->cd_gpio ? true : false;