Searched refs:cd_gpio (Results 1 – 8 of 8) 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()195 ctx->cd_gpio = desc; in mmc_gpiod_request_cd()205 return ctx->cd_gpio ? true : false; in mmc_can_gpio_cd()
6 int cd_gpio; member
11 int cd_gpio; /* Set to -EINVAL if unused */ member
45 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
162 int cd_gpio; member
361 int err, irq, gpio = slot->cd_gpio; in sdhci_pci_add_own_cd()363 slot->cd_gpio = -EINVAL; in sdhci_pci_add_own_cd()386 slot->cd_gpio = gpio; in sdhci_pci_add_own_cd()2149 slot->cd_gpio = -EINVAL; in sdhci_pci_probe_slot()2165 slot->cd_gpio = slot->data->cd_gpio; in sdhci_pci_probe_slot()2244 !gpio_is_valid(slot->cd_gpio) && slot->cd_idx < 0) in sdhci_pci_probe_slot()
92 .cd_gpio = VIPER_CF_CD_GPIO,
500 .cd_gpio = ZEUS_CF_CD_GPIO,