Searched refs:cd_gpio (Results 1 – 5 of 5) sorted by relevance
21 struct gpio_desc *cd_gpio; member78 if (!ctx || !ctx->cd_gpio) in mmc_gpio_get_cd()81 cansleep = gpiod_cansleep(ctx->cd_gpio); in mmc_gpio_get_cd()83 gpiod_get_value_cansleep(ctx->cd_gpio) : in mmc_gpio_get_cd()84 gpiod_get_value(ctx->cd_gpio); in mmc_gpio_get_cd()94 if (host->slot.cd_irq >= 0 || !ctx || !ctx->cd_gpio) in mmc_gpiod_request_cd_irq()102 irq = gpiod_to_irq(ctx->cd_gpio); in mmc_gpiod_request_cd_irq()199 ctx->cd_gpio = desc; in mmc_gpiod_request_cd()209 return ctx->cd_gpio ? true : false; in mmc_can_gpio_cd()
6 int cd_gpio; member
43 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
500 .cd_gpio = ZEUS_CF_CD_GPIO,
92 .cd_gpio = VIPER_CF_CD_GPIO,