Searched refs:gpio_detect (Results 1 – 9 of 9) sorted by relevance
163 bool gpio_detect; member306 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 …]
36 unsigned int gpio_detect; member
59 int gpio_detect; member73 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()258 cf->gpio_detect = *prop; in electra_cf_probe()
143 .gpio_detect = S3C2410_GPG(10),
356 .gpio_detect = S3C2410_GPF(1),
240 .gpio_detect = S3C2410_GPG(8),
467 .gpio_detect = S3C2410_GPF(5),
560 .gpio_detect = S3C2410_GPF(5),
1190 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()