Lines Matching refs:inlmt
176 int inlmt; member
242 int inlmt) in axp288_charger_set_vbus_inlmt() argument
253 if (inlmt <= ILIM_100MA) { in axp288_charger_set_vbus_inlmt()
255 inlmt = ILIM_100MA; in axp288_charger_set_vbus_inlmt()
256 } else if (inlmt <= ILIM_500MA) { in axp288_charger_set_vbus_inlmt()
258 inlmt = ILIM_500MA; in axp288_charger_set_vbus_inlmt()
259 } else if (inlmt <= ILIM_900MA) { in axp288_charger_set_vbus_inlmt()
261 inlmt = ILIM_900MA; in axp288_charger_set_vbus_inlmt()
262 } else if (inlmt <= ILIM_1500MA) { in axp288_charger_set_vbus_inlmt()
264 inlmt = ILIM_1500MA; in axp288_charger_set_vbus_inlmt()
265 } else if (inlmt <= ILIM_2000MA) { in axp288_charger_set_vbus_inlmt()
267 inlmt = ILIM_2000MA; in axp288_charger_set_vbus_inlmt()
268 } else if (inlmt <= ILIM_2500MA) { in axp288_charger_set_vbus_inlmt()
270 inlmt = ILIM_2500MA; in axp288_charger_set_vbus_inlmt()
273 inlmt = ILIM_3000MA; in axp288_charger_set_vbus_inlmt()
280 info->inlmt = inlmt; in axp288_charger_set_vbus_inlmt()
469 val->intval = info->inlmt * 1000; in axp288_charger_usb_get_property()