Lines Matching refs:is_present
194 bool is_present;
232 static int sbs_update_presence(struct sbs_info *chip, bool is_present)
239 if (chip->is_present == is_present)
242 if (!is_present) {
243 chip->is_present = false;
270 chip->is_present = true;
291 if (!chip->is_present && is_present && !chip->charger_broadcasts)
294 chip->is_present = true;
968 if (!chip->gpio_detect && chip->is_present != (ret >= 0)) {
969 bool old_present = chip->is_present;
976 if (old_present != chip->is_present)
987 } else if (!chip->is_present) {
1213 if (chip->is_present && ret < 0)