Home
last modified time | relevance | path

Searched refs:charger_data (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dcros_usbpd-charger.c42 struct charger_data *charger;
46 struct charger_data { struct
157 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_discovery_info()
186 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_power_info()
352 struct charger_data *charger = port->charger; in cros_usbpd_charger_power_changed()
364 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_prop()
451 struct charger_data *charger = port->charger; in cros_usbpd_charger_set_prop()
525 struct charger_data *charger = container_of(nb, struct charger_data, in cros_usbpd_charger_ec_event()
534 struct charger_data *charger = data; in cros_usbpd_charger_unregister_notifier()
545 struct charger_data *charger; in cros_usbpd_charger_probe()
[all …]
H A Dcros_peripheral_charger.c34 struct charger_data *charger;
38 struct charger_data { struct
54 static int cros_pchg_ec_command(const struct charger_data *charger, in cros_pchg_ec_command() argument
88 static bool cros_pchg_cmd_ver_check(const struct charger_data *charger) in cros_pchg_cmd_ver_check()
107 static int cros_pchg_port_count(const struct charger_data *charger) in cros_pchg_port_count()
125 struct charger_data *charger = port->charger; in cros_pchg_get_status()
230 static int cros_pchg_event(const struct charger_data *charger) in cros_pchg_event()
245 struct charger_data *charger = in cros_ec_notify()
246 container_of(nb, struct charger_data, notifier); in cros_ec_notify()
267 struct charger_data *charger; in cros_pchg_probe()
[all …]
H A Dmax8997_charger.c33 struct charger_data { struct
54 struct charger_data *charger = power_supply_get_drvdata(psy); in max8997_battery_get_property() argument
100 struct charger_data *charger = in max8997_battery_extcon_evt_worker()
101 container_of(work, struct charger_data, extcon_work); in max8997_battery_extcon_evt_worker()
146 struct charger_data *charger = in max8997_battery_extcon_evt()
147 container_of(nb, struct charger_data, extcon_nb); in max8997_battery_extcon_evt()
163 struct charger_data *charger; in max8997_battery_probe()