Lines Matching refs:is_present
207 bool is_present;
266 static int sbs_update_presence(struct sbs_info *chip, bool is_present)
273 if (chip->is_present == is_present)
276 if (!is_present) {
277 chip->is_present = false;
305 chip->is_present = true;
326 if (!chip->is_present && is_present && !chip->charger_broadcasts)
329 chip->is_present = true;
1011 if (!chip->gpio_detect && chip->is_present != (ret >= 0)) {
1012 bool old_present = chip->is_present;
1019 if (old_present != chip->is_present)
1030 } else if (!chip->is_present) {
1241 if (chip->is_present && ret < 0)