Lines Matching refs:gpio_detect
162 bool gpio_detect; member
304 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()
919 if (chip->gpio_detect) in sbs_probe()
933 if (chip->gpio_detect) in sbs_remove()