Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mmc/core/
Dslot-gpio.c21 struct gpio_desc *cd_gpio; member
78 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()
/linux-6.1.9/arch/arm/mach-pxa/
Dviper-pcmcia.h6 int cd_gpio; member
Dviper-pcmcia.c43 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
Dzeus.c500 .cd_gpio = ZEUS_CF_CD_GPIO,
Dviper.c92 .cd_gpio = VIPER_CF_CD_GPIO,