Searched refs:mt6370_chg_field_set (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | mt6370-charger.c | 196 static inline int mt6370_chg_field_set(struct mt6370_priv *priv, in mt6370_chg_field_set() function 270 ret = mt6370_chg_field_set(priv, F_USBCHGEN, attach); in mt6370_chg_bc12_work_func() 331 ret = mt6370_chg_field_set(priv, F_CFO_EN, 0); in mt6370_chg_toggle_cfo() 338 ret = mt6370_chg_field_set(priv, F_CFO_EN, 1); in mt6370_chg_toggle_cfo() 579 return mt6370_chg_field_set(priv, F_ICHG, val->intval); in mt6370_chg_set_property() 581 return mt6370_chg_field_set(priv, F_VOREG, val->intval); in mt6370_chg_set_property() 583 return mt6370_chg_field_set(priv, F_IAICR, val->intval); in mt6370_chg_set_property() 585 return mt6370_chg_field_set(priv, F_VMIVR, val->intval); in mt6370_chg_set_property() 587 return mt6370_chg_field_set(priv, F_IPREC, val->intval); in mt6370_chg_set_property() 589 return mt6370_chg_field_set(priv, F_IEOC, val->intval); in mt6370_chg_set_property() [all …]
|