Home
last modified time | relevance | path

Searched refs:pwr_rdy (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/power/supply/
Dmt6360_charger.c136 bool pwr_rdy; member
168 bool *pwr_rdy) in mt6360_get_chrdet_ext_stat() argument
176 *pwr_rdy = (regval & MT6360_CHRDET_EXT_MASK) ? true : false; in mt6360_get_chrdet_ext_stat()
184 bool pwr_rdy; in mt6360_charger_get_online() local
186 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_online()
189 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online()
198 bool pwr_rdy; in mt6360_charger_get_status() local
200 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_status()
203 if (!pwr_rdy) { in mt6360_charger_get_status()
666 bool pwr_rdy; in mt6360_handle_chrdet_ext_evt() local
[all …]
Drt9455_charger.c355 unsigned int v, pwr_rdy; in rt9455_charger_get_status() local
359 &pwr_rdy); in rt9455_charger_get_status()
369 if (!pwr_rdy) { in rt9455_charger_get_status()
1448 unsigned int pwr_rdy; in rt9455_pwr_rdy_work_callback() local
1451 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], &pwr_rdy); in rt9455_pwr_rdy_work_callback()
1456 switch (pwr_rdy) { in rt9455_pwr_rdy_work_callback()