Home
last modified time | relevance | path

Searched defs:charger (Results 1 – 23 of 23) sorted by relevance

/drivers/power/supply/
Dda9150-charger.c48 static inline int da9150_charger_supply_online(struct da9150_charger *charger, in da9150_charger_supply_online()
58 static int da9150_charger_vbus_voltage_now(struct da9150_charger *charger, in da9150_charger_vbus_voltage_now()
74 static int da9150_charger_ibus_current_avg(struct da9150_charger *charger, in da9150_charger_ibus_current_avg()
90 static int da9150_charger_tjunc_temp(struct da9150_charger *charger, in da9150_charger_tjunc_temp()
117 struct da9150_charger *charger = dev_get_drvdata(psy->dev.parent); in da9150_charger_get_prop() local
142 static int da9150_charger_battery_status(struct da9150_charger *charger, in da9150_charger_battery_status()
185 static int da9150_charger_battery_health(struct da9150_charger *charger, in da9150_charger_battery_health()
221 static int da9150_charger_battery_present(struct da9150_charger *charger, in da9150_charger_battery_present()
236 static int da9150_charger_battery_charge_type(struct da9150_charger *charger, in da9150_charger_battery_charge_type()
260 static int da9150_charger_battery_voltage_min(struct da9150_charger *charger, in da9150_charger_battery_voltage_min()
[all …]
Dz2_battery.c33 static unsigned long z2_read_bat(struct z2_charger *charger) in z2_read_bat()
48 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_get_property() local
88 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_ext_power_changed() local
93 static void z2_batt_update(struct z2_charger *charger) in z2_batt_update()
120 struct z2_charger *charger; in z2_batt_work() local
127 struct z2_charger *charger = devid; in z2_charge_switch_irq() local
132 static int z2_batt_ps_init(struct z2_charger *charger, int props) in z2_batt_ps_init()
190 struct z2_charger *charger; in z2_batt_probe() local
264 struct z2_charger *charger = i2c_get_clientdata(client); in z2_batt_remove() local
285 struct z2_charger *charger = i2c_get_clientdata(client); in z2_batt_suspend() local
[all …]
Dda9030_battery.c142 struct da9030_charger *charger = s->private; in bat_debug_show() local
190 static struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger) in da9030_bat_create_debugfs()
197 static void da9030_bat_remove_debugfs(struct da9030_charger *charger) in da9030_bat_remove_debugfs()
202 static inline struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger) in da9030_bat_create_debugfs()
206 static inline void da9030_bat_remove_debugfs(struct da9030_charger *charger) in da9030_bat_remove_debugfs()
211 static inline void da9030_read_adc(struct da9030_charger *charger, in da9030_read_adc()
218 static void da9030_charger_update_state(struct da9030_charger *charger) in da9030_charger_update_state()
233 static void da9030_set_charge(struct da9030_charger *charger, int on) in da9030_set_charge()
252 static void da9030_charger_check_state(struct da9030_charger *charger) in da9030_charger_check_state()
296 struct da9030_charger *charger; in da9030_charging_monitor() local
[all …]
Dbq24735-charger.c47 struct power_supply *charger; member
108 static inline int bq24735_enable_charging(struct bq24735 *charger) in bq24735_enable_charging()
118 static inline int bq24735_disable_charging(struct bq24735 *charger) in bq24735_disable_charging()
128 static int bq24735_config_charger(struct bq24735 *charger) in bq24735_config_charger()
179 static bool bq24735_charger_is_present(struct bq24735 *charger) in bq24735_charger_is_present()
199 static int bq24735_charger_is_charging(struct bq24735 *charger) in bq24735_charger_is_charging()
216 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_isr() local
236 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_get_property() local
266 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_set_property() local
337 struct bq24735 *charger; in bq24735_charger_probe() local
Dtps65217_charger.c57 static int tps65217_config_charger(struct tps65217_charger *charger) in tps65217_config_charger()
93 static int tps65217_enable_charging(struct tps65217_charger *charger) in tps65217_enable_charging()
122 struct tps65217_charger *charger = power_supply_get_drvdata(psy); in tps65217_ac_get_property() local
134 struct tps65217_charger *charger = dev; in tps65217_charger_irq() local
201 struct tps65217_charger *charger; in tps65217_charger_probe() local
268 struct tps65217_charger *charger = platform_get_drvdata(pdev); in tps65217_charger_remove() local
Dact8945a_charger.c213 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level()
280 static int act8945a_get_current_max(struct act8945a_charger *charger, in act8945a_get_current_max()
350 struct act8945a_charger *charger = power_supply_get_drvdata(psy); in act8945a_charger_get_property() local
388 static int act8945a_enable_interrupt(struct act8945a_charger *charger) in act8945a_enable_interrupt()
411 static unsigned int act8945a_set_supply_type(struct act8945a_charger *charger, in act8945a_set_supply_type()
439 struct act8945a_charger *charger = in act8945a_work() local
449 struct act8945a_charger *charger = dev_id; in act8945a_status_changed() local
462 struct act8945a_charger *charger) in act8945a_charger_config()
580 struct act8945a_charger *charger; in act8945a_charger_probe() local
647 struct act8945a_charger *charger = platform_get_drvdata(pdev); in act8945a_charger_remove() local
Dtps65090-charger.c54 static int tps65090_low_chrg_current(struct tps65090_charger *charger) in tps65090_low_chrg_current()
71 static int tps65090_enable_charging(struct tps65090_charger *charger) in tps65090_enable_charging()
97 static int tps65090_config_charger(struct tps65090_charger *charger) in tps65090_config_charger()
138 struct tps65090_charger *charger = power_supply_get_drvdata(psy); in tps65090_ac_get_property() local
150 struct tps65090_charger *charger = dev_id; in tps65090_charger_isr() local
Dmax8997_charger.c47 struct charger_data *charger = power_supply_get_drvdata(psy); in max8997_battery_get_property() local
99 struct charger_data *charger; in max8997_battery_probe() local
177 struct charger_data *charger = platform_get_drvdata(pdev); in max8997_battery_remove() local
Dcharger-manager.c1234 struct charger_regulator *charger; in charger_manager_register_extcon() local
1273 struct charger_regulator *charger in charger_name_show() local
1282 struct charger_regulator *charger in charger_state_show() local
1295 struct charger_regulator *charger = container_of(attr, in charger_externally_control_show() local
1305 struct charger_regulator *charger in charger_externally_control_store() local
1371 struct charger_regulator *charger; in charger_manager_register_sysfs() local
1822 struct charger_regulator *charger; in charger_manager_probe() local
1830 struct charger_regulator *charger; in charger_manager_probe() local
1864 struct charger_regulator *charger in charger_manager_remove() local
Dgpio-charger.c35 struct power_supply *charger; member
41 struct power_supply *charger = devid; in gpio_charger_irq() local
Dpm2301_charger.c568 static int pm2xxx_charger_update_charger_current(struct ux500_charger *charger, in pm2xxx_charger_update_charger_current()
707 static int pm2xxx_charger_ac_en(struct ux500_charger *charger, in pm2xxx_charger_ac_en()
825 static int pm2xxx_charger_watchdog_kick(struct ux500_charger *charger) in pm2xxx_charger_watchdog_kick()
Dab8500_charger.c1357 static int ab8500_charger_ac_en(struct ux500_charger *charger, in ab8500_charger_ac_en()
1534 static int ab8500_charger_usb_en(struct ux500_charger *charger, in ab8500_charger_usb_en()
1712 static int ab8500_charger_usb_check_enable(struct ux500_charger *charger, in ab8500_charger_usb_check_enable()
1761 static int ab8500_charger_ac_check_enable(struct ux500_charger *charger, in ab8500_charger_ac_check_enable()
1809 static int ab8500_charger_watchdog_kick(struct ux500_charger *charger) in ab8500_charger_watchdog_kick()
1836 static int ab8500_charger_update_charger_current(struct ux500_charger *charger, in ab8500_charger_update_charger_current()
1876 static int ab8540_charger_power_path_enable(struct ux500_charger *charger, in ab8540_charger_power_path_enable()
1907 static int ab8540_charger_usb_pre_chg_enable(struct ux500_charger *charger, in ab8540_charger_usb_pre_chg_enable()
Dmax14577_charger.c27 struct power_supply *charger; member
Dintel_mid_battery.c209 static int pmic_scu_ipc_set_charger(int charger) in pmic_scu_ipc_set_charger()
Dmax77693_charger.c33 struct power_supply *charger; member
Dbq2415x_charger.c170 struct power_supply *charger; member
734 int charger = 0; in bq2415x_set_mode() local
Dlp8788-charger.c108 struct power_supply *charger; member
Dbq25890_charger.c92 struct power_supply *charger; member
Dbq24257_charger.c94 struct power_supply *charger; member
Drt9455_charger.c246 struct power_supply *charger; member
Dbq24190_charger.c152 struct power_supply *charger; member
/drivers/acpi/
Dac.c94 struct power_supply *charger; member
Dsbs.c104 struct power_supply *charger; member