Home
last modified time | relevance | path

Searched full:power_good (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/power/supply/
H A Dbq24257_charger.c74 bool power_good; member
310 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 …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc4282.yaml114 enum: [power_bad, power_good]
115 default: power_good
155 adi,gpio1-mode = "power_good";
/linux/drivers/hwmon/
H A Dltc4282.c1271 "power_bad", "power_good"