Searched refs:gpio_detect (Results 1 – 9 of 9) sorted by relevance
162 bool gpio_detect; member304 chip->gpio_detect) { in sbs_get_battery_presence_and_health()637 if (!chip->gpio_detect && in sbs_get_property()830 chip->gpio_detect = false; in sbs_probe()842 chip->gpio_detect = gpio_is_valid(pdata->battery_detect); in sbs_probe()848 if (!chip->gpio_detect) in sbs_probe()854 chip->gpio_detect = false; in sbs_probe()862 chip->gpio_detect = false; in sbs_probe()870 chip->gpio_detect = false; in sbs_probe()880 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()256 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),
466 .gpio_detect = S3C2410_GPF(5),
557 .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()