Lines Matching defs:cm
95 static bool is_batt_present(struct charger_manager *cm) in is_batt_present()
151 static bool is_ext_pwr_online(struct charger_manager *cm) in is_ext_pwr_online()
187 static int get_batt_uV(struct charger_manager *cm, int *uV) in get_batt_uV()
211 static bool is_charging(struct charger_manager *cm) in is_charging()
280 static bool is_full_charged(struct charger_manager *cm) in is_full_charged()
343 static bool is_polling_required(struct charger_manager *cm) in is_polling_required()
372 static int try_charger_enable(struct charger_manager *cm, bool enable) in try_charger_enable()
452 static int check_charging_duration(struct charger_manager *cm) in check_charging_duration()
484 static int cm_get_battery_temperature_by_psy(struct charger_manager *cm, in cm_get_battery_temperature_by_psy()
502 static int cm_get_battery_temperature(struct charger_manager *cm, in cm_get_battery_temperature()
526 static int cm_check_thermal_status(struct charger_manager *cm) in cm_check_thermal_status()
567 static int cm_get_target_status(struct charger_manager *cm) in cm_get_target_status()
605 static bool _cm_monitor(struct charger_manager *cm) in _cm_monitor()
630 struct charger_manager *cm; in cm_monitor() local
651 struct charger_manager *cm; in _setup_polling() local
715 struct charger_manager *cm = power_supply_get_drvdata(psy); in charger_get_property() local
862 struct charger_manager *cm; in cm_setup_timer() local
973 static int charger_extcon_init(struct charger_manager *cm, in charger_extcon_init()
1028 static int charger_manager_register_extcon(struct charger_manager *cm) in charger_manager_register_extcon()
1110 struct charger_manager *cm = charger->cm; in charger_externally_control_store() local
1170 static int charger_manager_prepare_sysfs(struct charger_manager *cm) in charger_manager_prepare_sysfs()
1230 static int cm_init_thermal_data(struct charger_manager *cm, in cm_init_thermal_data()
1424 struct charger_manager *cm; in charger_manager_probe() local
1633 struct charger_manager *cm = platform_get_drvdata(pdev); in charger_manager_remove() local
1673 struct charger_manager *cm; in cm_need_to_awake() local
1710 struct charger_manager *cm = dev_get_drvdata(dev); in cm_suspend_complete() local