/Linux-v5.10/drivers/power/supply/ |
D | power_supply_core.c | 65 struct power_supply *psy = data; in __power_supply_changed_work() local 79 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local 114 void power_supply_changed(struct power_supply *psy) in power_supply_changed() 140 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_deferred_register_work() local 161 struct power_supply *psy = data; in __power_supply_populate_supplied_from() local 185 static int power_supply_populate_supplied_from(struct power_supply *psy) in power_supply_populate_supplied_from() 230 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies() 278 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies() 307 struct power_supply *psy; member 327 int power_supply_am_i_supplied(struct power_supply *psy) in power_supply_am_i_supplied() [all …]
|
D | power_supply_leds.c | 21 static void power_supply_update_bat_leds(struct power_supply *psy) in power_supply_update_bat_leds() 57 static int power_supply_create_bat_triggers(struct power_supply *psy) in power_supply_create_bat_triggers() 99 static void power_supply_remove_bat_triggers(struct power_supply *psy) in power_supply_remove_bat_triggers() 113 static void power_supply_update_gen_leds(struct power_supply *psy) in power_supply_update_gen_leds() 128 static int power_supply_create_gen_triggers(struct power_supply *psy) in power_supply_create_gen_triggers() 140 static void power_supply_remove_gen_triggers(struct power_supply *psy) in power_supply_remove_gen_triggers() 148 void power_supply_update_leds(struct power_supply *psy) in power_supply_update_leds() 156 int power_supply_create_triggers(struct power_supply *psy) in power_supply_create_triggers() 163 void power_supply_remove_triggers(struct power_supply *psy) in power_supply_remove_triggers()
|
D | power_supply.h | 36 static inline void power_supply_update_leds(struct power_supply *psy) {} in power_supply_update_leds() 37 static inline int power_supply_create_triggers(struct power_supply *psy) in power_supply_create_triggers() 39 static inline void power_supply_remove_triggers(struct power_supply *psy) {} in power_supply_remove_triggers()
|
D | ds2781_battery.c | 48 to_ds2781_device_info(struct power_supply *psy) in to_ds2781_device_info() 377 static int ds2781_battery_get_property(struct power_supply *psy, in ds2781_battery_get_property() 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); in ds2781_set_sense_resistor_value() local 543 struct power_supply *psy = to_power_supply(dev); in ds2781_get_rsgain_setting() local 560 struct power_supply *psy = to_power_supply(dev); in ds2781_set_rsgain_setting() local 586 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pio_pin() local 604 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pio_pin() local [all …]
|
D | ds2780_battery.c | 50 to_ds2780_device_info(struct power_supply *psy) in to_ds2780_device_info() 375 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property() 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); in ds2780_set_sense_resistor_value() local 541 struct power_supply *psy = to_power_supply(dev); in ds2780_get_rsgain_setting() local 558 struct power_supply *psy = to_power_supply(dev); in ds2780_set_rsgain_setting() local 584 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pio_pin() local 602 struct power_supply *psy = to_power_supply(dev); in ds2780_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 | 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
|
D | power_supply_hwmon.c | 12 struct power_supply *psy; member 210 struct power_supply *psy = psyhw->psy; in power_supply_hwmon_read() local 254 struct power_supply *psy = psyhw->psy; in power_supply_hwmon_write() local 334 int power_supply_add_hwmon_sysfs(struct power_supply *psy) in power_supply_add_hwmon_sysfs() 419 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) in power_supply_remove_hwmon_sysfs()
|
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 | 811 struct power_supply *psy = v; in bq2415x_notifier_call() local 996 static int bq2415x_power_supply_get_property(struct power_supply *psy, in bq2415x_power_supply_get_property() 1043 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_status() local 1076 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_set_timer() local 1097 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_timer() local 1121 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_set_mode() local 1173 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_mode() local 1210 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_reported_mode() local 1238 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_set_registers() local 1273 struct power_supply *psy = dev_get_drvdata(dev); in bq2415x_sysfs_show_registers() local [all …]
|
D | collie_battery.c | 28 struct power_supply *psy; member 91 static int collie_bat_get_property(struct power_supply *psy, in collie_bat_get_property() 138 static void collie_bat_external_power_changed(struct power_supply *psy) in collie_bat_external_power_changed() 153 struct power_supply *psy = bat->psy; in collie_bat_update() local
|
D | gpio-charger.c | 51 static inline struct gpio_charger *psy_to_gpio_charger(struct power_supply *psy) in psy_to_gpio_charger() 85 static int gpio_charger_get_property(struct power_supply *psy, in gpio_charger_get_property() 110 static int gpio_charger_set_property(struct power_supply *psy, in gpio_charger_set_property() 125 static int gpio_charger_property_is_writeable(struct power_supply *psy, in gpio_charger_property_is_writeable()
|
D | power_supply_sysfs.c | 267 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_show_property() local 313 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_store_property() local 352 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_attr_is_visible() local 454 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_uevent() local
|
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 | 25 struct power_supply *psy; member 90 static int tosa_bat_get_property(struct power_supply *psy, in tosa_bat_get_property() 142 static void tosa_bat_external_power_changed(struct power_supply *psy) in tosa_bat_external_power_changed() 157 struct power_supply *psy = bat->psy; in tosa_bat_update() local
|
D | cros_usbpd-charger.c | 32 struct power_supply *psy; member 348 static void cros_usbpd_charger_power_changed(struct power_supply *psy) in cros_usbpd_charger_power_changed() 358 static int cros_usbpd_charger_get_prop(struct power_supply *psy, in cros_usbpd_charger_get_prop() 445 static int cros_usbpd_charger_set_prop(struct power_supply *psy, in cros_usbpd_charger_set_prop() 503 static int cros_usbpd_charger_property_is_writeable(struct power_supply *psy, in cros_usbpd_charger_property_is_writeable() 545 struct power_supply *psy; in cros_usbpd_charger_probe() local
|
D | twl4030_madc_battery.c | 25 struct power_supply *psy; member 107 static int twl4030_madc_bat_get_property(struct power_supply *psy, in twl4030_madc_bat_get_property() 171 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() 2556 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_flagtime_read() local 2579 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_flagtime_write() local 2606 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_maxtime_read() local 2630 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_maxtime_write() local 2657 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_restart_read() local 2680 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_restart_write() local 2708 struct power_supply *psy = dev_get_drvdata(dev); in ab8505_powercut_timer_read() local [all …]
|
D | lp8727_charger.c | 88 struct lp8727_psy *psy; member 306 static int lp8727_charger_get_property(struct power_supply *psy, in lp8727_charger_get_property() 332 static int lp8727_battery_get_property(struct power_supply *psy, in lp8727_battery_get_property() 397 static void lp8727_charger_changed(struct power_supply *psy) in lp8727_charger_changed() 445 struct lp8727_psy *psy; in lp8727_register_psy() local 481 struct lp8727_psy *psy = pchg->psy; in lp8727_unregister_psy() local
|
D | mp2629_charger.c | 220 static int mp2629_charger_battery_get_prop(struct power_supply *psy, in mp2629_charger_battery_get_prop() 323 static int mp2629_charger_battery_set_prop(struct power_supply *psy, in mp2629_charger_battery_set_prop() 347 static int mp2629_charger_usb_get_prop(struct power_supply *psy, in mp2629_charger_usb_get_prop() 412 static int mp2629_charger_usb_set_prop(struct power_supply *psy, in mp2629_charger_usb_set_prop() 430 static int mp2629_charger_battery_prop_writeable(struct power_supply *psy, in mp2629_charger_battery_prop_writeable() 439 static int mp2629_charger_usb_prop_writeable(struct power_supply *psy, in mp2629_charger_usb_prop_writeable()
|
D | sbs-manager.c | 42 struct power_supply *psy; member 92 static int sbsm_get_property(struct power_supply *psy, in sbsm_get_property() 135 static int sbsm_prop_is_writeable(struct power_supply *psy, in sbsm_prop_is_writeable() 143 static int sbsm_set_property(struct power_supply *psy, in sbsm_set_property()
|
D | lt3651-charger.c | 36 struct power_supply *psy) in psy_to_lt3651_charger() 41 static int lt3651_charger_get_property(struct power_supply *psy, in lt3651_charger_get_property()
|
D | qcom_smbb.c | 488 static int smbb_usbin_get_property(struct power_supply *psy, in smbb_usbin_get_property() 516 static int smbb_usbin_set_property(struct power_supply *psy, in smbb_usbin_set_property() 536 static int smbb_dcin_get_property(struct power_supply *psy, in smbb_dcin_get_property() 564 static int smbb_dcin_set_property(struct power_supply *psy, in smbb_dcin_set_property() 584 static int smbb_charger_writable_property(struct power_supply *psy, in smbb_charger_writable_property() 590 static int smbb_battery_get_property(struct power_supply *psy, in smbb_battery_get_property() 660 static int smbb_battery_set_property(struct power_supply *psy, in smbb_battery_set_property() 682 static int smbb_battery_writable_property(struct power_supply *psy, in smbb_battery_writable_property()
|
/Linux-v5.10/drivers/usb/misc/ |
D | apple-mfi-fastcharge.c | 91 static int apple_mfi_fc_get_property(struct power_supply *psy, in apple_mfi_fc_get_property() 113 static int apple_mfi_fc_set_property(struct power_supply *psy, in apple_mfi_fc_set_property() 142 static int apple_mfi_fc_property_is_writeable(struct power_supply *psy, in apple_mfi_fc_property_is_writeable()
|