Home
last modified time | relevance | path

Searched defs:psy (Results 1 – 25 of 65) sorted by relevance

123

/linux/drivers/power/supply/
H A Dds2781_battery.c48 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 …]
H A Dds2780_battery.c50 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 …]
H A Dwilco-charger.c86 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 Dlego_ev3_battery.c31 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()
H A Dtest_power.c46 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 Dmax8971_charger.c269 static int max8971_get_property(struct power_supply *psy, enum power_supply_property psp, in max8971_get_property()
318 static int max8971_set_property(struct power_supply *psy, enum power_supply_property psp, in max8971_set_property()
340 static int max8971_property_is_writeable(struct power_supply *psy, in max8971_property_is_writeable()
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 = to_power_supply(dev); in top_off_threshold_current_show() local
473 struct power_supply *psy = to_power_supply(dev); in top_off_threshold_current_store() local
495 struct power_supply *psy = to_power_supply(dev); in top_off_timer_show() local
513 struct power_supply *psy = to_power_supply(dev); in top_off_timer_store() local
H A Dhuawei-gaokun-battery.c141 static int gaokun_psy_get_adp_property(struct power_supply *psy, in gaokun_psy_get_adp_property()
272 static int gaokun_psy_get_bat_property(struct power_supply *psy, in gaokun_psy_get_bat_property()
361 static int gaokun_psy_set_bat_property(struct power_supply *psy, in gaokun_psy_set_bat_property()
400 static int gaokun_psy_is_bat_property_writeable(struct power_supply *psy, in gaokun_psy_is_bat_property_writeable()
449 struct power_supply *psy = to_power_supply(dev); in battery_adaptive_charge_show() local
465 struct power_supply *psy = to_power_supply(dev); in battery_adaptive_charge_store() local
504 struct power_supply *psy = to_power_supply(dev); in smart_charge_delay_show() local
520 struct power_supply *psy = to_power_supply(dev); in smart_charge_delay_store() local
H A Dcros_usbpd-charger.c32 struct power_supply *psy; member
347 static void cros_usbpd_charger_power_changed(struct power_supply *psy) in cros_usbpd_charger_power_changed()
357 static int cros_usbpd_charger_get_prop(struct power_supply *psy, in cros_usbpd_charger_get_prop()
444 static int cros_usbpd_charger_set_prop(struct power_supply *psy, in cros_usbpd_charger_set_prop()
502 static int cros_usbpd_charger_property_is_writeable(struct power_supply *psy, in cros_usbpd_charger_property_is_writeable()
544 struct power_supply *psy; in cros_usbpd_charger_probe() local
H A Dcollie_battery.c30 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 Dab8500_bmdata.c140 int ab8500_bm_of_probe(struct power_supply *psy, in ab8500_bm_of_probe()
237 void ab8500_bm_of_remove(struct power_supply *psy, in ab8500_bm_of_remove()
H A Dmp2629_charger.c211 static int mp2629_charger_battery_get_prop(struct power_supply *psy, in mp2629_charger_battery_get_prop()
314 static int mp2629_charger_battery_set_prop(struct power_supply *psy, in mp2629_charger_battery_set_prop()
338 static int mp2629_charger_usb_get_prop(struct power_supply *psy, in mp2629_charger_usb_get_prop()
403 static int mp2629_charger_usb_set_prop(struct power_supply *psy, in mp2629_charger_usb_set_prop()
421 static int mp2629_charger_battery_prop_writeable(struct power_supply *psy, in mp2629_charger_battery_prop_writeable()
430 static int mp2629_charger_usb_prop_writeable(struct power_supply *psy, in mp2629_charger_usb_prop_writeable()
H A Drt9756.c180 struct power_supply *psy; member
383 static int rt9756_psy_get_property(struct power_supply *psy, in rt9756_psy_get_property()
426 static int rt9756_psy_set_property(struct power_supply *psy, in rt9756_psy_set_property()
472 static int rt9756_bat_psy_get_property(struct power_supply *psy, in rt9756_bat_psy_get_property()
498 static int rt9756_psy_property_is_writeable(struct power_supply *psy, in rt9756_psy_property_is_writeable()
522 struct power_supply *psy = to_power_supply(dev); in watchdog_timer_show() local
546 struct power_supply *psy = to_power_supply(dev); in watchdog_timer_store() local
580 struct power_supply *psy = to_power_supply(dev); in operation_mode_show() local
596 struct power_supply *psy = to_power_supply(dev); in operation_mode_store() local
H A Dcros_charge-control.c100 static int cros_chctl_psy_ext_get_prop(struct power_supply *psy, in cros_chctl_psy_ext_get_prop()
156 static int cros_chctl_psy_ext_set_prop(struct power_supply *psy, in cros_chctl_psy_ext_set_prop()
182 static int cros_chctl_psy_prop_is_writeable(struct power_supply *psy, in cros_chctl_psy_prop_is_writeable()
H A Dwm8350_power.c247 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 Dpm8916_lbc.c122 static int pm8916_lbc_charger_get_property(struct power_supply *psy, in pm8916_lbc_charger_get_property()
146 static int pm8916_lbc_charger_set_property(struct power_supply *psy, in pm8916_lbc_charger_set_property()
161 static int pm8916_lbc_charger_property_is_writeable(struct power_supply *psy, in pm8916_lbc_charger_property_is_writeable()
H A Dug3105_battery.c74 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()
H A Dpmu_battery.c30 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 Dmacsmc-power.c331 static int macsmc_battery_get_property(struct power_supply *psy, in macsmc_battery_get_property()
483 static int macsmc_battery_set_property(struct power_supply *psy, in macsmc_battery_set_property()
497 static int macsmc_battery_property_is_writeable(struct power_supply *psy, in macsmc_battery_property_is_writeable()
516 static int macsmc_ac_get_property(struct power_supply *psy, in macsmc_ac_get_property()
H A Dcros_peripheral_charger.c29 struct power_supply *psy; member
194 static int cros_pchg_get_prop(struct power_supply *psy, in cros_pchg_get_prop()
276 struct power_supply *psy; in cros_pchg_probe() local
H A Dsurface_battery.c123 struct power_supply *psy; member
409 static void spwr_external_power_changed(struct power_supply *psy) in spwr_external_power_changed()
543 static int spwr_battery_get_property(struct power_supply *psy, enum power_supply_property psp, in spwr_battery_get_property()
670 struct power_supply *psy = dev_to_psy(dev); in alarm_show() local
684 struct power_supply *psy = dev_to_psy(dev); in alarm_store() local
H A Dbd71828-power.c444 static int bd71828_charger_get_property(struct power_supply *psy, in bd71828_charger_get_property()
494 static int bd71828_charger_set_property(struct power_supply *psy, in bd71828_charger_set_property()
520 static int bd71828_charger_property_is_writeable(struct power_supply *psy, in bd71828_charger_property_is_writeable()
533 static int bd71828_battery_get_property(struct power_supply *psy, in bd71828_battery_get_property()
599 static int bd71828_battery_set_property(struct power_supply *psy, in bd71828_battery_set_property()
624 static int bd71828_battery_property_is_writeable(struct power_supply *psy, in bd71828_battery_property_is_writeable()
H A Dsurface_charger.c54 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()
H A Dds2760_battery.c481 static void ds2760_battery_external_power_changed(struct power_supply *psy) in ds2760_battery_external_power_changed()
491 static int ds2760_battery_get_property(struct power_supply *psy, in ds2760_battery_get_property()
542 static int ds2760_battery_set_property(struct power_supply *psy, in ds2760_battery_set_property()
566 static int ds2760_battery_property_is_writeable(struct power_supply *psy, in ds2760_battery_property_is_writeable()
/linux/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c78 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
/linux/drivers/platform/x86/
H A Dayaneo-ec.c279 static int ayaneo_psy_ext_get_prop(struct power_supply *psy, in ayaneo_psy_ext_get_prop()
304 static int ayaneo_psy_ext_set_prop(struct power_supply *psy, in ayaneo_psy_ext_set_prop()
330 static int ayaneo_psy_prop_is_writeable(struct power_supply *psy, in ayaneo_psy_prop_is_writeable()

123