Home
last modified time | relevance | path

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

1234

/Linux-v5.10/drivers/power/supply/
Dwm97xx_battery.c29 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_read_bat()
38 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_read_temp()
49 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_bat_get_property()
99 struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); in wm97xx_bat_update()
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()
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 …]
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_fg.c2089 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8500_fg_get_property()
2171 di = power_supply_get_drvdata(psy); in ab8500_fg_get_ext_psy_data()
2383 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8500_fg_external_power_changed()
2557 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_flagtime_read()
2580 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_flagtime_write()
2607 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_maxtime_read()
2631 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_maxtime_write()
2658 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_restart_read()
2681 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_restart_write()
2709 struct ab8500_fg *di = power_supply_get_drvdata(psy); in ab8505_powercut_timer_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()
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()
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()
779 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_in_dpm_voltage()
790 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_show_enable()
812 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_set_enable()
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()
Drn5t618_power.c296 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_battery_get_property()
343 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_adp_get_property()
379 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); in rn5t618_usb_get_property()
Dds2760_battery.c492 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_external_power_changed()
537 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_charged()
548 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_get_property()
599 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_property()
Daxp20x_usb_power.c180 struct axp20x_usb_power *power = power_supply_get_drvdata(psy); in axp20x_usb_power_get_property()
370 struct axp20x_usb_power *power = power_supply_get_drvdata(psy); in axp20x_usb_power_set_property()
397 struct axp20x_usb_power *power = power_supply_get_drvdata(psy); in axp20x_usb_power_prop_writeable()
Dz2_battery.c44 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_get_property()
84 struct z2_charger *charger = power_supply_get_drvdata(batt_ps); in z2_batt_ext_power_changed()
Daxp20x_ac_power.c65 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property()
161 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()
Dbq24190_charger.c440 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_sysfs_show()
470 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_sysfs_store()
1074 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_get_property()
1146 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_set_property()
1212 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_external_power_changed()
1406 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_battery_get_property()
1452 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_battery_set_property()
Dmax8997_charger.c33 struct charger_data *charger = power_supply_get_drvdata(psy); in max8997_battery_get_property()
Ds3c_adc_battery.c76 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_backup_bat_get_property()
144 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_bat_get_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()
Dmax8998_charger.c34 struct max8998_battery_data *max8998 = power_supply_get_drvdata(psy); in max8998_battery_get_property()
Drt5033_battery.c72 struct rt5033_battery *battery = power_supply_get_drvdata(psy); in rt5033_battery_get_property()
Daxp288_fuel_gauge.c438 struct axp288_fg_info *info = power_supply_get_drvdata(ps); in fuel_gauge_get_property()
531 struct axp288_fg_info *info = power_supply_get_drvdata(ps); in fuel_gauge_set_property()
621 struct axp288_fg_info *info = power_supply_get_drvdata(psy); in fuel_gauge_external_power_changed()
/Linux-v5.10/include/linux/mfd/abx500/
Dux500_chargalg.h18 #define psy_to_ux500_charger(x) power_supply_get_drvdata(psy)
/Linux-v5.10/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()

1234