Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/power/
Dsbs-battery.c163 bool gpio_detect; member
306 chip->gpio_detect) { in sbs_get_battery_presence_and_health()
639 if (!chip->gpio_detect && in sbs_get_property()
832 chip->gpio_detect = false; in sbs_probe()
844 chip->gpio_detect = gpio_is_valid(pdata->battery_detect); in sbs_probe()
850 if (!chip->gpio_detect) in sbs_probe()
856 chip->gpio_detect = false; in sbs_probe()
864 chip->gpio_detect = false; in sbs_probe()
872 chip->gpio_detect = false; in sbs_probe()
882 chip->gpio_detect = false; in sbs_probe()
[all …]
/linux-4.4.14/include/linux/platform_data/
Dmmc-s3cmci.h36 unsigned int gpio_detect; member
/linux-4.4.14/drivers/pcmcia/
Delectra_cf.c59 int gpio_detect; member
73 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()
258 cf->gpio_detect = *prop; in electra_cf_probe()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-at2440evb.c143 .gpio_detect = S3C2410_GPG(10),
Dmach-n30.c356 .gpio_detect = S3C2410_GPF(1),
Dmach-mini2440.c240 .gpio_detect = S3C2410_GPG(8),
Dmach-h1940.c467 .gpio_detect = S3C2410_GPF(5),
Dmach-rx1950.c560 .gpio_detect = S3C2410_GPF(5),
/linux-4.4.14/drivers/mmc/host/
Ds3cmci.c1190 ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1; in s3cmci_card_present()
1650 ret = gpio_request(host->pdata->gpio_detect, "s3cmci detect"); in s3cmci_probe()
1656 host->irq_cd = gpio_to_irq(host->pdata->gpio_detect); in s3cmci_probe()
1671 gpio_direction_input(host->pdata->gpio_detect); in s3cmci_probe()
1784 gpio_free(host->pdata->gpio_detect); in s3cmci_probe()
1846 gpio_free(pd->gpio_detect); in s3cmci_remove()