Lines Matching defs:ma
401 static int get_charge_current(struct bd70528_psy *bdpsy, int *ma)
418 sel, ma);
428 static int get_current_limit(struct bd70528_psy *bdpsy, int *ma)
446 sel, ma);
449 *ma = 500;
518 static int set_charge_current(struct bd70528_psy *bdpsy, int ma)
524 if (ma > 500) {
527 ma);
531 if (ma < 10) {
534 ma);
550 ma, ®, &found);
553 "Unsupported charge current %u mA\n", ma);
563 "Unsupported charge current %u mA\n", ma);
591 static int set_current_limit(struct bd70528_psy *bdpsy, int ma)
597 if (ma > 500) {
600 ma);
604 if (ma < 5) {
607 ma);
615 ma, ®, &found);
617 dev_err(bdpsy->dev, "Unsupported current limit %umA\n", ma);
627 dev_warn(bdpsy->dev, "Unsupported current limit %umA\n", ma);