/linux/drivers/power/supply/ |
H A D | da9150-charger.c | 42 static inline int da9150_charger_supply_online(struct da9150_charger *charger, in da9150_charger_supply_online() 52 static int da9150_charger_vbus_voltage_now(struct da9150_charger *charger, in da9150_charger_vbus_voltage_now() 68 static int da9150_charger_ibus_current_avg(struct da9150_charger *charger, in da9150_charger_ibus_current_avg() 84 static int da9150_charger_tjunc_temp(struct da9150_charger *charger, in da9150_charger_tjunc_temp() 111 struct da9150_charger *charger = dev_get_drvdata(psy->dev.parent); in da9150_charger_get_prop() local 136 static int da9150_charger_battery_status(struct da9150_charger *charger, in da9150_charger_battery_status() 179 static int da9150_charger_battery_health(struct da9150_charger *charger, in da9150_charger_battery_health() 215 static int da9150_charger_battery_present(struct da9150_charger *charger, in da9150_charger_battery_present() 230 static int da9150_charger_battery_charge_type(struct da9150_charger *charger, in da9150_charger_battery_charge_type() 254 static int da9150_charger_battery_voltage_min(struct da9150_charger *charger, in da9150_charger_battery_voltage_min() [all …]
|
H A D | rt5033_charger.c | 43 static int rt5033_get_charger_state(struct rt5033_charger *charger) in rt5033_get_charger_state() 78 static int rt5033_get_charger_type(struct rt5033_charger *charger) in rt5033_get_charger_type() 100 static int rt5033_get_charger_current_limit(struct rt5033_charger *charger) in rt5033_get_charger_current_limit() 116 static int rt5033_get_charger_const_voltage(struct rt5033_charger *charger) in rt5033_get_charger_const_voltage() 132 static inline int rt5033_init_const_charge(struct rt5033_charger *charger) in rt5033_init_const_charge() 206 static inline int rt5033_init_fast_charge(struct rt5033_charger *charger) in rt5033_init_fast_charge() 251 static inline int rt5033_init_pre_charge(struct rt5033_charger *charger) in rt5033_init_pre_charge() 314 static int rt5033_charger_reg_init(struct rt5033_charger *charger) in rt5033_charger_reg_init() 352 static int rt5033_charger_set_otg(struct rt5033_charger *charger) in rt5033_charger_set_otg() 389 static int rt5033_charger_unset_otg(struct rt5033_charger *charger) in rt5033_charger_unset_otg() [all …]
|
H A 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 …]
|
H A D | bq24735-charger.c | 50 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 247 struct bq24735 *charger = container_of(work, struct bq24735, poll.work); in bq24735_poll() local 259 struct bq24735 *charger = to_bq24735(psy); in bq24735_charger_get_property() local [all …]
|
H A D | rk817_charger.c | 170 static void rk817_bat_calib_vol(struct rk817_charger *charger) in rk817_bat_calib_vol() 191 static void rk817_bat_calib_cur(struct rk817_charger *charger) in rk817_bat_calib_cur() 206 static int rk817_record_battery_nvram_values(struct rk817_charger *charger) in rk817_record_battery_nvram_values() 240 static int rk817_bat_calib_cap(struct rk817_charger *charger) in rk817_bat_calib_cap() 335 static void rk817_read_props(struct rk817_charger *charger) in rk817_read_props() 441 struct rk817_charger *charger = power_supply_get_drvdata(ps); in rk817_bat_get_prop() local 541 struct rk817_charger *charger = power_supply_get_drvdata(ps); in rk817_chg_get_prop() local 575 struct rk817_charger *charger; in rk817_plug_in_isr() local 593 struct rk817_charger *charger; in rk817_plug_out_isr() local 633 struct rk817_charger *charger = power_supply_get_drvdata(ps); in rk817_bat_set_prop() local [all …]
|
H A D | cros_usbpd-charger.c | 42 struct charger_data *charger; member 85 static int cros_usbpd_charger_ec_command(struct charger_data *charger, in cros_usbpd_charger_ec_command() 117 static int cros_usbpd_charger_get_num_ports(struct charger_data *charger) in cros_usbpd_charger_get_num_ports() 131 static int cros_usbpd_charger_get_usbpd_num_ports(struct charger_data *charger) in cros_usbpd_charger_get_usbpd_num_ports() 146 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_discovery_info() local 175 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_power_info() local 318 static int cros_usbpd_charger_set_ext_power_limit(struct charger_data *charger, in cros_usbpd_charger_set_ext_power_limit() 341 struct charger_data *charger = port->charger; in cros_usbpd_charger_power_changed() local 353 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_prop() local 440 struct charger_data *charger = port->charger; in cros_usbpd_charger_set_prop() local [all …]
|
H A D | cros_peripheral_charger.c | 35 struct charger_data *charger; member 55 static int cros_pchg_ec_command(const struct charger_data *charger, in cros_pchg_ec_command() 89 static bool cros_pchg_cmd_ver_check(const struct charger_data *charger) in cros_pchg_cmd_ver_check() 108 static int cros_pchg_port_count(const struct charger_data *charger) in cros_pchg_port_count() 126 struct charger_data *charger = port->charger; in cros_pchg_get_status() local 231 static int cros_pchg_event(const struct charger_data *charger) in cros_pchg_event() 246 struct charger_data *charger = in cros_ec_notify() local 268 struct charger_data *charger; in cros_pchg_probe() local 357 struct charger_data *charger = dev_get_drvdata(dev); in cros_pchg_resume() local
|
H A D | tps65217_charger.c | 44 static int tps65217_config_charger(struct tps65217_charger *charger) in tps65217_config_charger() 78 static int tps65217_enable_charging(struct tps65217_charger *charger) in tps65217_enable_charging() 107 struct tps65217_charger *charger = power_supply_get_drvdata(psy); in tps65217_charger_get_property() local 119 struct tps65217_charger *charger = dev; in tps65217_charger_irq() local 186 struct tps65217_charger *charger; in tps65217_charger_probe() local 258 struct tps65217_charger *charger = platform_get_drvdata(pdev); in tps65217_charger_remove() local
|
H A D | mp2629_charger.c | 147 static int mp2629_read_adc(struct mp2629_charger *charger, in mp2629_read_adc() 163 static int mp2629_get_prop(struct mp2629_charger *charger, in mp2629_get_prop() 179 static int mp2629_set_prop(struct mp2629_charger *charger, in mp2629_set_prop() 192 static int mp2629_get_battery_capacity(struct mp2629_charger *charger, in mp2629_get_battery_capacity() 216 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_battery_get_prop() local 319 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_battery_set_prop() local 343 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_usb_get_prop() local 408 struct mp2629_charger *charger = dev_get_drvdata(psy->dev.parent); in mp2629_charger_usb_set_prop() local 440 struct mp2629_charger *charger = dev_id; in mp2629_irq_handler() local 508 struct mp2629_charger *charger = dev_get_drvdata(dev->parent); in batt_impedance_compensation_show() local [all …]
|
H A 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
|
H A 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
|
H A D | max8997_charger.c | 54 struct charger_data *charger = power_supply_get_drvdata(psy); in max8997_battery_get_property() local 100 struct charger_data *charger = in max8997_battery_extcon_evt_worker() local 146 struct charger_data *charger = in max8997_battery_extcon_evt() local 163 struct charger_data *charger; in max8997_battery_probe() local
|
H A D | twl6030_charger.c | 218 static int twl6030_config_cinlimit_reg(struct twl6030_charger_info *charger, in twl6030_config_cinlimit_reg() 241 static int twl6030_enable_usb(struct twl6030_charger_info *charger) in twl6030_enable_usb() 284 struct twl6030_charger_info *charger = in twl6030_charger_wdg() local 309 struct twl6030_charger_info *charger = arg; in twl6030_charger_interrupt() local 354 struct twl6030_charger_info *charger = power_supply_get_drvdata(psy); in twl6030_charger_usb_get_property() local 406 struct twl6030_charger_info *charger = power_supply_get_drvdata(psy); in twl6030_charger_usb_set_property() local 450 struct twl6030_charger_info *charger; in twl6030_charger_probe() local
|
H A D | lt3651-charger.c | 19 struct power_supply *charger; member 28 struct power_supply *charger = devid; in lt3651_charger_irq() local
|
H A D | charger-manager.c | 1031 struct charger_regulator *charger; in charger_manager_register_extcon() local 1075 struct charger_regulator *charger in charger_name_show() local 1084 struct charger_regulator *charger in charger_state_show() local 1097 struct charger_regulator *charger = container_of(attr, in charger_externally_control_show() local 1107 struct charger_regulator *charger in charger_externally_control_store() local 1173 struct charger_regulator *charger; in charger_manager_prepare_sysfs() local
|
H A D | gpio-charger.c | 31 struct power_supply *charger; member 44 struct power_supply *charger = devid; in gpio_charger_irq() local
|
/linux/drivers/platform/x86/intel/ |
H A D | crystal_cove_charger.c | 35 struct crystal_cove_charger_data *charger = data; in crystal_cove_charger_irq() local 48 struct crystal_cove_charger_data *charger = irq_data_get_irq_chip_data(data); in crystal_cove_charger_irq_bus_lock() local 55 struct crystal_cove_charger_data *charger = irq_data_get_irq_chip_data(data); in crystal_cove_charger_irq_bus_sync_unlock() local 67 struct crystal_cove_charger_data *charger = irq_data_get_irq_chip_data(data); in crystal_cove_charger_irq_unmask() local 74 struct crystal_cove_charger_data *charger = irq_data_get_irq_chip_data(data); in crystal_cove_charger_irq_mask() local 81 struct crystal_cove_charger_data *charger = data; in crystal_cove_charger_rm_irq_domain() local 89 struct crystal_cove_charger_data *charger; in crystal_cove_charger_probe() local
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-samsung-gprimeltecan.dts | 86 charger: charger { label
|
H A D | msm8916-samsung-fortuna-common.dtsi | 298 charger: charger { label
|
/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-controller.dts | 43 charger: charger { label
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-b1x5pv2.dtsi | 157 charger: battery-charger { label
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra114-dalmore.dts | 834 charger: charger { label
|
H A D | tegra124-venice2.dts | 871 charger: bq24735@9 { label
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-coolpi-cm5-genbook.dts | 33 charger: dc-charger { label
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra132-norrin.dts | 776 charger: bq24735@9 { label
|