Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
195 ctx->cd_gpio = desc; in mmc_gpiod_request_cd()
205 return ctx->cd_gpio ? true : false; in mmc_can_gpio_cd()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dpcmcia-pxa2xx_viper.h6 int cd_gpio; member
/kernel/linux/linux-5.10/include/linux/mmc/
Dsdhci-pci-data.h11 int cd_gpio; /* Set to -EINVAL if unused */ member
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_sd.c21 .cd_gpio = INTEL_MRFLD_SD_CD_GPIO,
/kernel/linux/linux-5.10/drivers/pcmcia/
Dpxa2xx_viper.c45 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-pci.h163 int cd_gpio; member
Dsdhci-pci-core.c361 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()
2141 slot->cd_gpio = -EINVAL; in sdhci_pci_probe_slot()
2157 slot->cd_gpio = slot->data->cd_gpio; in sdhci_pci_probe_slot()
2236 !gpio_is_valid(slot->cd_gpio) && slot->cd_idx < 0) in sdhci_pci_probe_slot()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dviper.c92 .cd_gpio = VIPER_CF_CD_GPIO,
Dzeus.c496 .cd_gpio = ZEUS_CF_CD_GPIO,
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch5051 struct gpio_desc *cd_gpio;
5059 cansleep = gpiod_cansleep(ctx->cd_gpio);
5062 + gpiod_get_raw_value_cansleep(ctx->cd_gpio) :
5063 + gpiod_get_raw_value(ctx->cd_gpio);
5068 gpiod_get_value_cansleep(ctx->cd_gpio) :
5069 gpiod_get_value(ctx->cd_gpio);
5103 ctx->cd_gpio = desc;
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch53539 + hba->cd_gpio = of_get_named_gpio(np, "cd-gpio", 0);
53541 + hba->cd_gpio = -1;
53613 + if (gpio_is_valid(hba->cd_gpio))
53614 + ret = gpio_get_value(hba->cd_gpio) ? D_NO_DETECT : D_DETECT;
53856 + if (gpio_is_valid(hba->cd_gpio) &&
53857 + !gpio_request(hba->cd_gpio, "UFSCARD")) {
53858 + cd_irq = gpio_to_irq(hba->cd_gpio);
53937 + int cd_gpio;
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch355754 + hba->cd_gpio = of_get_named_gpio(np, "cd-gpio", 0);
355756 + hba->cd_gpio = -1;
355828 + if (gpio_is_valid(hba->cd_gpio))
355829 + ret = gpio_get_value(hba->cd_gpio) ? D_NO_DETECT : D_DETECT;
356071 + if (gpio_is_valid(hba->cd_gpio) &&
356072 + !gpio_request(hba->cd_gpio, "UFSCARD")) {
356073 + cd_irq = gpio_to_irq(hba->cd_gpio);
356152 + int cd_gpio;