Searched refs:msg_battery (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/power/
H A Dipaq_micro_battery.c56 struct ipaq_micro_msg msg_battery = { micro_battery_work() local
64 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); micro_battery_work()
65 if (msg_battery.rx_len < 4) micro_battery_work()
78 mb->ac = msg_battery.rx_data[0]; micro_battery_work()
79 mb->chemistry = msg_battery.rx_data[1]; micro_battery_work()
80 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + micro_battery_work()
81 msg_battery.rx_data[2]) * 5000L) * 1000 / 1024; micro_battery_work()
82 mb->flag = msg_battery.rx_data[4]; micro_battery_work()
84 if (msg_battery.rx_len == 9) micro_battery_work()

Completed in 43 milliseconds