Home
last modified time | relevance | path

Searched full:power_supply_property (Results 1 – 25 of 100) sorted by relevance

1234

/linux/drivers/staging/greybus/
H A Dpower_supply.c18 enum power_supply_property prop;
44 enum power_supply_property *props_raw;
82 enum power_supply_property prop;
106 static int get_psp_from_gb_prop(int gb_prop, enum power_supply_property *psp) in get_psp_from_gb_prop()
305 *psp = (enum power_supply_property)prop; in get_psp_from_gb_prop()
316 enum power_supply_property psp) in get_psy_prop()
327 enum power_supply_property psp) in is_psy_prop_writeable()
337 static int is_prop_valint(enum power_supply_property psp) in is_prop_valint()
430 enum power_supply_property prop) in prop_append()
432 enum power_supply_property *new_props_raw; in prop_append()
[all …]
/linux/include/linux/
H A Dpower_supply.h103 enum power_supply_property { enum
256 const enum power_supply_property *properties;
266 enum power_supply_property psp,
269 enum power_supply_property psp,
277 enum power_supply_property psp);
294 const enum power_supply_property *properties;
300 enum power_supply_property psp,
305 enum power_supply_property psp,
310 enum power_supply_property psp);
608 * Its field names must correspond to elements in enum power_supply_property.
[all …]
/linux/drivers/power/supply/
H A Drn5t618_power.c73 static enum power_supply_property rn5t618_usb_props[] = {
82 static enum power_supply_property rn5t618_adp_props[] = {
91 static enum power_supply_property rn5t618_battery_props[] = {
352 enum power_supply_property psp, in rn5t618_battery_get_property()
403 enum power_supply_property psp, in rn5t618_battery_set_property()
417 enum power_supply_property psp) in rn5t618_battery_property_is_writeable()
428 enum power_supply_property psp, in rn5t618_adp_get_property()
482 enum power_supply_property psp, in rn5t618_adp_set_property()
510 enum power_supply_property psp) in rn5t618_adp_property_is_writeable()
548 enum power_supply_property psp, in rn5t618_usb_get_property()
[all …]
H A Dtest_power.c47 enum power_supply_property psp, in test_power_get_ac_property()
61 enum power_supply_property psp, in test_power_get_usb_property()
75 enum power_supply_property psp, in test_power_get_battery_property()
146 enum power_supply_property psp) in test_power_battery_property_is_writeable()
152 enum power_supply_property psp, in test_power_set_battery_property()
178 static enum power_supply_property test_power_ac_props[] = {
182 static enum power_supply_property test_power_battery_props[] = {
261 static const enum power_supply_property test_power_battery_extprops[] = {
270 enum power_supply_property psp, in test_power_battery_extget_property()
292 enum power_supply_property psp, in test_power_battery_extset_property()
[all …]
H A Dwilco-charger.c80 static enum power_supply_property wilco_charge_props[] = {
87 enum power_supply_property psp, in wilco_charge_get_property()
124 enum power_supply_property psp, in wilco_charge_set_property()
154 enum power_supply_property psp) in wilco_charge_property_is_writeable()
H A Dmp2629_charger.c97 static enum power_supply_property mp2629_charger_usb_props[] = {
106 static enum power_supply_property mp2629_charger_bat_props[] = {
213 enum power_supply_property psp, in mp2629_charger_battery_get_prop()
316 enum power_supply_property psp, in mp2629_charger_battery_set_prop()
340 enum power_supply_property psp, in mp2629_charger_usb_get_prop()
405 enum power_supply_property psp, in mp2629_charger_usb_set_prop()
423 enum power_supply_property psp) in mp2629_charger_battery_prop_writeable()
432 enum power_supply_property psp) in mp2629_charger_usb_prop_writeable()
H A Dcros_charge-control.c104 enum power_supply_property psp, in cros_chctl_psy_ext_get_prop()
125 enum power_supply_property psp, in cros_chctl_psy_ext_set_threshold()
160 enum power_supply_property psp, in cros_chctl_psy_ext_set_prop()
186 enum power_supply_property psp) in cros_chctl_psy_prop_is_writeable()
192 static const enum power_supply_property _name ## _props[] = { \
H A Dqcom_battmgr.c425 enum power_supply_property psp) in qcom_battmgr_bat_sm8350_update()
443 enum power_supply_property psp) in qcom_battmgr_bat_sc8280xp_update()
482 enum power_supply_property psp, in qcom_battmgr_bat_get_property()
618 static const enum power_supply_property sc8280xp_bat_props[] = {
652 static const enum power_supply_property sm8350_bat_props[] = {
683 enum power_supply_property psp, in qcom_battmgr_ac_get_property()
707 static const enum power_supply_property sc8280xp_ac_props[] = {
730 enum power_supply_property psp) in qcom_battmgr_usb_sm8350_update()
748 enum power_supply_property psp, in qcom_battmgr_usb_get_property()
793 static const enum power_supply_property sc8280xp_usb_props[] = {
[all …]
H A Dgoldfish_battery.c63 enum power_supply_property psp, in goldfish_ac_get_property()
87 enum power_supply_property psp, in goldfish_battery_get_property()
140 static enum power_supply_property goldfish_battery_props[] = {
155 static enum power_supply_property goldfish_ac_props[] = {
H A Dipaq_micro_battery.c129 enum power_supply_property psp, in micro_batt_get_property()
177 enum power_supply_property psp, in micro_ac_get_property()
193 static enum power_supply_property micro_batt_power_props[] = {
211 static enum power_supply_property micro_ac_power_props[] = {
H A Dpmu_battery.c31 enum power_supply_property psp, in pmu_get_ac_prop()
46 static enum power_supply_property pmu_ac_props[] = {
83 enum power_supply_property psp, in pmu_bat_get_property()
126 static enum power_supply_property pmu_bat_props[] = {
H A Dlenovo_yoga_c630_battery.c207 enum power_supply_property psp, in yoga_c630_psy_bat_get_property()
278 static enum power_supply_property yoga_c630_psy_bat_mA_properties[] = {
294 static enum power_supply_property yoga_c630_psy_bat_mWh_properties[] = {
327 enum power_supply_property psp, in yoga_c630_psy_adpt_get_property()
351 static enum power_supply_property yoga_c630_psy_adpt_properties[] = {
H A Dmax8925_power.c194 enum power_supply_property psp, in max8925_ac_get_prop()
222 static enum power_supply_property max8925_ac_props[] = {
228 enum power_supply_property psp, in max8925_usb_get_prop()
256 static enum power_supply_property max8925_usb_props[] = {
262 enum power_supply_property psp, in max8925_bat_get_prop()
340 static enum power_supply_property max8925_battery_props[] = {
H A Dwm8350_power.c248 enum power_supply_property psp, in wm8350_ac_get_prop()
269 static enum power_supply_property wm8350_ac_props[] = {
278 enum power_supply_property psp, in wm8350_usb_get_prop()
299 static enum power_supply_property wm8350_usb_props[] = {
344 enum power_supply_property psp, in wm8350_bat_get_property()
375 static enum power_supply_property wm8350_bat_props[] = {
H A Dbq27xxx_battery.c568 static enum power_supply_property bq27000_props[] = {
592 static enum power_supply_property bq27010_props[] = {
618 static enum power_supply_property bq27500_props[] = {
641 static enum power_supply_property bq27510g3_props[] = {
659 static enum power_supply_property bq27520g1_props[] = {
681 static enum power_supply_property bq27520g3_props[] = {
701 static enum power_supply_property bq27520g4_props[] = {
718 static enum power_supply_property bq27521_props[] = {
727 static enum power_supply_property bq27530_props[] = {
746 static enum power_supply_property bq27541_props[] = {
[all …]
H A Dpower_supply_core.c411 enum power_supply_property psp;
427 enum power_supply_property psp, in power_supply_get_property_from_supplier()
662 * in enum power_supply_property. For reasoning, see in power_supply_get_battery_info()
856 const enum power_supply_property power_supply_battery_info_properties[] = {
879 enum power_supply_property psp) in power_supply_battery_info_has_prop()
922 enum power_supply_property psp, in power_supply_battery_info_get_prop()
1198 enum power_supply_property psp) in psy_desc_has_property()
1214 enum power_supply_property psp) in power_supply_ext_has_property()
1226 enum power_supply_property psp) in power_supply_has_property()
1244 static int __power_supply_get_property(struct power_supply *psy, enum power_supply_property psp, in __power_supply_get_property()
[all …]
H A Dhuawei-gaokun-battery.c142 enum power_supply_property psp, in gaokun_psy_get_adp_property()
166 static enum power_supply_property gaokun_psy_adp_props[] = {
273 enum power_supply_property psp, in gaokun_psy_get_bat_property()
362 enum power_supply_property psp, in gaokun_psy_set_bat_property()
401 enum power_supply_property psp) in gaokun_psy_is_bat_property_writeable()
407 static enum power_supply_property gaokun_psy_bat_props[] = {
H A Daxp20x_battery.c277 enum power_supply_property psp, in axp20x_battery_get_prop()
429 enum power_supply_property psp, in axp717_battery_get_prop()
770 enum power_supply_property psp, in axp20x_battery_set_prop()
806 enum power_supply_property psp, in axp717_battery_set_prop()
841 static enum power_supply_property axp20x_battery_props[] = {
855 static enum power_supply_property axp717_battery_props[] = {
870 enum power_supply_property psp) in axp20x_battery_prop_writeable()
880 enum power_supply_property psp) in axp717_battery_prop_writeable()
H A Dgpio-charger.c94 enum power_supply_property psp, union power_supply_propval *val) in gpio_charger_get_property()
119 enum power_supply_property psp, const union power_supply_propval *val) in gpio_charger_set_property()
134 enum power_supply_property psp) in gpio_charger_property_is_writeable()
266 static enum power_supply_property gpio_charger_properties[] = {
H A Dchagall-battery.c68 static const enum power_supply_property chagall_battery_properties[] = {
94 enum power_supply_property psp, u32 *val) in chagall_battery_get_value()
116 enum power_supply_property psp, in chagall_battery_get_property()
H A Dwm831x_power.c70 enum power_supply_property psp, in wm831x_wall_get_prop()
92 static const enum power_supply_property wm831x_wall_props[] = {
101 enum power_supply_property psp, in wm831x_usb_get_prop()
123 static const enum power_supply_property wm831x_usb_props[] = {
433 enum power_supply_property psp, in wm831x_bat_get_prop()
465 static const enum power_supply_property wm831x_bat_props[] = {
H A Dmax77976_charger.c276 enum power_supply_property psp, in max77976_get_property()
326 enum power_supply_property psp, in max77976_set_property()
355 enum power_supply_property psp) in max77976_property_is_writeable()
366 static enum power_supply_property max77976_psy_props[] = {
H A Dcros_usbpd-charger.c57 static enum power_supply_property cros_usbpd_charger_props[] = {
70 static enum power_supply_property cros_usbpd_dedicated_charger_props[] = {
349 enum power_supply_property psp, in cros_usbpd_charger_get_prop()
436 enum power_supply_property psp, in cros_usbpd_charger_set_prop()
494 enum power_supply_property psp) in cros_usbpd_charger_property_is_writeable()
/linux/drivers/usb/misc/
H A Dapple-mfi-fastcharge.c93 enum power_supply_property psp, in apple_mfi_fc_get_property()
115 enum power_supply_property psp, in apple_mfi_fc_set_property()
144 enum power_supply_property psp) in apple_mfi_fc_property_is_writeable()
154 static enum power_supply_property apple_mfi_fc_properties[] = {
/linux/drivers/staging/nvec/
H A Dnvec_power.c223 enum power_supply_property psp, in nvec_power_get_property()
239 enum power_supply_property psp, in nvec_battery_get_property()
296 static enum power_supply_property nvec_power_props[] = {
300 static enum power_supply_property nvec_battery_props[] = {

1234