Lines Matching refs:val2
14 if ((value.val2 < 0) && (value.val1 >= 0)) { in bq274xx_show_values()
15 value.val2 = -(value.val2); in bq274xx_show_values()
16 printk("%s: -%d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
17 } else if ((value.val2 > 0) && (value.val1 < 0)) { in bq274xx_show_values()
18 printk("%s: %d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
19 } else if ((value.val2 < 0) && (value.val1 < 0)) { in bq274xx_show_values()
20 value.val2 = -(value.val2); in bq274xx_show_values()
21 printk("%s: %d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
23 printk("%s: %d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
49 printk("Voltage: %d.%06dV\n", voltage.val1, voltage.val2); in do_main()
168 full_charge_capacity.val1, full_charge_capacity.val2); in do_main()
187 remaining_charge_capacity.val2); in do_main()
203 int_temp.val2); in do_main()