Home
last modified time | relevance | path

Searched refs:pwr_rdy (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/power/supply/
H A Dmt6360_charger.c133 bool pwr_rdy; member
165 bool *pwr_rdy) in mt6360_get_chrdet_ext_stat()
173 *pwr_rdy = (regval & MT6360_CHRDET_EXT_MASK) ? true : false; in mt6360_get_chrdet_ext_stat()
181 bool pwr_rdy; in mt6360_charger_get_online() local
183 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_online()
186 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online()
195 bool pwr_rdy; in mt6360_charger_get_status() local
197 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_status()
200 if (!pwr_rdy) { in mt6360_charger_get_status()
663 bool pwr_rdy; in mt6360_handle_chrdet_ext_evt() local
164 mt6360_get_chrdet_ext_stat(struct mt6360_chg_info *mci, bool *pwr_rdy) mt6360_get_chrdet_ext_stat() argument
[all...]
H A Dmt6370-charger.c102 bool pwr_rdy; member
512 bool pwr_rdy = !!val->intval; in mt6370_chg_set_online() local
515 if (pwr_rdy == !!priv->attach) { in mt6370_chg_set_online()
516 dev_err(priv->dev, "pwr_rdy is same(%d)\n", pwr_rdy); in mt6370_chg_set_online()
521 priv->attach = pwr_rdy; in mt6370_chg_set_online()
H A Drt9455_charger.c354 unsigned int v, pwr_rdy; in rt9455_charger_get_status() local
358 &pwr_rdy); in rt9455_charger_get_status()
368 if (!pwr_rdy) { in rt9455_charger_get_status()
1447 unsigned int pwr_rdy; in rt9455_pwr_rdy_work_callback() local
1450 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], &pwr_rdy); in rt9455_pwr_rdy_work_callback()
1455 switch (pwr_rdy) { in rt9455_pwr_rdy_work_callback()
/kernel/linux/linux-5.10/drivers/power/supply/
H A 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()

Completed in 7 milliseconds