Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dcros_usbpd-charger.c41 struct charger_data *charger;
45 struct charger_data { struct
95 static int cros_usbpd_charger_ec_command(struct charger_data *charger, in cros_usbpd_charger_ec_command()
127 static int cros_usbpd_charger_get_num_ports(struct charger_data *charger) in cros_usbpd_charger_get_num_ports()
141 static int cros_usbpd_charger_get_usbpd_num_ports(struct charger_data *charger) in cros_usbpd_charger_get_usbpd_num_ports()
156 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_discovery_info()
185 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_power_info()
328 static int cros_usbpd_charger_set_ext_power_limit(struct charger_data *charger, in cros_usbpd_charger_set_ext_power_limit()
351 struct charger_data *charger = port->charger; in cros_usbpd_charger_power_changed()
363 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_prop()
[all …]
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 …]
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()