Lines Matching refs:get_unaligned_le32
269 u32 full_cap = get_unaligned_le32(&bat->bix.last_full_charge_cap); in sprw_battery_get_full_cap_safe()
274 full_cap = get_unaligned_le32(&bat->bix.design_cap); in sprw_battery_get_full_cap_safe()
281 u32 state = get_unaligned_le32(&bat->bst.state); in spwr_battery_is_full()
283 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_is_full()
300 unit = get_unaligned_le32(&bat->bix.power_unit); in spwr_battery_recheck_full()
309 u32 cap_warn = get_unaligned_le32(&bat->bix.design_cap_warn); in spwr_battery_recheck_full()
321 WARN_ON(unit != get_unaligned_le32(&bat->bix.power_unit)); in spwr_battery_recheck_full()
466 u32 state = get_unaligned_le32(&bat->bst.state); in spwr_battery_prop_status()
467 u32 present_rate = get_unaligned_le32(&bat->bst.present_rate); in spwr_battery_prop_status()
511 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_prop_capacity()
526 u32 state = get_unaligned_le32(&bat->bst.state); in spwr_battery_prop_capacity_level()
527 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_prop_capacity_level()
576 value = get_unaligned_le32(&bat->bix.cycle_count); in spwr_battery_get_property()
584 value = get_unaligned_le32(&bat->bix.design_voltage); in spwr_battery_get_property()
592 value = get_unaligned_le32(&bat->bst.present_voltage); in spwr_battery_get_property()
601 value = get_unaligned_le32(&bat->bst.present_rate); in spwr_battery_get_property()
610 value = get_unaligned_le32(&bat->bix.design_cap); in spwr_battery_get_property()
619 value = get_unaligned_le32(&bat->bix.last_full_charge_cap); in spwr_battery_get_property()
628 value = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_get_property()
768 u32 cap_warn = get_unaligned_le32(&bat->bix.design_cap_warn); in spwr_battery_register()
781 switch (get_unaligned_le32(&bat->bix.power_unit)) { in spwr_battery_register()
794 get_unaligned_le32(&bat->bix.power_unit)); in spwr_battery_register()