Searched refs:gpio_detect (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/include/linux/platform_data/
H A Dmmc-s3cmci.h11 * @gpio_detect: GPIO number for the card detect line.
16 * The @gpio_detect is used for card detection when @no_wprotect is unset,
36 unsigned int gpio_detect; member in struct:s3c24xx_mci_pdata
/linux-4.1.27/drivers/power/
H A Dsbs-battery.c162 bool gpio_detect; member in struct:sbs_info
304 chip->gpio_detect) { sbs_get_battery_presence_and_health()
637 if (!chip->gpio_detect && sbs_get_property()
830 chip->gpio_detect = false; sbs_probe()
842 chip->gpio_detect = gpio_is_valid(pdata->battery_detect); sbs_probe()
848 if (!chip->gpio_detect) sbs_probe()
854 chip->gpio_detect = false; sbs_probe()
862 chip->gpio_detect = false; sbs_probe()
870 chip->gpio_detect = false; sbs_probe()
880 chip->gpio_detect = false; sbs_probe()
919 if (chip->gpio_detect) sbs_probe()
933 if (chip->gpio_detect) sbs_remove()
/linux-4.1.27/drivers/pcmcia/
H A Delectra_cf.c59 int gpio_detect; member in struct:electra_cf_socket
73 return !(gpio & (1 << cf->gpio_detect)); electra_cf_present()
256 cf->gpio_detect = *prop; electra_cf_probe()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-at2440evb.c143 .gpio_detect = S3C2410_GPG(10),
H A Dmach-h1940.c466 .gpio_detect = S3C2410_GPF(5),
H A Dmach-mini2440.c240 .gpio_detect = S3C2410_GPG(8),
H A Dmach-n30.c356 .gpio_detect = S3C2410_GPF(1),
H A Dmach-rx1950.c557 .gpio_detect = S3C2410_GPF(5),
/linux-4.1.27/drivers/mmc/host/
H A Ds3cmci.c1190 ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1; s3cmci_card_present()
1650 ret = gpio_request(host->pdata->gpio_detect, "s3cmci detect"); s3cmci_probe()
1656 host->irq_cd = gpio_to_irq(host->pdata->gpio_detect); s3cmci_probe()
1671 gpio_direction_input(host->pdata->gpio_detect); s3cmci_probe()
1784 gpio_free(host->pdata->gpio_detect); s3cmci_probe()
1846 gpio_free(pd->gpio_detect); s3cmci_remove()

Completed in 203 milliseconds