Lines Matching refs:le32_to_cpu
946 notification = le32_to_cpu(msg->notification);
998 unsigned int opcode = le32_to_cpu(resp->hdr.opcode);
1024 battmgr->unit = le32_to_cpu(resp->info.power_unit);
1027 battmgr->info.design_capacity = le32_to_cpu(resp->info.design_capacity) * 1000;
1028 battmgr->info.last_full_capacity = le32_to_cpu(resp->info.last_full_capacity) * 1000;
1029 battmgr->info.voltage_max_design = le32_to_cpu(resp->info.design_voltage) * 1000;
1030 battmgr->info.capacity_low = le32_to_cpu(resp->info.capacity_low) * 1000;
1031 battmgr->info.cycle_count = le32_to_cpu(resp->info.cycle_count);
1049 state = le32_to_cpu(resp->status.battery_state);
1057 battmgr->status.capacity = le32_to_cpu(resp->status.capacity) * 1000;
1058 battmgr->status.power_now = le32_to_cpu(resp->status.rate) * 1000;
1059 battmgr->status.voltage_now = le32_to_cpu(resp->status.battery_voltage) * 1000;
1060 battmgr->status.temperature = qcom_battmgr_sc8280xp_convert_temp(le32_to_cpu(resp->status.temperature));
1062 source = le32_to_cpu(resp->status.charging_source);
1068 battmgr->status.discharge_time = le32_to_cpu(resp->time);
1071 battmgr->status.charge_time = le32_to_cpu(resp->time);
1086 unsigned int opcode = le32_to_cpu(resp->hdr.opcode);
1098 property = le32_to_cpu(resp->intval.property);
1116 battmgr->error = le32_to_cpu(resp->intval.result);
1123 battmgr->status.status = le32_to_cpu(resp->intval.value);
1126 battmgr->status.health = le32_to_cpu(resp->intval.value);
1129 battmgr->info.present = le32_to_cpu(resp->intval.value);
1132 battmgr->info.charge_type = le32_to_cpu(resp->intval.value);
1135 battmgr->status.percent = le32_to_cpu(resp->intval.value) / 100;
1138 battmgr->status.voltage_ocv = le32_to_cpu(resp->intval.value);
1141 battmgr->status.voltage_now = le32_to_cpu(resp->intval.value);
1144 battmgr->info.voltage_max = le32_to_cpu(resp->intval.value);
1147 battmgr->status.current_now = le32_to_cpu(resp->intval.value);
1150 val = le32_to_cpu(resp->intval.value);
1154 battmgr->info.technology = le32_to_cpu(resp->intval.value);
1157 battmgr->info.charge_count = le32_to_cpu(resp->intval.value);
1160 battmgr->info.cycle_count = le32_to_cpu(resp->intval.value);
1163 battmgr->info.design_capacity = le32_to_cpu(resp->intval.value);
1166 battmgr->info.last_full_capacity = le32_to_cpu(resp->intval.value);
1172 battmgr->status.charge_time = le32_to_cpu(resp->intval.value);
1175 battmgr->status.discharge_time = le32_to_cpu(resp->intval.value);
1178 battmgr->status.power_now = le32_to_cpu(resp->intval.value);
1186 property = le32_to_cpu(resp->intval.property);
1195 battmgr->error = le32_to_cpu(resp->intval.result);
1201 battmgr->usb.online = le32_to_cpu(resp->intval.value);
1204 battmgr->usb.voltage_now = le32_to_cpu(resp->intval.value);
1207 battmgr->usb.voltage_max = le32_to_cpu(resp->intval.value);
1210 battmgr->usb.current_now = le32_to_cpu(resp->intval.value);
1213 battmgr->usb.current_max = le32_to_cpu(resp->intval.value);
1216 battmgr->usb.current_limit = le32_to_cpu(resp->intval.value);
1219 battmgr->usb.usb_type = le32_to_cpu(resp->intval.value);
1227 property = le32_to_cpu(resp->intval.property);
1236 battmgr->error = le32_to_cpu(resp->intval.result);
1242 battmgr->wireless.online = le32_to_cpu(resp->intval.value);
1245 battmgr->wireless.voltage_now = le32_to_cpu(resp->intval.value);
1248 battmgr->wireless.voltage_max = le32_to_cpu(resp->intval.value);
1251 battmgr->wireless.current_now = le32_to_cpu(resp->intval.value);
1254 battmgr->wireless.current_max = le32_to_cpu(resp->intval.value);
1277 unsigned int opcode = le32_to_cpu(hdr->opcode);