Searched refs:ecword_to_cpu (Results 1 – 1 of 1) sorted by relevance
323 static u16 ecword_to_cpu(struct olpc_battery_data *data, u16 ec_word) in ecword_to_cpu() function403 val->intval = ecword_to_cpu(data, ec_word) * 9760L / 32; in olpc_bat_get_property()411 val->intval = ecword_to_cpu(data, ec_word) * 15625L / 120; in olpc_bat_get_property()442 val->intval = ecword_to_cpu(data, ec_word) * 10 / 256; in olpc_bat_get_property()449 val->intval = (int)ecword_to_cpu(data, ec_word) * 10 / 256; in olpc_bat_get_property()456 val->intval = ecword_to_cpu(data, ec_word) * 6250 / 15; in olpc_bat_get_property()