/Linux-v4.19/drivers/power/supply/ |
D | power_supply_core.c | 66 struct power_supply *psy = data; in __power_supply_changed_work() local 80 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local 115 void power_supply_changed(struct power_supply *psy) in power_supply_changed() 141 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_deferred_register_work() local 164 struct power_supply *psy = data; in __power_supply_populate_supplied_from() local 188 static int power_supply_populate_supplied_from(struct power_supply *psy) in power_supply_populate_supplied_from() 233 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies() 281 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies() 310 struct power_supply *psy; member 330 int power_supply_am_i_supplied(struct power_supply *psy) in power_supply_am_i_supplied() [all …]
|
D | power_supply_leds.c | 22 static void power_supply_update_bat_leds(struct power_supply *psy) in power_supply_update_bat_leds() 58 static int power_supply_create_bat_triggers(struct power_supply *psy) in power_supply_create_bat_triggers() 100 static void power_supply_remove_bat_triggers(struct power_supply *psy) in power_supply_remove_bat_triggers() 114 static void power_supply_update_gen_leds(struct power_supply *psy) in power_supply_update_gen_leds() 129 static int power_supply_create_gen_triggers(struct power_supply *psy) in power_supply_create_gen_triggers() 141 static void power_supply_remove_gen_triggers(struct power_supply *psy) in power_supply_remove_gen_triggers() 149 void power_supply_update_leds(struct power_supply *psy) in power_supply_update_leds() 157 int power_supply_create_triggers(struct power_supply *psy) in power_supply_create_triggers() 164 void power_supply_remove_triggers(struct power_supply *psy) in power_supply_remove_triggers()
|
D | power_supply.h | 37 static inline void power_supply_update_leds(struct power_supply *psy) {} in power_supply_update_leds() 38 static inline int power_supply_create_triggers(struct power_supply *psy) in power_supply_create_triggers() 40 static inline void power_supply_remove_triggers(struct power_supply *psy) {} in power_supply_remove_triggers()
|
D | ds2780_battery.c | 54 to_ds2780_device_info(struct power_supply *psy) in to_ds2780_device_info() 379 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property() 453 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pmod_enabled() local 472 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pmod_enabled() local 507 struct power_supply *psy = to_power_supply(dev); in ds2780_get_sense_resistor_value() local 525 struct power_supply *psy = to_power_supply(dev); in ds2780_set_sense_resistor_value() local 545 struct power_supply *psy = to_power_supply(dev); in ds2780_get_rsgain_setting() local 562 struct power_supply *psy = to_power_supply(dev); in ds2780_set_rsgain_setting() local 588 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pio_pin() local 606 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pio_pin() local [all …]
|
D | ds2781_battery.c | 52 to_ds2781_device_info(struct power_supply *psy) in to_ds2781_device_info() 381 static int ds2781_battery_get_property(struct power_supply *psy, in ds2781_battery_get_property() 455 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pmod_enabled() local 474 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pmod_enabled() local 509 struct power_supply *psy = to_power_supply(dev); in ds2781_get_sense_resistor_value() local 527 struct power_supply *psy = to_power_supply(dev); in ds2781_set_sense_resistor_value() local 547 struct power_supply *psy = to_power_supply(dev); in ds2781_get_rsgain_setting() local 564 struct power_supply *psy = to_power_supply(dev); in ds2781_set_rsgain_setting() local 590 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pio_pin() local 608 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pio_pin() local [all …]
|
D | lego_ev3_battery.c | 31 struct power_supply *psy; member 37 static int lego_ev3_battery_get_property(struct power_supply *psy, in lego_ev3_battery_get_property() 91 static int lego_ev3_battery_set_property(struct power_supply *psy, in lego_ev3_battery_set_property() 126 static int lego_ev3_battery_property_is_writeable(struct power_supply *psy, in lego_ev3_battery_property_is_writeable()
|
D | power_supply_sysfs.c | 120 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_show_property() local 188 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_store_property() local 319 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_attr_is_visible() local 380 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_uevent() local
|
D | bq24735-charger.c | 58 static inline struct bq24735 *to_bq24735(struct power_supply *psy) in to_bq24735() 68 static int bq24735_charger_property_is_writeable(struct power_supply *psy, in bq24735_charger_property_is_writeable() 234 struct power_supply *psy = devid; in bq24735_charger_isr() local 252 static int bq24735_charger_get_property(struct power_supply *psy, in bq24735_charger_get_property() 282 static int bq24735_charger_set_property(struct power_supply *psy, in bq24735_charger_set_property()
|
D | bq2415x_charger.c | 820 struct power_supply *psy = v; in bq2415x_notifier_call() local 1005 static int bq2415x_power_supply_get_property(struct power_supply *psy, in bq2415x_power_supply_get_property() 1100 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_status() local 1133 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_set_timer() local 1154 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_timer() local 1178 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_set_mode() local 1230 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_mode() local 1267 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_reported_mode() local 1295 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_set_registers() local 1330 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_registers() local [all …]
|
D | s3c_adc_battery.c | 31 struct power_supply *psy; member 44 static void s3c_adc_bat_ext_power_changed(struct power_supply *psy) in s3c_adc_bat_ext_power_changed() 72 static int s3c_adc_backup_bat_get_property(struct power_supply *psy, in s3c_adc_backup_bat_get_property() 140 static int s3c_adc_bat_get_property(struct power_supply *psy, in s3c_adc_bat_get_property()
|
D | tosa_battery.c | 29 struct power_supply *psy; member 94 static int tosa_bat_get_property(struct power_supply *psy, in tosa_bat_get_property() 146 static void tosa_bat_external_power_changed(struct power_supply *psy) in tosa_bat_external_power_changed() 161 struct power_supply *psy = bat->psy; in tosa_bat_update() local
|
D | jz4740-battery.c | 56 static inline struct jz_battery *psy_to_jz_battery(struct power_supply *psy) in psy_to_jz_battery() 105 static int jz_battery_get_capacity(struct power_supply *psy) in jz_battery_get_capacity() 129 static int jz_battery_get_property(struct power_supply *psy, in jz_battery_get_property() 173 static void jz_battery_external_power_changed(struct power_supply *psy) in jz_battery_external_power_changed()
|
D | collie_battery.c | 32 struct power_supply *psy; member 95 static int collie_bat_get_property(struct power_supply *psy, in collie_bat_get_property() 142 static void collie_bat_external_power_changed(struct power_supply *psy) in collie_bat_external_power_changed() 157 struct power_supply *psy = bat->psy; in collie_bat_update() local
|
D | twl4030_madc_battery.c | 24 struct power_supply *psy; member 106 static int twl4030_madc_bat_get_property(struct power_supply *psy, in twl4030_madc_bat_get_property() 170 static void twl4030_madc_bat_ext_changed(struct power_supply *psy) in twl4030_madc_bat_ext_changed()
|
D | generic-adc-battery.c | 47 struct power_supply *psy; member 57 static struct gab *to_generic_bat(struct power_supply *psy) in to_generic_bat() 62 static void gab_ext_power_changed(struct power_supply *psy) in gab_ext_power_changed() 144 static int gab_get_property(struct power_supply *psy, in gab_get_property()
|
D | ab8500_fg.c | 2085 static int ab8500_fg_get_property(struct power_supply *psy, in ab8500_fg_get_property() 2163 struct power_supply *psy; in ab8500_fg_get_ext_psy_data() local 2381 static void ab8500_fg_external_power_changed(struct power_supply *psy) in ab8500_fg_external_power_changed() 2563 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_flagtime_read() local 2586 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_flagtime_write() local 2612 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_maxtime_read() local 2636 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_maxtime_write() local 2661 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_restart_read() local 2684 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_restart_write() local 2710 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_timer_read() local [all …]
|
D | lp8727_charger.c | 92 struct lp8727_psy *psy; member 310 static int lp8727_charger_get_property(struct power_supply *psy, in lp8727_charger_get_property() 336 static int lp8727_battery_get_property(struct power_supply *psy, in lp8727_battery_get_property() 401 static void lp8727_charger_changed(struct power_supply *psy) in lp8727_charger_changed() 449 struct lp8727_psy *psy; in lp8727_register_psy() local 485 struct lp8727_psy *psy = pchg->psy; in lp8727_unregister_psy() local
|
D | sbs-manager.c | 45 struct power_supply *psy; member 95 static int sbsm_get_property(struct power_supply *psy, in sbsm_get_property() 138 static int sbsm_prop_is_writeable(struct power_supply *psy, in sbsm_prop_is_writeable() 146 static int sbsm_set_property(struct power_supply *psy, in sbsm_set_property()
|
D | ltc3651-charger.c | 40 struct power_supply *psy) in psy_to_ltc3651_charger() 45 static int ltc3651_charger_get_property(struct power_supply *psy, in ltc3651_charger_get_property()
|
D | qcom_smbb.c | 496 static int smbb_usbin_get_property(struct power_supply *psy, in smbb_usbin_get_property() 524 static int smbb_usbin_set_property(struct power_supply *psy, in smbb_usbin_set_property() 544 static int smbb_dcin_get_property(struct power_supply *psy, in smbb_dcin_get_property() 572 static int smbb_dcin_set_property(struct power_supply *psy, in smbb_dcin_set_property() 592 static int smbb_charger_writable_property(struct power_supply *psy, in smbb_charger_writable_property() 598 static int smbb_battery_get_property(struct power_supply *psy, in smbb_battery_get_property() 668 static int smbb_battery_set_property(struct power_supply *psy, in smbb_battery_set_property() 690 static int smbb_battery_writable_property(struct power_supply *psy, in smbb_battery_writable_property()
|
D | axp20x_usb_power.c | 66 static int axp20x_usb_power_get_property(struct power_supply *psy, in axp20x_usb_power_get_property() 239 static int axp20x_usb_power_set_property(struct power_supply *psy, in axp20x_usb_power_set_property() 259 static int axp20x_usb_power_prop_writeable(struct power_supply *psy, in axp20x_usb_power_prop_writeable()
|
D | wm8350_power.c | 250 static int wm8350_ac_get_prop(struct power_supply *psy, in wm8350_ac_get_prop() 280 static int wm8350_usb_get_prop(struct power_supply *psy, in wm8350_usb_get_prop() 346 static int wm8350_bat_get_property(struct power_supply *psy, in wm8350_bat_get_property()
|
D | gpio-charger.c | 48 static inline struct gpio_charger *psy_to_gpio_charger(struct power_supply *psy) in psy_to_gpio_charger() 53 static int gpio_charger_get_property(struct power_supply *psy, in gpio_charger_get_property()
|
/Linux-v4.19/include/linux/mfd/ |
D | rt5033.h | 42 struct power_supply *psy; member 57 struct power_supply psy; member
|
/Linux-v4.19/arch/x86/platform/olpc/ |
D | olpc-xo15-sci.c | 82 struct power_supply *psy = power_supply_get_by_name("olpc-battery"); in battery_status_changed() local 92 struct power_supply *psy = power_supply_get_by_name("olpc-ac"); in ac_status_changed() local
|