Home
last modified time | relevance | path

Searched refs:gpio_cd (Results 1 – 25 of 33) sorted by relevance

12

/linux-3.4.99/drivers/pcmcia/ !
Dsa1100_nanoengine.c42 int gpio_cd; member
49 .gpio_cd = GPIO_PC_CD0,
53 .gpio_cd = GPIO_PC_CD1,
73 skt->stat[SOC_STAT_CD].gpio = nano_skts[i].gpio_cd; in nanoengine_pcmcia_hw_init()
/linux-3.4.99/arch/arm/mach-ux500/ !
Dboard-mop500-sdi.c126 mop500_sdi0_data.gpio_cd = GPIO_SDMMC_CD; in mop500_sdi_tc35892_init()
159 .gpio_cd = -1,
197 .gpio_cd = -1,
235 .gpio_cd = -1,
265 mop500_sdi0_data.gpio_cd = SNOWBALL_SDMMC_CD_GPIO; in snowball_sdi_init()
279 mop500_sdi0_data.gpio_cd = HREFV60_SDMMC_CD_GPIO; in hrefv60_sdi_init()
Dboard-u5500-sdi.c60 .gpio_cd = -1,
/linux-3.4.99/drivers/mmc/host/ !
Dpxamci.c581 int ret, irq, gpio_cd = -1, gpio_ro = -1, gpio_power = -1; in pxamci_probe() local
708 gpio_cd = host->pdata->gpio_card_detect; in pxamci_probe()
729 if (gpio_is_valid(gpio_cd)) { in pxamci_probe()
730 ret = gpio_request(gpio_cd, "mmc card detect"); in pxamci_probe()
732 dev_err(&pdev->dev, "Failed requesting gpio_cd %d\n", gpio_cd); in pxamci_probe()
735 gpio_direction_input(gpio_cd); in pxamci_probe()
737 ret = request_irq(gpio_to_irq(gpio_cd), pxamci_detect_irq, in pxamci_probe()
759 gpio_free(gpio_cd); in pxamci_probe()
784 int gpio_cd = -1, gpio_ro = -1, gpio_power = -1; in pxamci_remove() local
794 gpio_cd = host->pdata->gpio_card_detect; in pxamci_remove()
[all …]
Dmmci.c1165 if (host->gpio_cd == -ENOSYS) { in mmci_get_cd()
1171 status = !!gpio_get_value_cansleep(host->gpio_cd) in mmci_get_cd()
1228 host->gpio_cd = -ENOSYS; in mmci_probe()
1359 if (gpio_is_valid(plat->gpio_cd)) { in mmci_probe()
1360 ret = gpio_request(plat->gpio_cd, DRIVER_NAME " (cd)"); in mmci_probe()
1362 ret = gpio_direction_input(plat->gpio_cd); in mmci_probe()
1364 host->gpio_cd = plat->gpio_cd; in mmci_probe()
1375 ret = request_any_context_irq(gpio_to_irq(plat->gpio_cd), in mmci_probe()
1380 host->gpio_cd_irq = gpio_to_irq(plat->gpio_cd); in mmci_probe()
1392 if ((host->plat->status || host->gpio_cd != -ENOSYS) in mmci_probe()
[all …]
Dmmci.h173 int gpio_cd; member
/linux-3.4.99/arch/arm/mach-omap2/ !
Dboard-omap3logic.c108 .gpio_cd = -EINVAL,
118 board_mmc_info[0].gpio_cd = OMAP3530_LV_SOM_MMC_GPIO_CD; in board_mmc_init()
124 board_mmc_info[0].gpio_cd = OMAP3_TORPEDO_MMC_GPIO_CD; in board_mmc_init()
Dboard-omap3pandora.c278 .gpio_cd = -EINVAL,
286 .gpio_cd = -EINVAL,
295 .gpio_cd = -EINVAL,
308 omap3pandora_mmc[0].gpio_cd = gpio + 0; in omap3pandora_twl_gpio_setup()
309 omap3pandora_mmc[1].gpio_cd = gpio + 1; in omap3pandora_twl_gpio_setup()
Dboard-zoom-peripherals.c213 .gpio_cd = -EINVAL,
223 .gpio_cd = -EINVAL,
235 mmc[0].gpio_cd = gpio + 0; in zoom_twl_gpio_setup()
Dhsmmc.h25 int gpio_cd; /* or -EINVAL */ member
Dboard-am3517evm.c351 .gpio_cd = 127,
357 .gpio_cd = 128,
Dboard-igep0020.c296 .gpio_cd = -EINVAL,
304 .gpio_cd = -EINVAL,
405 mmc[0].gpio_cd = gpio + 0; in igep_twl_gpio_setup()
Dboard-omap3evm.c309 .gpio_cd = -EINVAL,
319 .gpio_cd = -EINVAL,
356 mmc[0].gpio_cd = gpio + 0; in omap3evm_twl_gpio_setup()
Dboard-omap3stalker.c206 .gpio_cd = -EINVAL,
278 mmc[0].gpio_cd = gpio + 0; in omap3stalker_twl_gpio_setup()
Dboard-rm680.c111 .gpio_cd = -EINVAL,
Dboard-cm-t35.c429 .gpio_cd = -EINVAL,
437 .gpio_cd = -EINVAL,
488 mmc[0].gpio_cd = gpio + 0; in cm_t35_twl_gpio_setup()
Dboard-overo.c302 .gpio_cd = -EINVAL,
308 .gpio_cd = -EINVAL,
Dboard-3430sdp.c252 mmc[0].gpio_cd = gpio + 0; in sdp3430_twl_gpio_setup()
253 mmc[1].gpio_cd = gpio + 1; in sdp3430_twl_gpio_setup()
Dboard-omap4panda.c190 .gpio_cd = -EINVAL,
197 .gpio_cd = -EINVAL,
Dboard-4430sdp.c433 .gpio_cd = -EINVAL,
442 .gpio_cd = -EINVAL,
449 .gpio_cd = -EINVAL,
Dboard-2430sdp.c250 .gpio_cd = -EINVAL,
Dhsmmc.c327 mmc->slots[0].switch_pin = c->gpio_cd; in omap_hsmmc_pdata_init()
457 mmc_pdata->slots[0].switch_pin = c->gpio_cd; in omap_hsmmc_late_init()
/linux-3.4.99/include/linux/amba/ !
Dmmci.h68 int gpio_cd; member
/linux-3.4.99/arch/arm/mach-versatile/ !
Dversatile_pb.c48 .gpio_cd = -1,
/linux-3.4.99/arch/arm/mach-realview/ !
Dcore.c217 .gpio_cd = 16,
225 .gpio_cd = 18,

12