Searched refs:msg_battery (Results 1 – 1 of 1) sorted by relevance
53 struct ipaq_micro_msg msg_battery = { in micro_battery_work() local61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work()62 if (msg_battery.rx_len < 4) in micro_battery_work()75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work()76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work()77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work()78 msg_battery.rx_data[2]) * 5000L) * 1000 / 1024; in micro_battery_work()79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work()81 if (msg_battery.rx_len == 9) in micro_battery_work()