Home
last modified time | relevance | path

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

12

/linux/drivers/power/supply/
A Dda9150-charger.c113 struct da9150_charger *charger = dev_get_drvdata(psy->dev.parent); in da9150_charger_get_prop() local
366 struct da9150_charger *charger = data; in da9150_charger_chg_irq() local
375 struct da9150_charger *charger = data; in da9150_charger_tjunc_irq() local
386 struct da9150_charger *charger = data; in da9150_charger_vfault_irq() local
398 struct da9150_charger *charger = data; in da9150_charger_vbus_irq() local
427 struct da9150_charger *charger = in da9150_charger_otg_work() local
449 struct da9150_charger *charger = in da9150_charger_otg_ncb() local
465 struct da9150_charger *charger = platform_get_drvdata(pdev); in da9150_charger_register_irq() local
486 struct da9150_charger *charger = platform_get_drvdata(pdev); in da9150_charger_unregister_irq() local
518 struct da9150_charger *charger; in da9150_charger_probe() local
[all …]
A Dz2_battery.c30 static unsigned long z2_read_bat(struct z2_charger *charger) in z2_read_bat()
45 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_get_property() local
85 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_ext_power_changed() local
90 static void z2_batt_update(struct z2_charger *charger) in z2_batt_update()
114 struct z2_charger *charger; in z2_batt_work() local
121 struct z2_charger *charger = devid; in z2_charge_switch_irq() local
126 static int z2_batt_ps_init(struct z2_charger *charger, int props) in z2_batt_ps_init()
184 struct z2_charger *charger; in z2_batt_probe() local
256 struct z2_charger *charger = i2c_get_clientdata(client); in z2_batt_remove() local
274 struct z2_charger *charger = i2c_get_clientdata(client); in z2_batt_suspend() local
[all …]
A Dda9030_battery.c139 struct da9030_charger *charger = s->private; in bat_debug_show() local
184 static void da9030_bat_remove_debugfs(struct da9030_charger *charger) in da9030_bat_remove_debugfs()
198 static inline void da9030_read_adc(struct da9030_charger *charger, in da9030_read_adc()
220 static void da9030_set_charge(struct da9030_charger *charger, int on) in da9030_set_charge()
239 static void da9030_charger_check_state(struct da9030_charger *charger) in da9030_charger_check_state()
283 struct da9030_charger *charger; in da9030_charging_monitor() local
332 struct da9030_charger *charger = power_supply_get_drvdata(psy); in da9030_battery_get_property() local
391 struct da9030_charger *charger = in da9030_battery_event() local
435 static void da9030_battery_setup_psy(struct da9030_charger *charger) in da9030_battery_setup_psy()
483 struct da9030_charger *charger; in da9030_battery_probe() local
[all …]
A Dbq24735-charger.c50 struct power_supply *charger; member
111 static int bq24735_config_charger(struct bq24735 *charger) in bq24735_config_charger()
162 static inline int bq24735_enable_charging(struct bq24735 *charger) in bq24735_enable_charging()
177 static inline int bq24735_disable_charging(struct bq24735 *charger) in bq24735_disable_charging()
187 static bool bq24735_charger_is_present(struct bq24735 *charger) in bq24735_charger_is_present()
207 static int bq24735_charger_is_charging(struct bq24735 *charger) in bq24735_charger_is_charging()
221 static void bq24735_update(struct bq24735 *charger) in bq24735_update()
238 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_isr() local
259 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_get_property() local
289 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_set_property() local
[all …]
A Dcros_usbpd-charger.c41 struct charger_data *charger; member
95 static int cros_usbpd_charger_ec_command(struct charger_data *charger, in cros_usbpd_charger_ec_command()
156 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_discovery_info() local
185 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_power_info() local
351 struct charger_data *charger = port->charger; in cros_usbpd_charger_power_changed() local
363 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_prop() local
450 struct charger_data *charger = port->charger; in cros_usbpd_charger_set_prop() local
524 struct charger_data *charger = container_of(nb, struct charger_data, in cros_usbpd_charger_ec_event() local
533 struct charger_data *charger = data; in cros_usbpd_charger_unregister_notifier() local
544 struct charger_data *charger; in cros_usbpd_charger_probe() local
[all …]
A Dtps65217_charger.c45 static int tps65217_config_charger(struct tps65217_charger *charger) in tps65217_config_charger()
79 static int tps65217_enable_charging(struct tps65217_charger *charger) in tps65217_enable_charging()
108 struct tps65217_charger *charger = power_supply_get_drvdata(psy); in tps65217_charger_get_property() local
120 struct tps65217_charger *charger = dev; in tps65217_charger_irq() local
187 struct tps65217_charger *charger; in tps65217_charger_probe() local
259 struct tps65217_charger *charger = platform_get_drvdata(pdev); in tps65217_charger_remove() local
A Dcros_peripheral_charger.c33 struct charger_data *charger; member
53 static int cros_pchg_ec_command(const struct charger_data *charger, in cros_pchg_ec_command()
87 static bool cros_pchg_cmd_ver_check(const struct charger_data *charger) in cros_pchg_cmd_ver_check()
106 static int cros_pchg_port_count(const struct charger_data *charger) in cros_pchg_port_count()
124 struct charger_data *charger = port->charger; in cros_pchg_get_status() local
229 static int cros_pchg_event(const struct charger_data *charger, in cros_pchg_event()
240 static u32 cros_get_device_event(const struct charger_data *charger) in cros_get_device_event()
264 struct charger_data *charger = in cros_ec_notify() local
291 struct charger_data *charger; in cros_pchg_probe() local
A Dmp2629_charger.c155 static int mp2629_read_adc(struct mp2629_charger *charger, in mp2629_read_adc()
171 static int mp2629_get_prop(struct mp2629_charger *charger, in mp2629_get_prop()
187 static int mp2629_set_prop(struct mp2629_charger *charger, in mp2629_set_prop()
224 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_battery_get_prop() local
327 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_battery_set_prop() local
351 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_usb_get_prop() local
448 struct mp2629_charger *charger = dev_id; in mp2629_irq_handler() local
513 struct mp2629_charger *charger = dev_get_drvdata(dev->parent); in batt_impedance_compensation_show() local
530 struct mp2629_charger *charger = dev_get_drvdata(dev->parent); in batt_impedance_compensation_store() local
561 struct mp2629_charger *charger = data; in mp2629_charger_disable() local
[all …]
A Dact8945a_charger.c209 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level()
276 static int act8945a_get_current_max(struct act8945a_charger *charger, in act8945a_get_current_max()
346 struct act8945a_charger *charger = power_supply_get_drvdata(psy); in act8945a_charger_get_property() local
384 static int act8945a_enable_interrupt(struct act8945a_charger *charger) in act8945a_enable_interrupt()
407 static unsigned int act8945a_set_supply_type(struct act8945a_charger *charger, in act8945a_set_supply_type()
435 struct act8945a_charger *charger = in act8945a_work() local
445 struct act8945a_charger *charger = dev_id; in act8945a_status_changed() local
458 struct act8945a_charger *charger) in act8945a_charger_config()
576 struct act8945a_charger *charger; in act8945a_charger_probe() local
643 struct act8945a_charger *charger = platform_get_drvdata(pdev); in act8945a_charger_remove() local
A Dmax8997_charger.c53 struct charger_data *charger = power_supply_get_drvdata(psy); in max8997_battery_get_property() local
99 struct charger_data *charger = data; in max8997_battery_extcon_evt_stop_work() local
106 struct charger_data *charger = in max8997_battery_extcon_evt_worker() local
152 struct charger_data *charger = in max8997_battery_extcon_evt() local
169 struct charger_data *charger; in max8997_battery_probe() local
A Dtps65090-charger.c44 static int tps65090_low_chrg_current(struct tps65090_charger *charger) in tps65090_low_chrg_current()
61 static int tps65090_enable_charging(struct tps65090_charger *charger) in tps65090_enable_charging()
87 static int tps65090_config_charger(struct tps65090_charger *charger) in tps65090_config_charger()
128 struct tps65090_charger *charger = power_supply_get_drvdata(psy); in tps65090_ac_get_property() local
140 struct tps65090_charger *charger = dev_id; in tps65090_charger_isr() local
A Dlt3651-charger.c19 struct power_supply *charger; member
28 struct power_supply *charger = devid; in lt3651_charger_irq() local
A Dcharger-manager.c1034 struct charger_regulator *charger; in charger_manager_register_extcon() local
1078 struct charger_regulator *charger in charger_name_show() local
1087 struct charger_regulator *charger in charger_state_show() local
1100 struct charger_regulator *charger = container_of(attr, in charger_externally_control_show() local
1110 struct charger_regulator *charger in charger_externally_control_store() local
1176 struct charger_regulator *charger; in charger_manager_prepare_sysfs() local
A Dgpio-charger.c31 struct power_supply *charger; member
44 struct power_supply *charger = devid; in gpio_charger_irq() local
A Dab8500_charger.c1377 static int ab8500_charger_ac_en(struct ux500_charger *charger, in ab8500_charger_ac_en()
1554 static int ab8500_charger_usb_en(struct ux500_charger *charger, in ab8500_charger_usb_en()
1735 static int ab8500_charger_usb_check_enable(struct ux500_charger *charger, in ab8500_charger_usb_check_enable()
1784 static int ab8500_charger_ac_check_enable(struct ux500_charger *charger, in ab8500_charger_ac_check_enable()
1832 static int ab8500_charger_watchdog_kick(struct ux500_charger *charger) in ab8500_charger_watchdog_kick()
1859 static int ab8500_charger_update_charger_current(struct ux500_charger *charger, in ab8500_charger_update_charger_current()
/linux/arch/arm/boot/dts/
A Dpxa300-raumfeld-controller.dts43 charger: charger { label
A Dqcom-msm8974-lge-nexus5-hammerhead.dts564 charger: bq24192@6b { label
A Dimx6dl-b1x5pv2.dtsi157 charger: battery-charger { label
A Dtegra114-dalmore.dts832 charger: charger { label
A Dtwl4030.dtsi19 charger: bci { label
A Dtegra124-nyan.dtsi348 charger: bq24735@9 { label
A Dtegra124-venice2.dts860 charger: bq24735@9 { label
/linux/arch/arm64/boot/dts/nvidia/
A Dtegra132-norrin.dts773 charger: bq24735 { label
/linux/drivers/usb/common/
A Dusb-conn-gpio.c44 struct power_supply *charger; member
/linux/drivers/acpi/
A Dac.c80 struct power_supply *charger; member

Completed in 47 milliseconds

12