Searched refs:gpio_detect (Results 1 – 3 of 3) 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 …]
59 int gpio_detect; member73 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()258 cf->gpio_detect = *prop; in electra_cf_probe()
1191 ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1; in s3cmci_card_present()1651 ret = gpio_request(host->pdata->gpio_detect, "s3cmci detect"); in s3cmci_probe()1657 host->irq_cd = gpio_to_irq(host->pdata->gpio_detect); in s3cmci_probe()1672 gpio_direction_input(host->pdata->gpio_detect); in s3cmci_probe()1785 gpio_free(host->pdata->gpio_detect); in s3cmci_probe()1847 gpio_free(pd->gpio_detect); in s3cmci_remove()