Searched refs:cd_gpio (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | slot-gpio.c | 21 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/ |
D | pcmcia-pxa2xx_viper.h | 6 int cd_gpio; member
|
/kernel/linux/linux-5.10/include/linux/mmc/ |
D | sdhci-pci-data.h | 11 int cd_gpio; /* Set to -EINVAL if unused */ member
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/ |
D | platform_mrfld_sd.c | 21 .cd_gpio = INTEL_MRFLD_SD_CD_GPIO,
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | pxa2xx_viper.c | 45 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sdhci-pci.h | 163 int cd_gpio; member
|
D | sdhci-pci-core.c | 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() 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/ |
D | viper.c | 92 .cd_gpio = VIPER_CF_CD_GPIO,
|
D | zeus.c | 496 .cd_gpio = ZEUS_CF_CD_GPIO,
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch | 5051 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/ |
D | hispark_taurus.patch | 53539 + 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/ |
D | hispark_taurus.patch | 355754 + 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;
|