Lines Matching defs:unit
294 enum qcom_battmgr_unit unit;
485 enum qcom_battmgr_unit unit = battmgr->unit;
536 if (unit != QCOM_BATTMGR_UNIT_mAh)
541 if (unit != QCOM_BATTMGR_UNIT_mAh)
546 if (unit != QCOM_BATTMGR_UNIT_mAh)
551 if (unit != QCOM_BATTMGR_UNIT_mAh)
559 if (unit != QCOM_BATTMGR_UNIT_mWh)
564 if (unit != QCOM_BATTMGR_UNIT_mWh)
569 if (unit != QCOM_BATTMGR_UNIT_mWh)
574 if (unit != QCOM_BATTMGR_UNIT_mWh)
1018 battmgr->unit = le32_to_cpu(resp->info.power_unit);