Lines Matching defs:usb
304 struct qcom_battmgr_usb usb;
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;
807 .name = "qcom-battmgr-usb",
827 .name = "qcom-battmgr-usb",
1058 battmgr->usb.online = source == BATTMGR_CHARGING_SOURCE_USB;
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);