Lines Matching refs:intval

132 		} intval;
500 val->intval = battmgr->status.status;
503 val->intval = battmgr->info.charge_type;
506 val->intval = battmgr->status.health;
509 val->intval = battmgr->info.present;
512 val->intval = battmgr->info.technology;
515 val->intval = battmgr->info.cycle_count;
518 val->intval = battmgr->info.voltage_max_design;
521 val->intval = battmgr->info.voltage_max;
524 val->intval = battmgr->status.voltage_now;
527 val->intval = battmgr->status.voltage_ocv;
530 val->intval = battmgr->status.current_now;
533 val->intval = battmgr->status.power_now;
538 val->intval = battmgr->info.design_capacity;
543 val->intval = battmgr->info.last_full_capacity;
548 val->intval = battmgr->info.capacity_low;
553 val->intval = battmgr->status.capacity;
556 val->intval = battmgr->info.charge_count;
561 val->intval = battmgr->info.design_capacity;
566 val->intval = battmgr->info.last_full_capacity;
571 val->intval = battmgr->info.capacity_low;
576 val->intval = battmgr->status.capacity;
579 val->intval = battmgr->status.percent;
582 val->intval = battmgr->status.temperature;
585 val->intval = battmgr->status.discharge_time;
588 val->intval = battmgr->status.charge_time;
591 val->intval = battmgr->info.year;
594 val->intval = battmgr->info.month;
597 val->intval = battmgr->info.day;
694 val->intval = battmgr->ac.online;
762 val->intval = battmgr->usb.online;
765 val->intval = battmgr->usb.voltage_now;
768 val->intval = battmgr->usb.voltage_max;
771 val->intval = battmgr->usb.current_now;
774 val->intval = battmgr->usb.current_max;
777 val->intval = battmgr->usb.current_limit;
780 val->intval = battmgr->usb.usb_type;
881 val->intval = battmgr->wireless.online;
884 val->intval = battmgr->wireless.voltage_now;
887 val->intval = battmgr->wireless.voltage_max;
890 val->intval = battmgr->wireless.current_now;
893 val->intval = battmgr->wireless.current_max;
1092 property = le32_to_cpu(resp->intval.property);
1102 if (payload_len != sizeof(resp->intval)) {
1110 battmgr->error = le32_to_cpu(resp->intval.result);
1117 battmgr->status.status = le32_to_cpu(resp->intval.value);
1120 battmgr->status.health = le32_to_cpu(resp->intval.value);
1123 battmgr->info.present = le32_to_cpu(resp->intval.value);
1126 battmgr->info.charge_type = le32_to_cpu(resp->intval.value);
1129 battmgr->status.percent = le32_to_cpu(resp->intval.value) / 100;
1132 battmgr->status.voltage_ocv = le32_to_cpu(resp->intval.value);
1135 battmgr->status.voltage_now = le32_to_cpu(resp->intval.value);
1138 battmgr->info.voltage_max = le32_to_cpu(resp->intval.value);
1141 battmgr->status.current_now = le32_to_cpu(resp->intval.value);
1144 val = le32_to_cpu(resp->intval.value);
1148 battmgr->info.technology = le32_to_cpu(resp->intval.value);
1151 battmgr->info.charge_count = le32_to_cpu(resp->intval.value);
1154 battmgr->info.cycle_count = le32_to_cpu(resp->intval.value);
1157 battmgr->info.design_capacity = le32_to_cpu(resp->intval.value);
1160 battmgr->info.last_full_capacity = le32_to_cpu(resp->intval.value);
1166 battmgr->status.charge_time = le32_to_cpu(resp->intval.value);
1169 battmgr->status.discharge_time = le32_to_cpu(resp->intval.value);
1172 battmgr->status.power_now = le32_to_cpu(resp->intval.value);
1180 property = le32_to_cpu(resp->intval.property);
1181 if (payload_len != sizeof(resp->intval)) {
1189 battmgr->error = le32_to_cpu(resp->intval.result);
1195 battmgr->usb.online = le32_to_cpu(resp->intval.value);
1198 battmgr->usb.voltage_now = le32_to_cpu(resp->intval.value);
1201 battmgr->usb.voltage_max = le32_to_cpu(resp->intval.value);
1204 battmgr->usb.current_now = le32_to_cpu(resp->intval.value);
1207 battmgr->usb.current_max = le32_to_cpu(resp->intval.value);
1210 battmgr->usb.current_limit = le32_to_cpu(resp->intval.value);
1213 battmgr->usb.usb_type = le32_to_cpu(resp->intval.value);
1221 property = le32_to_cpu(resp->intval.property);
1222 if (payload_len != sizeof(resp->intval)) {
1230 battmgr->error = le32_to_cpu(resp->intval.result);
1236 battmgr->wireless.online = le32_to_cpu(resp->intval.value);
1239 battmgr->wireless.voltage_now = le32_to_cpu(resp->intval.value);
1242 battmgr->wireless.voltage_max = le32_to_cpu(resp->intval.value);
1245 battmgr->wireless.current_now = le32_to_cpu(resp->intval.value);
1248 battmgr->wireless.current_max = le32_to_cpu(resp->intval.value);