Searched refs:cd_gpio (Results 1 – 4 of 4) sorted by relevance
23 struct gpio_desc *cd_gpio; member89 if (!ctx || !ctx->cd_gpio) in mmc_gpio_get_cd()92 cansleep = gpiod_cansleep(ctx->cd_gpio); in mmc_gpio_get_cd()94 gpiod_get_value_cansleep(ctx->cd_gpio) : in mmc_gpio_get_cd()95 gpiod_get_value(ctx->cd_gpio); in mmc_gpio_get_cd()105 if (host->slot.cd_irq >= 0 || !ctx || !ctx->cd_gpio) in mmc_gpiod_request_cd_irq()113 irq = gpiod_to_irq(ctx->cd_gpio); in mmc_gpiod_request_cd_irq()206 ctx->cd_gpio = desc; in mmc_gpiod_request_cd()216 return ctx->cd_gpio ? true : false; in mmc_can_gpio_cd()
45 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
163 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()2160 slot->cd_gpio = -EINVAL; in sdhci_pci_probe_slot()2176 slot->cd_gpio = slot->data->cd_gpio; in sdhci_pci_probe_slot()2255 !gpio_is_valid(slot->cd_gpio) && slot->cd_idx < 0) in sdhci_pci_probe_slot()