Lines Matching refs:val1
91 shell_fprintf(sh, SHELL_NORMAL, "Temp: %.1d.%02d C\n", temp.val1, in cmd_battery()
93 shell_fprintf(sh, SHELL_NORMAL, "V: %5d.%02d V\n", volt.val1, in cmd_battery()
96 v_desired.val1, v_desired.val2 / 10000); in cmd_battery()
97 shell_fprintf(sh, SHELL_NORMAL, "I: %d mA", current.val1); in cmd_battery()
98 if (current.val1 > 0) { in cmd_battery()
100 } else if (current.val1 < 0) { in cmd_battery()
105 i_desired.val1); in cmd_battery()
106 allowed = i_desired.val1 && v_desired.val2 && charge.val1 < 100; in cmd_battery()
109 shell_fprintf(sh, SHELL_NORMAL, "Charge: %d %%\n", charge.val1); in cmd_battery()
111 v_design.val1, v_design.val2 / 10000); in cmd_battery()
113 charge_remain.val1); in cmd_battery()
114 shell_fprintf(sh, SHELL_NORMAL, "Cap-full: %d mA\n", cap.val1); in cmd_battery()
115 shell_fprintf(sh, SHELL_NORMAL, "Design: %d mA\n", nom_cap.val1); in cmd_battery()
117 full.val1 / 60, full.val1 % 60); in cmd_battery()
119 empty.val1 / 60, empty.val1 % 60); in cmd_battery()