| /linux/drivers/power/supply/ |
| H A D | power_supply_core.c | 70 struct power_supply *psy = data; in __power_supply_changed_work() local 82 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local 134 struct power_supply *psy = dev_to_psy(dev); psy_for_each_psy_cb() local 139 power_supply_for_each_psy(void * data,int (* fn)(struct power_supply * psy,void * data)) power_supply_for_each_psy() argument 150 power_supply_changed(struct power_supply * psy) power_supply_changed() argument 176 struct power_supply *psy = container_of(work, struct power_supply, power_supply_deferred_register_work() local 197 struct power_supply *psy = data; __power_supply_populate_supplied_from() local 220 power_supply_populate_supplied_from(struct power_supply * psy) power_supply_populate_supplied_from() argument 262 power_supply_check_supplies(struct power_supply * psy) power_supply_check_supplies() argument 305 power_supply_check_supplies(struct power_supply * psy) power_supply_check_supplies() argument 333 struct power_supply *psy; global() member 352 power_supply_am_i_supplied(struct power_supply * psy) power_supply_am_i_supplied() argument 368 __power_supply_is_system_supplied(struct power_supply * psy,void * data) __power_supply_is_system_supplied() argument 405 struct power_supply *psy; global() member 421 power_supply_get_property_from_supplier(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) power_supply_get_property_from_supplier() argument 449 struct power_supply *psy = dev_to_psy(dev); power_supply_match_device_by_name() local 467 struct power_supply *psy = NULL; power_supply_get_by_name() local 480 power_supply_is_system_battery(struct power_supply * psy) power_supply_is_system_battery() argument 640 power_supply_put(struct power_supply * psy) power_supply_put() argument 668 struct power_supply *psy = NULL; power_supply_get_by_reference() local 691 struct power_supply **psy = res; devm_power_supply_put() local 708 struct power_supply **ptr, *psy; devm_power_supply_get_by_reference() local 728 power_supply_get_battery_info(struct power_supply * psy,struct power_supply_battery_info ** info_out) power_supply_get_battery_info() argument 987 power_supply_put_battery_info(struct power_supply * psy,struct power_supply_battery_info * info) power_supply_put_battery_info() argument 1373 power_supply_has_property(struct power_supply * psy,enum power_supply_property psp) power_supply_has_property() argument 1392 __power_supply_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val,bool use_extensions) __power_supply_get_property() argument 1422 power_supply_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) power_supply_get_property() argument 1442 power_supply_get_property_direct(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) power_supply_get_property_direct() argument 1450 __power_supply_set_property(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val,bool use_extensions) __power_supply_set_property() argument 1479 power_supply_set_property(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val) power_supply_set_property() argument 1499 power_supply_set_property_direct(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val) power_supply_set_property_direct() argument 1506 power_supply_property_is_writeable(struct power_supply * psy,enum power_supply_property psp) power_supply_property_is_writeable() argument 1527 power_supply_external_power_changed(struct power_supply * psy) power_supply_external_power_changed() argument 1550 power_supply_powers(struct power_supply * psy,struct device * dev) power_supply_powers() argument 1556 power_supply_update_sysfs_and_hwmon(struct power_supply * psy) power_supply_update_sysfs_and_hwmon() argument 1570 power_supply_register_extension(struct power_supply * psy,const struct power_supply_ext * ext,struct device * dev,void * data) power_supply_register_extension() argument 1618 power_supply_unregister_extension(struct power_supply * psy,const struct power_supply_ext * ext) power_supply_unregister_extension() argument 1640 struct power_supply *psy = to_power_supply(dev); power_supply_dev_release() local 1662 struct power_supply *psy; power_supply_read_temp() local 1682 psy_register_thermal(struct power_supply * psy) psy_register_thermal() argument 1708 psy_unregister_thermal(struct power_supply * psy) psy_unregister_thermal() argument 1716 psy_register_thermal(struct power_supply * psy) psy_register_thermal() argument 1721 psy_unregister_thermal(struct power_supply * psy) psy_unregister_thermal() argument 1732 struct power_supply *psy; __power_supply_register() local 1880 struct power_supply **psy = res; devm_power_supply_release() local 1904 struct power_supply **ptr, *psy; devm_power_supply_register() local 1928 power_supply_unregister(struct power_supply * psy) power_supply_unregister() argument 1953 power_supply_get_drvdata(struct power_supply * psy) power_supply_get_drvdata() argument [all...] |
| H A D | ds2781_battery.c | 48 to_ds2781_device_info(struct power_supply *psy) in to_ds2781_device_info() argument 377 static int ds2781_battery_get_property(struct power_supply *psy, in ds2781_battery_get_property() argument 451 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pmod_enabled() local 470 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pmod_enabled() local 505 struct power_supply *psy = to_power_supply(dev); in ds2781_get_sense_resistor_value() local 523 struct power_supply *psy = to_power_supply(dev); ds2781_set_sense_resistor_value() local 543 struct power_supply *psy = to_power_supply(dev); ds2781_get_rsgain_setting() local 560 struct power_supply *psy = to_power_supply(dev); ds2781_set_rsgain_setting() local 586 struct power_supply *psy = to_power_supply(dev); ds2781_get_pio_pin() local 604 struct power_supply *psy = to_power_supply(dev); ds2781_set_pio_pin() local 630 struct power_supply *psy = to_power_supply(dev); ds2781_read_param_eeprom_bin() local 643 struct power_supply *psy = to_power_supply(dev); ds2781_write_param_eeprom_bin() local 675 struct power_supply *psy = to_power_supply(dev); ds2781_read_user_eeprom_bin() local 689 struct power_supply *psy = to_power_supply(dev); ds2781_write_user_eeprom_bin() local [all...] |
| H A D | ds2780_battery.c | 50 to_ds2780_device_info(struct power_supply *psy) in to_ds2780_device_info() argument 375 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property() argument 449 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pmod_enabled() local 468 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pmod_enabled() local 503 struct power_supply *psy = to_power_supply(dev); in ds2780_get_sense_resistor_value() local 521 struct power_supply *psy = to_power_supply(dev); ds2780_set_sense_resistor_value() local 541 struct power_supply *psy = to_power_supply(dev); ds2780_get_rsgain_setting() local 558 struct power_supply *psy = to_power_supply(dev); ds2780_set_rsgain_setting() local 584 struct power_supply *psy = to_power_supply(dev); ds2780_get_pio_pin() local 602 struct power_supply *psy = to_power_supply(dev); ds2780_set_pio_pin() local 628 struct power_supply *psy = to_power_supply(dev); ds2780_read_param_eeprom_bin() local 641 struct power_supply *psy = to_power_supply(dev); ds2780_write_param_eeprom_bin() local 673 struct power_supply *psy = to_power_supply(dev); ds2780_read_user_eeprom_bin() local 686 struct power_supply *psy = to_power_supply(dev); ds2780_write_user_eeprom_bin() local [all...] |
| H A D | wilco-charger.c | 86 static int wilco_charge_get_property(struct power_supply *psy, in wilco_charge_get_property() 123 static int wilco_charge_set_property(struct power_supply *psy, in wilco_charge_set_property() 153 static int wilco_charge_property_is_writeable(struct power_supply *psy, in wilco_charge_property_is_writeable() 173 struct power_supply *psy; in wilco_charge_probe() local
|
| H A 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() argument 91 static int lego_ev3_battery_set_property(struct power_supply *psy, in lego_ev3_battery_set_property() argument 126 static int lego_ev3_battery_property_is_writeable(struct power_supply *psy, in lego_ev3_battery_property_is_writeable() argument
|
| H A D | test_power.c | 46 static int test_power_get_ac_property(struct power_supply *psy, in test_power_get_ac_property() 60 static int test_power_get_usb_property(struct power_supply *psy, in test_power_get_usb_property() 74 static int test_power_get_battery_property(struct power_supply *psy, in test_power_get_battery_property() 145 static int test_power_battery_property_is_writeable(struct power_supply *psy, in test_power_battery_property_is_writeable() 151 static int test_power_set_battery_property(struct power_supply *psy, in test_power_set_battery_property() 267 static int test_power_battery_extget_property(struct power_supply *psy, in test_power_battery_extget_property() 289 static int test_power_battery_extset_property(struct power_supply *psy, in test_power_battery_extset_property() 308 static int test_power_battery_extproperty_is_writeable(struct power_supply *psy, in test_power_battery_extproperty_is_writeable() 327 struct power_supply *psy; in test_power_configure_battery_extension() local 480 static inline void signal_power_supply_changed(struct power_supply *psy) in signal_power_supply_changed()
|
| H A D | max8971_charger.c | 269 static int max8971_get_property(struct power_supply *psy, enum power_supply_property psp, in max8971_get_property() argument 318 static int max8971_set_property(struct power_supply *psy, enum power_supply_property psp, in max8971_set_property() argument 340 static int max8971_property_is_writeable(struct power_supply *psy, in max8971_property_is_writeable() argument 403 struct power_supply *psy = to_power_supply(dev); in fast_charge_timer_show() local 429 struct power_supply *psy = to_power_supply(dev); in fast_charge_timer_store() local 453 struct power_supply *psy in top_off_threshold_current_show() local 473 struct power_supply *psy = to_power_supply(dev); top_off_threshold_current_store() local 495 struct power_supply *psy = to_power_supply(dev); top_off_timer_show() local 513 struct power_supply *psy = to_power_supply(dev); top_off_timer_store() local [all...] |
| H A D | generic-adc-battery.c | 45 struct power_supply *psy; member 53 static struct gab *to_generic_bat(struct power_supply *psy) in to_generic_bat() argument 58 static void gab_ext_power_changed(struct power_supply *psy) in gab_ext_power_changed() argument 106 static int gab_get_property(struct power_supply *psy, in gab_get_property() argument [all...] |
| H A D | huawei-gaokun-battery.c | 141 static int gaokun_psy_get_adp_property(struct power_supply *psy, in gaokun_psy_get_adp_property() argument 272 static int gaokun_psy_get_bat_property(struct power_supply *psy, in gaokun_psy_get_bat_property() argument 361 static int gaokun_psy_set_bat_property(struct power_supply *psy, in gaokun_psy_set_bat_property() argument 400 static int gaokun_psy_is_bat_property_writeable(struct power_supply *psy, in gaokun_psy_is_bat_property_writeable() argument 449 struct power_supply *psy = to_power_supply(dev); in battery_adaptive_charge_show() local 465 struct power_supply *psy in battery_adaptive_charge_store() local 504 struct power_supply *psy = to_power_supply(dev); smart_charge_delay_show() local 520 struct power_supply *psy = to_power_supply(dev); smart_charge_delay_store() local [all...] |
| H A D | cros_usbpd-charger.c | 32 struct power_supply *psy; member 347 static void cros_usbpd_charger_power_changed(struct power_supply *psy) in cros_usbpd_charger_power_changed() argument 357 static int cros_usbpd_charger_get_prop(struct power_supply *psy, in cros_usbpd_charger_get_prop() argument 444 static int cros_usbpd_charger_set_prop(struct power_supply *psy, in cros_usbpd_charger_set_prop() argument 502 static int cros_usbpd_charger_property_is_writeable(struct power_supply *psy, in cros_usbpd_charger_property_is_writeable() argument 544 struct power_supply *psy; cros_usbpd_charger_probe() local [all...] |
| H A D | collie_battery.c | 30 struct power_supply *psy; member 93 static int collie_bat_get_property(struct power_supply *psy, in collie_bat_get_property() 140 static void collie_bat_external_power_changed(struct power_supply *psy) in collie_bat_external_power_changed() 155 struct power_supply *psy = bat->psy; in collie_bat_update() local
|
| H A D | mp2629_charger.c | 211 static int mp2629_charger_battery_get_prop(struct power_supply *psy, in mp2629_charger_battery_get_prop() argument 314 static int mp2629_charger_battery_set_prop(struct power_supply *psy, in mp2629_charger_battery_set_prop() argument 338 static int mp2629_charger_usb_get_prop(struct power_supply *psy, in mp2629_charger_usb_get_prop() argument 403 static int mp2629_charger_usb_set_prop(struct power_supply *psy, in mp2629_charger_usb_set_prop() argument 421 static int mp2629_charger_battery_prop_writeable(struct power_supply *psy, in mp2629_charger_battery_prop_writeable() argument 430 static int mp2629_charger_usb_prop_writeable(struct power_supply *psy, in mp2629_charger_usb_prop_writeable() argument [all...] |
| H A D | ab8500_bmdata.c | 140 ab8500_bm_of_probe(struct power_supply * psy,struct ab8500_bm_data * bm) ab8500_bm_of_probe() argument 237 ab8500_bm_of_remove(struct power_supply * psy,struct ab8500_bm_data * bm) ab8500_bm_of_remove() argument
|
| H A D | rt9756.c | 180 struct power_supply *psy; member 383 static int rt9756_psy_get_property(struct power_supply *psy, in rt9756_psy_get_property() argument 426 static int rt9756_psy_set_property(struct power_supply *psy, in rt9756_psy_set_property() argument 472 static int rt9756_bat_psy_get_property(struct power_supply *psy, in rt9756_bat_psy_get_property() argument 498 static int rt9756_psy_property_is_writeable(struct power_supply *psy, in rt9756_psy_property_is_writeable() argument 522 struct power_supply *psy = to_power_supply(dev); in watchdog_timer_show() local 546 struct power_supply *psy = to_power_supply(dev); watchdog_timer_store() local 580 struct power_supply *psy = to_power_supply(dev); operation_mode_show() local 596 struct power_supply *psy = to_power_supply(dev); operation_mode_store() local [all...] |
| H A D | cros_charge-control.c | 100 cros_chctl_psy_ext_get_prop(struct power_supply * psy,const struct power_supply_ext * ext,void * data,enum power_supply_property psp,union power_supply_propval * val) cros_chctl_psy_ext_get_prop() argument 156 cros_chctl_psy_ext_set_prop(struct power_supply * psy,const struct power_supply_ext * ext,void * data,enum power_supply_property psp,const union power_supply_propval * val) cros_chctl_psy_ext_set_prop() argument 182 cros_chctl_psy_prop_is_writeable(struct power_supply * psy,const struct power_supply_ext * ext,void * data,enum power_supply_property psp) cros_chctl_psy_prop_is_writeable() argument
|
| H A D | wm8350_power.c | 247 static int wm8350_ac_get_prop(struct power_supply *psy, in wm8350_ac_get_prop() 277 static int wm8350_usb_get_prop(struct power_supply *psy, in wm8350_usb_get_prop() 343 static int wm8350_bat_get_property(struct power_supply *psy, in wm8350_bat_get_property()
|
| H A D | pm8916_lbc.c | 122 static int pm8916_lbc_charger_get_property(struct power_supply *psy, in pm8916_lbc_charger_get_property() argument 146 static int pm8916_lbc_charger_set_property(struct power_supply *psy, in pm8916_lbc_charger_set_property() argument 161 static int pm8916_lbc_charger_property_is_writeable(struct power_supply *psy, in pm8916_lbc_charger_property_is_writeable() argument
|
| H A D | ug3105_battery.c | 74 struct power_supply *psy; member 90 static int ug3105_get_voltage_and_current_now(struct power_supply *psy, int *volt, int *curr) in ug3105_get_voltage_and_current_now() argument
|
| H A D | pmu_battery.c | 30 static int pmu_get_ac_prop(struct power_supply *psy, in pmu_get_ac_prop() 82 static int pmu_bat_get_property(struct power_supply *psy, in pmu_bat_get_property()
|
| H A D | macsmc-power.c | 331 static int macsmc_battery_get_property(struct power_supply *psy, in macsmc_battery_get_property() argument 483 static int macsmc_battery_set_property(struct power_supply *psy, in macsmc_battery_set_property() argument 497 static int macsmc_battery_property_is_writeable(struct power_supply *psy, in macsmc_battery_property_is_writeable() argument 516 static int macsmc_ac_get_property(struct power_supply *psy, in macsmc_ac_get_property() argument
|
| H A D | cros_peripheral_charger.c | 29 struct power_supply *psy; member 194 static int cros_pchg_get_prop(struct power_supply *psy, in cros_pchg_get_prop() argument 276 struct power_supply *psy; in cros_pchg_probe() local [all...] |
| H A D | surface_battery.c | 123 struct power_supply *psy; member 409 static void spwr_external_power_changed(struct power_supply *psy) in spwr_external_power_changed() argument 543 static int spwr_battery_get_property(struct power_supply *psy, enum power_supply_property psp, in spwr_battery_get_property() argument 670 struct power_supply *psy = dev_to_psy(dev); in alarm_show() local 684 struct power_supply *psy = dev_to_psy(dev); alarm_store() local [all...] |
| H A D | bd71828-power.c | 444 static int bd71828_charger_get_property(struct power_supply *psy, in bd71828_charger_get_property() argument 494 static int bd71828_charger_set_property(struct power_supply *psy, in bd71828_charger_set_property() argument 520 static int bd71828_charger_property_is_writeable(struct power_supply *psy, in bd71828_charger_property_is_writeable() argument 533 static int bd71828_battery_get_property(struct power_supply *psy, in bd71828_battery_get_property() argument 599 static int bd71828_battery_set_property(struct power_supply *psy, in bd71828_battery_set_property() argument 624 bd71828_battery_property_is_writeable(struct power_supply * psy,enum power_supply_property psp) bd71828_battery_property_is_writeable() argument [all...] |
| H A D | surface_charger.c | 54 struct power_supply *psy; member 139 static int spwr_ac_get_property(struct power_supply *psy, enum power_supply_property psp, in spwr_ac_get_property() argument
|
| /linux/arch/x86/platform/olpc/ |
| H A D | olpc-xo15-sci.c | 78 struct power_supply *psy = power_supply_get_by_name("olpc_battery"); in battery_status_changed() local 88 struct power_supply *psy = power_supply_get_by_name("olpc_ac"); in ac_status_changed() local
|