Searched refs:power_good (Results 1 – 1 of 1) sorted by relevance
74 bool power_good; member310 if (!state.power_good) in bq24257_power_supply_get_property()331 val->intval = state.power_good; in bq24257_power_supply_get_property()434 state->power_good = !gpiod_get_value_cansleep(bq->pg); in bq24257_get_chip_state()448 state->power_good = false; in bq24257_get_chip_state()451 state->power_good = true; in bq24257_get_chip_state()465 bq->state.power_good != new_state->power_good); in bq24257_state_changed()608 if (!new_state->power_good) { in bq24257_handle_state_change()625 } else if (!old_state.power_good) { in bq24257_handle_state_change()658 state.status, state.fault, state.power_good); in bq24257_irq_handler_thread()[all …]