/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | slot-gpio.c | 26 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...] |
H A D | core.h | 77 bool cd_irq);
|
H A D | core.c | 1413 void _mmc_detect_change(struct mmc_host *host, unsigned long delay, bool cd_irq) in _mmc_detect_change() argument 1420 if (cd_irq && !(host->caps & MMC_CAP_NEEDS_POLL)) in _mmc_detect_change() 2299 if (host->slot.cd_irq >= 0) { in __mmc_stop_host() 2301 disable_irq(host->slot.cd_irq); in __mmc_stop_host()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | slot-gpio.c | 56 host->slot.cd_irq = -EINVAL; in mmc_gpio_alloc() 98 if (host->slot.cd_irq >= 0 || !ctx || !ctx->cd_gpio) in mmc_gpiod_request_cd_irq() 119 host->slot.cd_irq = irq; in mmc_gpiod_request_cd_irq() 131 host->slot.cd_irq < 0 || in mmc_gpio_set_cd_wake() 136 ret = enable_irq_wake(host->slot.cd_irq); in mmc_gpio_set_cd_wake() 139 disable_irq_wake(host->slot.cd_irq); in mmc_gpio_set_cd_wake()
|
H A D | core.h | 76 bool cd_irq);
|
H A D | core.c | 1469 void _mmc_detect_change(struct mmc_host *host, unsigned long delay, bool cd_irq) in _mmc_detect_change() argument 1476 if (cd_irq && !(host->caps & MMC_CAP_NEEDS_POLL)) in _mmc_detect_change() 2348 if (host->slot.cd_irq >= 0) { in __mmc_stop_host() 2350 disable_irq(host->slot.cd_irq); in __mmc_stop_host()
|
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/ |
H A D | platform.h | 14 int cd_irq,
|
H A D | platform.c | 75 int cd_irq, in db1x_register_pcmcia_socket() 117 sr[3].start = sr[3].end = cd_irq; in db1x_register_pcmcia_socket() 68 db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start, phys_addr_t pcmcia_attr_end, phys_addr_t pcmcia_mem_start, phys_addr_t pcmcia_mem_end, phys_addr_t pcmcia_io_start, phys_addr_t pcmcia_io_end, int card_irq, int cd_irq, int stschg_irq, int eject_irq, int id) db1x_register_pcmcia_socket() argument
|
/kernel/linux/linux-6.6/arch/mips/alchemy/devboards/ |
H A D | platform.h | 14 int cd_irq,
|
H A D | platform.c | 75 int cd_irq, in db1x_register_pcmcia_socket() 117 sr[3].start = sr[3].end = cd_irq; in db1x_register_pcmcia_socket() 68 db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start, phys_addr_t pcmcia_attr_end, phys_addr_t pcmcia_mem_start, phys_addr_t pcmcia_mem_end, phys_addr_t pcmcia_io_start, phys_addr_t pcmcia_io_end, int card_irq, int cd_irq, int stschg_irq, int eject_irq, int id) db1x_register_pcmcia_socket() argument
|
/kernel/linux/linux-5.10/arch/arm/include/asm/hardware/ |
H A D | scoop.h | 51 int cd_irq; member
|
/kernel/linux/linux-6.6/arch/arm/include/asm/hardware/ |
H A D | scoop.h | 51 int cd_irq; member
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | pxa2xx_sharpsl.c | 45 if (SCOOP_DEV[skt->nr].cd_irq >= 0) { in sharpsl_pcmcia_hw_init() 46 skt->stat[SOC_STAT_CD].irq = SCOOP_DEV[skt->nr].cd_irq; in sharpsl_pcmcia_hw_init()
|
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | pxa2xx_sharpsl.c | 44 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()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | sdhci-pci.h | 164 int cd_irq; member
|
H A D | sdhci-pci-core.c | 364 slot->cd_irq = -EINVAL; in sdhci_pci_add_own_cd() 387 slot->cd_irq = irq; in sdhci_pci_add_own_cd() 399 if (slot->cd_irq >= 0) in sdhci_pci_remove_own_cd() 400 free_irq(slot->cd_irq, slot); in sdhci_pci_remove_own_cd()
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | spitz.c | 252 .cd_irq = SPITZ_IRQ_GPIO_CF_CD, 257 .cd_irq = -1,
|
H A D | tosa.c | 225 .cd_irq = TOSA_IRQ_GPIO_CF_CD, 230 .cd_irq = -1,
|
H A D | poodle.c | 147 .cd_irq = POODLE_IRQ_GPIO_CF_CD,
|
/kernel/linux/linux-6.6/arch/arm/mach-pxa/ |
H A D | spitz.c | 252 .cd_irq = SPITZ_IRQ_GPIO_CF_CD, 257 .cd_irq = -1,
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
H A D | collie.c | 81 .cd_irq = COLLIE_IRQ_GPIO_CF_CD,
|
/kernel/linux/linux-6.6/arch/arm/mach-sa1100/ |
H A D | collie.c | 80 .cd_irq = COLLIE_IRQ_GPIO_CF_CD,
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | meson-gx-mmc.c | 1144 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()
|
/kernel/linux/linux-5.10/include/linux/mmc/ |
H A D | host.h | 235 * @cd_irq: MMC/SD-card slot hotplug detection IRQ or -EINVAL 244 int cd_irq; member
|
/kernel/linux/linux-6.6/include/linux/mmc/ |
H A D | host.h | 280 * @cd_irq: MMC/SD-card slot hotplug detection IRQ or -EINVAL 289 int cd_irq; member
|