Searched refs:pwr_rdy (Results 1 – 3 of 3) sorted by relevance
133 bool pwr_rdy; member158 bool *pwr_rdy) in mt6360_get_chrdet_ext_stat() argument166 *pwr_rdy = (regval & MT6360_CHRDET_EXT_MASK) ? true : false; in mt6360_get_chrdet_ext_stat()174 bool pwr_rdy; in mt6360_charger_get_online() local176 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_online()179 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online()188 bool pwr_rdy; in mt6360_charger_get_status() local190 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_status()193 if (!pwr_rdy) { in mt6360_charger_get_status()658 bool pwr_rdy; in mt6360_handle_chrdet_ext_evt() local[all …]
102 bool pwr_rdy; member512 bool pwr_rdy = !!val->intval; in mt6370_chg_set_online() local515 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()
356 unsigned int v, pwr_rdy; in rt9455_charger_get_status() local360 &pwr_rdy); in rt9455_charger_get_status()370 if (!pwr_rdy) { in rt9455_charger_get_status()1449 unsigned int pwr_rdy; in rt9455_pwr_rdy_work_callback() local1452 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], &pwr_rdy); in rt9455_pwr_rdy_work_callback()1457 switch (pwr_rdy) { in rt9455_pwr_rdy_work_callback()