Lines Matching refs:val1
14 if ((value.val2 < 0) && (value.val1 >= 0)) { 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()
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()
117 printk("State of charge: %d%%\n", state_of_charge.val1); in do_main()
134 printk("State of health: %d%%\n", state_of_health.val1); in do_main()
168 full_charge_capacity.val1, full_charge_capacity.val2); in do_main()
186 remaining_charge_capacity.val1, in do_main()
202 printk("Gauge Temperature: %d.%06d C\n", int_temp.val1, in do_main()