Lines Matching defs:cm
84 static bool is_batt_present(struct charger_manager *cm) in is_batt_present()
126 static bool is_ext_pwr_online(struct charger_manager *cm) in is_ext_pwr_online()
154 static int get_batt_uV(struct charger_manager *cm, int *uV) in get_batt_uV()
175 static bool is_charging(struct charger_manager *cm) in is_charging()
234 static bool is_full_charged(struct charger_manager *cm) in is_full_charged()
279 static bool is_polling_required(struct charger_manager *cm) in is_polling_required()
308 static int try_charger_enable(struct charger_manager *cm, bool enable) in try_charger_enable()
387 static int try_charger_restart(struct charger_manager *cm) in try_charger_restart()
413 static void uevent_notify(struct charger_manager *cm, const char *event) in uevent_notify()
468 struct charger_manager *cm = container_of(dwork, in fullbatt_vchk() local
507 static int check_charging_duration(struct charger_manager *cm) in check_charging_duration()
551 static bool _cm_monitor(struct charger_manager *cm) in _cm_monitor()
624 struct charger_manager *cm; in cm_monitor() local
645 struct charger_manager *cm; in _setup_polling() local
709 static void fullbatt_handler(struct charger_manager *cm) in fullbatt_handler()
736 static void battout_handler(struct charger_manager *cm) in battout_handler()
754 static void misc_event_handler(struct charger_manager *cm, in misc_event_handler()
769 struct charger_manager *cm = container_of(psy, in charger_get_property() local
942 struct charger_manager *cm; in cm_setup_timer() local
1023 static void _cm_fbchk_in_suspend(struct charger_manager *cm) in _cm_fbchk_in_suspend()
1048 struct charger_manager *cm; in cm_suspend_again() local
1198 static int charger_extcon_init(struct charger_manager *cm, in charger_extcon_init()
1232 static int charger_manager_register_extcon(struct charger_manager *cm) in charger_manager_register_extcon()
1310 struct charger_manager *cm = charger->cm; in charger_externally_control_store() local
1372 static int charger_manager_register_sysfs(struct charger_manager *cm) in charger_manager_register_sysfs()
1457 struct charger_manager *cm; in charger_manager_probe() local
1714 struct charger_manager *cm = platform_get_drvdata(pdev); in charger_manager_remove() local
1771 struct charger_manager *cm = dev_get_drvdata(dev); in cm_suspend_prepare() local
1808 struct charger_manager *cm = dev_get_drvdata(dev); in cm_suspend_complete() local
1893 static bool find_power_supply(struct charger_manager *cm, in find_power_supply()
1918 struct charger_manager *cm; in cm_notify_event() local