Home
last modified time | relevance | path

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

12345

/linux/drivers/power/supply/
H A Dpower_supply_core.c71 struct power_supply *psy = data; in __power_supply_changed_work() local
83 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local
135 struct power_supply *psy = dev_to_psy(dev); in psy_for_each_psy_cb() local
140 int power_supply_for_each_psy(void *data, int (*fn)(struct power_supply *psy, void *data)) in power_supply_for_each_psy()
151 void power_supply_changed(struct power_supply *psy) in power_supply_changed()
177 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_deferred_register_work() local
198 struct power_supply *psy = data; in __power_supply_populate_supplied_from() local
221 static int power_supply_populate_supplied_from(struct power_supply *psy) in power_supply_populate_supplied_from()
263 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
311 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
[all …]
H A Dpower_supply_leds.c24 struct power_supply *psy; member
40 static int power_supply_register_led_trigger(struct power_supply *psy, in power_supply_register_led_trigger()
92 static void power_supply_update_bat_leds(struct power_supply *psy) in power_supply_update_bat_leds()
138 static void power_supply_remove_bat_triggers(struct power_supply *psy) in power_supply_remove_bat_triggers()
147 static int power_supply_create_bat_triggers(struct power_supply *psy) in power_supply_create_bat_triggers()
169 static void power_supply_update_gen_leds(struct power_supply *psy) in power_supply_update_gen_leds()
184 static int power_supply_create_gen_triggers(struct power_supply *psy) in power_supply_create_gen_triggers()
189 static void power_supply_remove_gen_triggers(struct power_supply *psy) in power_supply_remove_gen_triggers()
196 void power_supply_update_leds(struct power_supply *psy) in power_supply_update_leds()
204 int power_supply_create_triggers(struct power_supply *psy) in power_supply_create_triggers()
[all …]
H A Dds2780_battery.c50 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 Dds2781_battery.c48 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 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 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 Dip5xxx_power.c114 ip5xxx_initialize(struct power_supply * psy) ip5xxx_initialize() argument
312 ip5xxx_battery_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) ip5xxx_battery_get_property() argument
430 ip5xxx_battery_set_property(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val) ip5xxx_battery_set_property() argument
480 ip5xxx_battery_property_is_writeable(struct power_supply * psy,enum power_supply_property psp) ip5xxx_battery_property_is_writeable() argument
504 ip5xxx_boost_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) ip5xxx_boost_get_property() argument
539 ip5xxx_boost_set_property(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val) ip5xxx_boost_set_property() argument
567 ip5xxx_boost_property_is_writeable(struct power_supply * psy,enum power_supply_property psp) ip5xxx_boost_property_is_writeable() argument
593 struct power_supply *psy; ip5xxx_power_probe() local
[all...]
H A Drn5t618_power.c351 static int rn5t618_battery_get_property(struct power_supply *psy, in rn5t618_battery_get_property()
402 static int rn5t618_battery_set_property(struct power_supply *psy, in rn5t618_battery_set_property()
416 static int rn5t618_battery_property_is_writeable(struct power_supply *psy, in rn5t618_battery_property_is_writeable()
427 static int rn5t618_adp_get_property(struct power_supply *psy, in rn5t618_adp_get_property()
481 static int rn5t618_adp_set_property(struct power_supply *psy, in rn5t618_adp_set_property()
509 static int rn5t618_adp_property_is_writeable(struct power_supply *psy, in rn5t618_adp_property_is_writeable()
547 static int rn5t618_usb_get_property(struct power_supply *psy, in rn5t618_usb_get_property()
615 static int rn5t618_usb_set_property(struct power_supply *psy, in rn5t618_usb_set_property()
643 static int rn5t618_usb_property_is_writeable(struct power_supply *psy, in rn5t618_usb_property_is_writeable()
H A Dltc4162-l-charger.c507 struct power_supply *psy = to_power_supply(dev); charge_status_show() local
535 struct power_supply *psy = to_power_supply(dev); vbat_show() local
551 struct power_supply *psy = to_power_supply(dev); vbat_avg_show() local
567 struct power_supply *psy = to_power_supply(dev); ibat_show() local
583 struct power_supply *psy = to_power_supply(dev); force_telemetry_show() local
600 struct power_supply *psy = to_power_supply(dev); force_telemetry_store() local
622 struct power_supply *psy = to_power_supply(dev); arm_ship_mode_show() local
640 struct power_supply *psy = to_power_supply(dev); arm_ship_mode_store() local
679 ltc4162l_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) ltc4162l_get_property() argument
721 ltc4162l_set_property(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val) ltc4162l_set_property() argument
743 ltc4162l_property_is_writeable(struct power_supply * psy,enum power_supply_property psp) ltc4162l_property_is_writeable() argument
[all...]
H A Dbq2415x_charger.c811 struct power_supply *psy = v; bq2415x_notifier_call() local
997 bq2415x_power_supply_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) bq2415x_power_supply_get_property() argument
1053 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_status() local
1086 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_set_timer() local
1107 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_timer() local
1131 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_set_mode() local
1183 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_mode() local
1220 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_reported_mode() local
1248 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_set_registers() local
1283 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_registers() local
1301 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_set_limit() local
1332 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_limit() local
1360 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_set_enable() local
1395 struct power_supply *psy = dev_get_drvdata(dev); bq2415x_sysfs_show_enable() local
[all...]
H A Dbq24735-charger.c61 static inline struct bq24735 *to_bq24735(struct power_supply *psy) in to_bq24735()
71 static int bq24735_charger_property_is_writeable(struct power_supply *psy, in bq24735_charger_property_is_writeable()
237 struct power_supply *psy = devid; in bq24735_charger_isr() local
255 static int bq24735_charger_get_property(struct power_supply *psy, in bq24735_charger_get_property()
285 static int bq24735_charger_set_property(struct power_supply *psy, in bq24735_charger_set_property()
H A Dgeneric-adc-battery.c45 struct power_supply *psy; member
53 static struct gab *to_generic_bat(struct power_supply *psy) in to_generic_bat()
58 static void gab_ext_power_changed(struct power_supply *psy) in gab_ext_power_changed()
101 static int gab_get_property(struct power_supply *psy, in gab_get_property()
H A Dug3105_battery.c71 struct power_supply *psy; member
185 struct power_supply *psy; in ug3105_work() local
298 ug3105_get_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) ug3105_get_property() argument
354 ug3105_external_power_changed(struct power_supply * psy) ug3105_external_power_changed() argument
389 struct power_supply *psy; ug3105_probe() local
[all...]
H A Dcros_usbpd-charger.c33 struct power_supply *psy; member
338 static void cros_usbpd_charger_power_changed(struct power_supply *psy) in cros_usbpd_charger_power_changed()
348 static int cros_usbpd_charger_get_prop(struct power_supply *psy, in cros_usbpd_charger_get_prop()
435 static int cros_usbpd_charger_set_prop(struct power_supply *psy, in cros_usbpd_charger_set_prop()
493 static int cros_usbpd_charger_property_is_writeable(struct power_supply *psy, in cros_usbpd_charger_property_is_writeable()
535 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 Dgpio-charger.c51 static inline struct gpio_charger *psy_to_gpio_charger(struct power_supply *psy) in psy_to_gpio_charger()
93 static int gpio_charger_get_property(struct power_supply *psy, in gpio_charger_get_property()
118 static int gpio_charger_set_property(struct power_supply *psy, in gpio_charger_set_property()
133 static int gpio_charger_property_is_writeable(struct power_supply *psy, in gpio_charger_property_is_writeable()
H A Dtest_power.c43 test_power_get_ac_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) test_power_get_ac_property() argument
57 test_power_get_usb_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) test_power_get_usb_property() argument
71 test_power_get_battery_property(struct power_supply * psy,enum power_supply_property psp,union power_supply_propval * val) test_power_get_battery_property() argument
139 test_power_battery_property_is_writeable(struct power_supply * psy,enum power_supply_property psp) test_power_battery_property_is_writeable() argument
145 test_power_set_battery_property(struct power_supply * psy,enum power_supply_property psp,const union power_supply_propval * val) test_power_set_battery_property() argument
375 signal_power_supply_changed(struct power_supply * psy) signal_power_supply_changed() argument
[all...]
H A Dmp2629_charger.c212 static int mp2629_charger_battery_get_prop(struct power_supply *psy, in mp2629_charger_battery_get_prop()
315 static int mp2629_charger_battery_set_prop(struct power_supply *psy, in mp2629_charger_battery_set_prop()
339 static int mp2629_charger_usb_get_prop(struct power_supply *psy, in mp2629_charger_usb_get_prop()
404 static int mp2629_charger_usb_set_prop(struct power_supply *psy, in mp2629_charger_usb_set_prop()
422 static int mp2629_charger_battery_prop_writeable(struct power_supply *psy, in mp2629_charger_battery_prop_writeable()
431 static int mp2629_charger_usb_prop_writeable(struct power_supply *psy, in mp2629_charger_usb_prop_writeable()
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 Dqcom_smbb.c488 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()
H A Dsbs-manager.c42 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()
H A Daxp20x_battery.c273 static int axp20x_battery_get_prop(struct power_supply *psy, in axp20x_battery_get_prop()
425 static int axp717_battery_get_prop(struct power_supply *psy, in axp717_battery_get_prop()
766 static int axp20x_battery_set_prop(struct power_supply *psy, in axp20x_battery_set_prop()
802 static int axp717_battery_set_prop(struct power_supply *psy, in axp717_battery_set_prop()
866 static int axp20x_battery_prop_writeable(struct power_supply *psy, in axp20x_battery_prop_writeable()
876 static int axp717_battery_prop_writeable(struct power_supply *psy, in axp717_battery_prop_writeable()
H A Dlt3651-charger.c36 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()
H A Daxp20x_usb_power.c206 static int axp20x_usb_power_get_property(struct power_supply *psy, in axp20x_usb_power_get_property()
318 static int axp717_usb_power_get_property(struct power_supply *psy, in axp717_usb_power_get_property()
507 static int axp20x_usb_power_set_property(struct power_supply *psy, in axp20x_usb_power_set_property()
531 static int axp717_usb_power_set_property(struct power_supply *psy, in axp717_usb_power_set_property()
551 static int axp20x_usb_power_prop_writeable(struct power_supply *psy, in axp20x_usb_power_prop_writeable()
570 static int axp717_usb_power_prop_writeable(struct power_supply *psy, in axp717_usb_power_prop_writeable()
/linux/drivers/usb/misc/
H A Dapple-mfi-fastcharge.c91 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()

12345