/drivers/power/supply/ |
D | da9150-charger.c | 44 static inline int da9150_charger_supply_online(struct da9150_charger *charger, in da9150_charger_supply_online() 54 static int da9150_charger_vbus_voltage_now(struct da9150_charger *charger, in da9150_charger_vbus_voltage_now() 70 static int da9150_charger_ibus_current_avg(struct da9150_charger *charger, in da9150_charger_ibus_current_avg() 86 static int da9150_charger_tjunc_temp(struct da9150_charger *charger, in da9150_charger_tjunc_temp() 113 struct da9150_charger *charger = dev_get_drvdata(psy->dev.parent); in da9150_charger_get_prop() local 138 static int da9150_charger_battery_status(struct da9150_charger *charger, in da9150_charger_battery_status() 181 static int da9150_charger_battery_health(struct da9150_charger *charger, in da9150_charger_battery_health() 217 static int da9150_charger_battery_present(struct da9150_charger *charger, in da9150_charger_battery_present() 232 static int da9150_charger_battery_charge_type(struct da9150_charger *charger, in da9150_charger_battery_charge_type() 256 static int da9150_charger_battery_voltage_min(struct da9150_charger *charger, in da9150_charger_battery_voltage_min() [all …]
|
D | z2_battery.c | 29 static unsigned long z2_read_bat(struct z2_charger *charger) in z2_read_bat() 44 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_get_property() local 84 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_ext_power_changed() local 89 static void z2_batt_update(struct z2_charger *charger) in z2_batt_update() 116 struct z2_charger *charger; in z2_batt_work() local 123 struct z2_charger *charger = devid; in z2_charge_switch_irq() local 128 static int z2_batt_ps_init(struct z2_charger *charger, int props) in z2_batt_ps_init() 186 struct z2_charger *charger; in z2_batt_probe() local 260 struct z2_charger *charger = i2c_get_clientdata(client); in z2_batt_remove() local 281 struct z2_charger *charger = i2c_get_clientdata(client); in z2_batt_suspend() local [all …]
|
D | da9030_battery.c | 139 struct da9030_charger *charger = s->private; in bat_debug_show() local 177 static struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger) in da9030_bat_create_debugfs() 184 static void da9030_bat_remove_debugfs(struct da9030_charger *charger) in da9030_bat_remove_debugfs() 189 static inline struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger) in da9030_bat_create_debugfs() 193 static inline 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() 205 static void da9030_charger_update_state(struct da9030_charger *charger) in da9030_charger_update_state() 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 [all …]
|
D | bq24735-charger.c | 47 struct power_supply *charger; member 108 static int bq24735_config_charger(struct bq24735 *charger) in bq24735_config_charger() 159 static inline int bq24735_enable_charging(struct bq24735 *charger) in bq24735_enable_charging() 174 static inline int bq24735_disable_charging(struct bq24735 *charger) in bq24735_disable_charging() 184 static bool bq24735_charger_is_present(struct bq24735 *charger) in bq24735_charger_is_present() 204 static int bq24735_charger_is_charging(struct bq24735 *charger) in bq24735_charger_is_charging() 218 static void bq24735_update(struct bq24735 *charger) in bq24735_update() 235 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_isr() local 244 struct bq24735 *charger = container_of(work, struct bq24735, poll.work); in bq24735_poll() local 256 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_get_property() local [all …]
|
D | cros_usbpd-charger.c | 41 struct charger_data *charger; member 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() local 185 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_power_info() local 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() 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 [all …]
|
D | mp2629_charger.c | 155 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() 200 static int mp2629_get_battery_capacity(struct mp2629_charger *charger, in mp2629_get_battery_capacity() 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 416 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_usb_set_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 [all …]
|
D | tps65217_charger.c | 45 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
|
D | act8945a_charger.c | 209 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
|
D | tps65090-charger.c | 44 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
|
D | lt3651-charger.c | 19 struct power_supply *charger; member 28 struct power_supply *charger = devid; in lt3651_charger_irq() local
|
D | max8997_charger.c | 33 struct charger_data *charger = power_supply_get_drvdata(psy); in max8997_battery_get_property() local 85 struct charger_data *charger; in max8997_battery_probe() local
|
D | charger-manager.c | 1034 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
|
D | gpio-charger.c | 31 struct power_supply *charger; member 44 struct power_supply *charger = devid; in gpio_charger_irq() local
|
D | pm2301_charger.c | 560 static int pm2xxx_charger_update_charger_current(struct ux500_charger *charger, in pm2xxx_charger_update_charger_current() 699 static int pm2xxx_charger_ac_en(struct ux500_charger *charger, in pm2xxx_charger_ac_en() 817 static int pm2xxx_charger_watchdog_kick(struct ux500_charger *charger) in pm2xxx_charger_watchdog_kick()
|
D | ab8500_charger.c | 1375 static int ab8500_charger_ac_en(struct ux500_charger *charger, in ab8500_charger_ac_en() 1552 static int ab8500_charger_usb_en(struct ux500_charger *charger, in ab8500_charger_usb_en() 1733 static int ab8500_charger_usb_check_enable(struct ux500_charger *charger, in ab8500_charger_usb_check_enable() 1782 static int ab8500_charger_ac_check_enable(struct ux500_charger *charger, in ab8500_charger_ac_check_enable() 1830 static int ab8500_charger_watchdog_kick(struct ux500_charger *charger) in ab8500_charger_watchdog_kick() 1857 static int ab8500_charger_update_charger_current(struct ux500_charger *charger, in ab8500_charger_update_charger_current()
|
D | max14577_charger.c | 17 struct power_supply *charger; member
|
D | max77693_charger.c | 23 struct power_supply *charger; member
|
D | bq2415x_charger.c | 161 struct power_supply *charger; member 725 int charger = 0; in bq2415x_set_mode() local
|
D | ucs1002_power.c | 100 struct power_supply *charger; member
|
D | bd99954-charger.c | 105 struct power_supply *charger; member
|
D | cpcap-battery.c | 553 struct power_supply *charger; in cpcap_battery_update_charger() local
|
D | lp8788-charger.c | 104 struct power_supply *charger; member
|
/drivers/usb/common/ |
D | usb-conn-gpio.c | 44 struct power_supply *charger; member
|
/drivers/acpi/ |
D | ac.c | 83 struct power_supply *charger; member
|
/drivers/regulator/ |
D | act8865-regulator.c | 643 struct power_supply *charger; in act8600_charger_probe() local
|