Lines Matching refs:gpio_detect
163 bool gpio_detect; member
306 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()
924 if (chip->gpio_detect) in sbs_probe()
938 if (chip->gpio_detect) in sbs_remove()