Home
last modified time | relevance | path

Searched refs:power_supply_get_drvdata (Results 1 – 25 of 116) sorted by relevance

12345

/Linux-v6.6/drivers/power/supply/
Dltc4162-l-charger.c508 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in charge_status_show()
536 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in vbat_show()
552 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in vbat_avg_show()
568 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in ibat_show()
584 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in force_telemetry_show()
601 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in force_telemetry_store()
623 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in arm_ship_mode_show()
641 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in arm_ship_mode_store()
683 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in ltc4162l_get_property()
725 struct ltc4162l_info *info = power_supply_get_drvdata(psy); in ltc4162l_set_property()
Dlego_ev3_battery.c41 struct lego_ev3_battery *batt = power_supply_get_drvdata(psy); in lego_ev3_battery_get_property()
95 struct lego_ev3_battery *batt = power_supply_get_drvdata(psy); in lego_ev3_battery_set_property()
129 struct lego_ev3_battery *batt = power_supply_get_drvdata(psy); in lego_ev3_battery_property_is_writeable()
Dwm97xx_battery.c30 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_read_bat()
39 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_read_temp()
50 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_bat_get_property()
Dip5xxx_power.c116 struct ip5xxx *ip5xxx = power_supply_get_drvdata(psy); in ip5xxx_initialize()
316 struct ip5xxx *ip5xxx = power_supply_get_drvdata(psy); in ip5xxx_battery_get_property()
434 struct ip5xxx *ip5xxx = power_supply_get_drvdata(psy); in ip5xxx_battery_set_property()
508 struct ip5xxx *ip5xxx = power_supply_get_drvdata(psy); in ip5xxx_boost_get_property()
543 struct ip5xxx *ip5xxx = power_supply_get_drvdata(psy); in ip5xxx_boost_set_property()
Dbq2415x_charger.c1000 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_power_supply_get_property()
1044 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_show_status()
1077 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_set_timer()
1098 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_show_timer()
1122 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_set_mode()
1174 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_show_mode()
1211 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_show_reported_mode()
1239 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_set_registers()
1274 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_show_registers()
1292 struct bq2415x_device *bq = power_supply_get_drvdata(psy); in bq2415x_sysfs_set_limit()
[all …]
Drn5t618_power.c363 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_battery_get_property()
413 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_battery_set_property()
438 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_adp_get_property()
492 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_adp_set_property()
558 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_usb_get_property()
626 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_usb_set_property()
Dwilco-charger.c90 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_get_property()
127 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_set_property()
Dab8500-chargalg.h18 #define psy_to_ux500_charger(x) power_supply_get_drvdata(x)
Dab8500_fg.c2110 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8500_fg_get_property()
2193 di = power_supply_get_drvdata(psy); in ab8500_fg_get_ext_psy_data()
2585 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_flagtime_read()
2608 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_flagtime_write()
2635 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_maxtime_read()
2659 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_maxtime_write()
2686 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_restart_read()
2709 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_restart_write()
2737 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_timer_read()
2760 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_restart_counter_read()
[all …]
Dsbs-manager.c96 struct sbsm_data *data = power_supply_get_drvdata(psy); in sbsm_get_property()
138 struct sbsm_data *data = power_supply_get_drvdata(psy); in sbsm_prop_is_writeable()
147 struct sbsm_data *data = power_supply_get_drvdata(psy); in sbsm_set_property()
Dbq24257_charger.c306 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_get_property()
400 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_set_property()
768 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_ovp_voltage()
778 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_in_dpm_voltage()
788 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_show_enable()
810 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_set_enable()
Dqcom_smbb.c492 struct smbb_charger *chg = power_supply_get_drvdata(psy); in smbb_usbin_get_property()
520 struct smbb_charger *chg = power_supply_get_drvdata(psy); in smbb_usbin_set_property()
540 struct smbb_charger *chg = power_supply_get_drvdata(psy); in smbb_dcin_get_property()
568 struct smbb_charger *chg = power_supply_get_drvdata(psy); in smbb_dcin_set_property()
594 struct smbb_charger *chg = power_supply_get_drvdata(psy); in smbb_battery_get_property()
664 struct smbb_charger *chg = power_supply_get_drvdata(psy); in smbb_battery_set_property()
Dpcf50633-charger.c283 struct pcf50633_mbc *mbc = power_supply_get_drvdata(psy); in adapter_get_property()
301 struct pcf50633_mbc *mbc = power_supply_get_drvdata(psy); in usb_get_property()
322 struct pcf50633_mbc *mbc = power_supply_get_drvdata(psy); in ac_get_property()
Dgoldfish_battery.c66 struct goldfish_battery_data *data = power_supply_get_drvdata(psy); in goldfish_ac_get_property()
90 struct goldfish_battery_data *data = power_supply_get_drvdata(psy); in goldfish_battery_get_property()
Dds2760_battery.c484 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_external_power_changed()
529 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_charged()
540 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_get_property()
591 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_property()
Dsurface_battery.c411 struct spwr_battery_device *bat = power_supply_get_drvdata(psy); in spwr_external_power_changed()
546 struct spwr_battery_device *bat = power_supply_get_drvdata(psy); in spwr_battery_get_property()
671 struct spwr_battery_device *bat = power_supply_get_drvdata(psy); in alarm_show()
685 struct spwr_battery_device *bat = power_supply_get_drvdata(psy); in alarm_store()
Daxp20x_usb_power.c129 struct axp20x_usb_power *power = power_supply_get_drvdata(psy); in axp20x_usb_power_get_property()
278 struct axp20x_usb_power *power = power_supply_get_drvdata(psy); in axp20x_usb_power_set_property()
303 struct axp20x_usb_power *power = power_supply_get_drvdata(psy); in axp20x_usb_power_prop_writeable()
Daxp20x_ac_power.c64 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property()
160 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp813_ac_power_set_property()
Dcros_usbpd-charger.c350 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_power_changed()
362 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_get_prop()
449 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_set_prop()
Daxp288_fuel_gauge.c343 struct axp288_fg_info *info = power_supply_get_drvdata(ps); in fuel_gauge_get_property()
415 struct axp288_fg_info *info = power_supply_get_drvdata(ps); in fuel_gauge_set_property()
505 struct axp288_fg_info *info = power_supply_get_drvdata(psy); in fuel_gauge_external_power_changed()
Dug3105_battery.c302 struct ug3105_chip *chip = power_supply_get_drvdata(psy); in ug3105_get_property()
356 struct ug3105_chip *chip = power_supply_get_drvdata(psy); in ug3105_external_power_changed()
Dmax77976_charger.c279 struct max77976 *chg = power_supply_get_drvdata(psy); in max77976_get_property()
329 struct max77976 *chg = power_supply_get_drvdata(psy); in max77976_set_property()
Dbq24190_charger.c448 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_sysfs_show()
478 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_sysfs_store()
1133 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_get_property()
1207 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_set_property()
1284 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_external_power_changed()
1478 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_battery_get_property()
1524 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_battery_set_property()
Dsc2731_charger.c206 struct sc2731_charger_info *info = power_supply_get_drvdata(psy); in sc2731_charger_usb_set_property()
242 struct sc2731_charger_info *info = power_supply_get_drvdata(psy); in sc2731_charger_usb_get_property()
/Linux-v6.6/drivers/usb/misc/
Dapple-mfi-fastcharge.c95 struct mfi_device *mfi = power_supply_get_drvdata(psy); in apple_mfi_fc_get_property()
117 struct mfi_device *mfi = power_supply_get_drvdata(psy); in apple_mfi_fc_set_property()

12345