Lines Matching refs:gpio_detect
146 bool gpio_detect; member
217 chip->gpio_detect) { in sbs_get_battery_presence_and_health()
516 if (!chip->gpio_detect && in sbs_get_property()
701 chip->gpio_detect = false; in sbs_probe()
717 chip->gpio_detect = gpio_is_valid(pdata->battery_detect); in sbs_probe()
723 if (!chip->gpio_detect) in sbs_probe()
729 chip->gpio_detect = false; in sbs_probe()
737 chip->gpio_detect = false; in sbs_probe()
745 chip->gpio_detect = false; in sbs_probe()
755 chip->gpio_detect = false; in sbs_probe()
782 if (chip->gpio_detect) in sbs_probe()
799 if (chip->gpio_detect) in sbs_remove()