Home
last modified time | relevance | path

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

/drivers/mmc/core/
A Dslot-gpio.c26 int cd_irq; member
57 ctx->cd_irq = -EINVAL; in mmc_gpio_alloc()
59 host->slot.cd_irq = -EINVAL; in mmc_gpio_alloc()
71 ctx->cd_irq = irq; in mmc_gpio_set_cd_irq()
111 if (host->slot.cd_irq >= 0 || !ctx || !ctx->cd_gpio) in mmc_gpiod_request_cd_irq()
118 if (ctx->cd_irq >= 0) in mmc_gpiod_request_cd_irq()
119 irq = ctx->cd_irq; in mmc_gpiod_request_cd_irq()
134 host->slot.cd_irq = irq; in mmc_gpiod_request_cd_irq()
146 host->slot.cd_irq < 0 || in mmc_gpio_set_cd_wake()
151 ret = enable_irq_wake(host->slot.cd_irq); in mmc_gpio_set_cd_wake()
[all …]
A Dcore.h77 bool cd_irq);
A Dcore.c1418 void _mmc_detect_change(struct mmc_host *host, unsigned long delay, bool cd_irq) in _mmc_detect_change() argument
1425 if (cd_irq && !(host->caps & MMC_CAP_NEEDS_POLL)) in _mmc_detect_change()
2329 if (host->slot.cd_irq >= 0) { in __mmc_stop_host()
2331 disable_irq(host->slot.cd_irq); in __mmc_stop_host()
/drivers/pcmcia/
A Dpxa2xx_sharpsl.c44 if (SCOOP_DEV[skt->nr].cd_irq >= 0) { in sharpsl_pcmcia_hw_init()
45 skt->stat[SOC_STAT_CD].irq = SCOOP_DEV[skt->nr].cd_irq; in sharpsl_pcmcia_hw_init()
/drivers/mmc/host/
A Dmeson-gx-mmc.c1144 int cd_irq, ret; in meson_mmc_probe() local
1188 cd_irq = platform_get_irq_optional(pdev, 1); in meson_mmc_probe()
1189 mmc_gpio_set_cd_irq(mmc, cd_irq); in meson_mmc_probe()

Completed in 16 milliseconds