Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/drivers/power/supply/
Dpower_supply_core.c65 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 …]
Dpower_supply_leds.c21 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()
Dpower_supply.h36 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()
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 …]
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 …]
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
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()
Dpower_supply_hwmon.c12 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()
Dbq24735-charger.c58 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()
Dbq2415x_charger.c811 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 …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dpower_supply_leds.c22 static void power_supply_update_bat_leds(struct power_supply *psy) in power_supply_update_bat_leds()
56 static int power_supply_create_bat_triggers(struct power_supply *psy) in power_supply_create_bat_triggers()
98 static void power_supply_remove_bat_triggers(struct power_supply *psy) in power_supply_remove_bat_triggers()
112 static void power_supply_update_gen_leds(struct power_supply *psy) in power_supply_update_gen_leds()
127 static int power_supply_create_gen_triggers(struct power_supply *psy) in power_supply_create_gen_triggers()
139 static void power_supply_remove_gen_triggers(struct power_supply *psy) in power_supply_remove_gen_triggers()
147 void power_supply_update_leds(struct power_supply *psy) in power_supply_update_leds()
155 int power_supply_create_triggers(struct power_supply *psy) in power_supply_create_triggers()
162 void power_supply_remove_triggers(struct power_supply *psy) in power_supply_remove_triggers()
Dpower_supply_core.c67 struct power_supply *psy = data; in __power_supply_changed_work() local
81 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local
116 void power_supply_changed(struct power_supply *psy) in power_supply_changed()
142 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_deferred_register_work() local
163 struct power_supply *psy = data; in __power_supply_populate_supplied_from() local
187 static int power_supply_populate_supplied_from(struct power_supply *psy) in power_supply_populate_supplied_from()
232 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
280 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
308 struct power_supply *psy; member
328 int power_supply_am_i_supplied(struct power_supply *psy) in power_supply_am_i_supplied()
[all …]
Dpower_supply.h36 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()
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 …]
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 …]
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
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()
Dpower_supply_hwmon.c12 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
328 int power_supply_add_hwmon_sysfs(struct power_supply *psy) in power_supply_add_hwmon_sysfs()
409 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) in power_supply_remove_hwmon_sysfs()
Dip5xxx_power.c114 static int ip5xxx_initialize(struct power_supply *psy) in ip5xxx_initialize()
312 static int ip5xxx_battery_get_property(struct power_supply *psy, in ip5xxx_battery_get_property()
430 static int ip5xxx_battery_set_property(struct power_supply *psy, in ip5xxx_battery_set_property()
480 static int ip5xxx_battery_property_is_writeable(struct power_supply *psy, in ip5xxx_battery_property_is_writeable()
504 static int ip5xxx_boost_get_property(struct power_supply *psy, in ip5xxx_boost_get_property()
539 static int ip5xxx_boost_set_property(struct power_supply *psy, in ip5xxx_boost_set_property()
567 static int ip5xxx_boost_property_is_writeable(struct power_supply *psy, in ip5xxx_boost_property_is_writeable()
593 struct power_supply *psy; in ip5xxx_power_probe() local
Drn5t618_power.c358 static int rn5t618_battery_get_property(struct power_supply *psy, in rn5t618_battery_get_property()
409 static int rn5t618_battery_set_property(struct power_supply *psy, in rn5t618_battery_set_property()
423 static int rn5t618_battery_property_is_writeable(struct power_supply *psy, in rn5t618_battery_property_is_writeable()
434 static int rn5t618_adp_get_property(struct power_supply *psy, in rn5t618_adp_get_property()
488 static int rn5t618_adp_set_property(struct power_supply *psy, in rn5t618_adp_set_property()
516 static int rn5t618_adp_property_is_writeable(struct power_supply *psy, in rn5t618_adp_property_is_writeable()
554 static int rn5t618_usb_get_property(struct power_supply *psy, in rn5t618_usb_get_property()
622 static int rn5t618_usb_set_property(struct power_supply *psy, in rn5t618_usb_set_property()
650 static int rn5t618_usb_property_is_writeable(struct power_supply *psy, in rn5t618_usb_property_is_writeable()
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()
Dltc4162-l-charger.c507 struct power_supply *psy = to_power_supply(dev); in charge_status_show() local
535 struct power_supply *psy = to_power_supply(dev); in vbat_show() local
551 struct power_supply *psy = to_power_supply(dev); in vbat_avg_show() local
567 struct power_supply *psy = to_power_supply(dev); in ibat_show() local
583 struct power_supply *psy = to_power_supply(dev); in force_telemetry_show() local
600 struct power_supply *psy = to_power_supply(dev); in force_telemetry_store() local
622 struct power_supply *psy = to_power_supply(dev); in arm_ship_mode_show() local
640 struct power_supply *psy = to_power_supply(dev); in arm_ship_mode_store() local
679 static int ltc4162l_get_property(struct power_supply *psy, in ltc4162l_get_property()
721 static int ltc4162l_set_property(struct power_supply *psy, in ltc4162l_set_property()
[all …]
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()
Dbq2415x_charger.c811 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 …]
/kernel/linux/linux-6.6/drivers/usb/misc/
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()

1234567891011