Home
last modified time | relevance | path

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

1234567

/linux-6.14.4/drivers/staging/greybus/
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-6.14.4/drivers/power/supply/
Dapm_power.c123 enum power_supply_property full_prop; in do_calculate_time()
124 enum power_supply_property full_design_prop; in do_calculate_time()
125 enum power_supply_property empty_prop; in do_calculate_time()
126 enum power_supply_property empty_design_prop; in do_calculate_time()
127 enum power_supply_property cur_avg_prop; in do_calculate_time()
128 enum power_supply_property cur_now_prop; in do_calculate_time()
214 enum power_supply_property full_prop, empty_prop; in calculate_capacity()
215 enum power_supply_property full_design_prop, empty_design_prop; in calculate_capacity()
216 enum power_supply_property now_prop, avg_prop; in calculate_capacity()
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 …]
Dtest_power.c45 enum power_supply_property psp, in test_power_get_ac_property()
59 enum power_supply_property psp, in test_power_get_usb_property()
73 enum power_supply_property psp, in test_power_get_battery_property()
141 enum power_supply_property psp) in test_power_battery_property_is_writeable()
147 enum power_supply_property psp, in test_power_set_battery_property()
165 static enum power_supply_property test_power_ac_props[] = {
169 static enum power_supply_property test_power_battery_props[] = {
244 static const enum power_supply_property test_power_battery_extprops[] = {
252 enum power_supply_property psp, in test_power_battery_extget_property()
271 enum power_supply_property psp, in test_power_battery_extset_property()
[all …]
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()
Dpower_supply.h19 enum power_supply_property psp);
21 enum power_supply_property psp);
23 enum power_supply_property psp);
Dacer_a500_battery.c35 enum power_supply_property psp;
45 static const enum power_supply_property a500_battery_properties[] = {
96 enum power_supply_property psp, in a500_battery_unit_adjustment()
124 enum power_supply_property psp) in a500_battery_get_ec_data_index()
146 enum power_supply_property psp, in a500_battery_get_property()
Daxp20x_ac_power.c61 enum power_supply_property psp, in axp20x_ac_power_get_property()
157 enum power_supply_property psp, in axp813_ac_power_set_property()
192 enum power_supply_property psp) in axp813_ac_power_prop_writeable()
199 static enum power_supply_property axp20x_ac_power_properties[] = {
207 static enum power_supply_property axp22x_ac_power_properties[] = {
213 static enum power_supply_property axp813_ac_power_properties[] = {
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()
Dcros_charge-control.c113 enum power_supply_property psp, in cros_chctl_psy_ext_get_prop()
134 enum power_supply_property psp, in cros_chctl_psy_ext_set_threshold()
169 enum power_supply_property psp, in cros_chctl_psy_ext_set_prop()
195 enum power_supply_property psp) in cros_chctl_psy_prop_is_writeable()
201 static const enum power_supply_property _name ## _props[] = { \
Dlego_ev3_battery.c38 enum power_supply_property psp, in lego_ev3_battery_get_property()
92 enum power_supply_property psp, in lego_ev3_battery_set_property()
127 enum power_supply_property psp) in lego_ev3_battery_property_is_writeable()
135 static enum power_supply_property lego_ev3_battery_props[] = {
Dqcom_battmgr.c424 enum power_supply_property psp) in qcom_battmgr_bat_sm8350_update()
442 enum power_supply_property psp) in qcom_battmgr_bat_sc8280xp_update()
481 enum power_supply_property psp, in qcom_battmgr_bat_get_property()
615 static const enum power_supply_property sc8280xp_bat_props[] = {
648 static const enum power_supply_property sm8350_bat_props[] = {
679 enum power_supply_property psp, in qcom_battmgr_ac_get_property()
703 static const enum power_supply_property sc8280xp_ac_props[] = {
726 enum power_supply_property psp) in qcom_battmgr_usb_sm8350_update()
744 enum power_supply_property psp, in qcom_battmgr_usb_get_property()
789 static const enum power_supply_property sc8280xp_usb_props[] = {
[all …]
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[] = {
Dsbs-battery.c95 enum power_supply_property psp;
159 static const enum power_supply_property sbs_properties[] = {
197 static const enum power_supply_property string_properties[] = {
223 enum power_supply_property psp) in sbs_get_string_buf()
519 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health()
577 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
612 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
679 enum power_supply_property psp) in sbs_get_property_index()
694 enum power_supply_property psp) in sbs_get_constant_string()
720 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment()
[all …]
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[] = {
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[] = {
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[] = {
Dqcom_smbb.c489 enum power_supply_property psp, in smbb_usbin_get_property()
517 enum power_supply_property psp, in smbb_usbin_set_property()
537 enum power_supply_property psp, in smbb_dcin_get_property()
565 enum power_supply_property psp, in smbb_dcin_set_property()
585 enum power_supply_property psp) in smbb_charger_writable_property()
591 enum power_supply_property psp, in smbb_battery_get_property()
661 enum power_supply_property psp, in smbb_battery_set_property()
683 enum power_supply_property psp) in smbb_battery_writable_property()
694 static enum power_supply_property smbb_charger_properties[] = {
700 static enum power_supply_property smbb_battery_properties[] = {
Drt5033_battery.c58 enum power_supply_property psp) in rt5033_battery_get_watt_prop()
91 enum power_supply_property psp, in rt5033_battery_get_property()
118 static enum power_supply_property rt5033_battery_props[] = {
Dgeneric-adc-battery.c65 static const enum power_supply_property gab_props[] = {
73 static const enum power_supply_property gab_dyn_props[] = {
102 enum power_supply_property psp, union power_supply_propval *val) in gab_get_property()
159 enum power_supply_property *properties; in gab_probe()
Daxp20x_usb_power.c207 enum power_supply_property psp, union power_supply_propval *val) in axp20x_usb_power_get_property()
319 enum power_supply_property psp, union power_supply_propval *val) in axp717_usb_power_get_property()
508 enum power_supply_property psp, in axp20x_usb_power_set_property()
532 enum power_supply_property psp, in axp717_usb_power_set_property()
552 enum power_supply_property psp) in axp20x_usb_power_prop_writeable()
571 enum power_supply_property psp) in axp717_usb_power_prop_writeable()
628 static enum power_supply_property axp20x_usb_power_properties[] = {
638 static enum power_supply_property axp22x_usb_power_properties[] = {
646 static enum power_supply_property axp717_usb_power_properties[] = {
656 static enum power_supply_property axp813_usb_power_properties[] = {
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[] = {
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[] = {
/linux-6.14.4/include/linux/
Dpower_supply.h101 enum power_supply_property { enum
254 const enum power_supply_property *properties;
264 enum power_supply_property psp,
267 enum power_supply_property psp,
275 enum power_supply_property psp);
292 const enum power_supply_property *properties;
298 enum power_supply_property psp,
303 enum power_supply_property psp,
308 enum power_supply_property psp);
607 * Its field names must correspond to elements in enum power_supply_property.
[all …]
/linux-6.14.4/drivers/usb/misc/
Dapple-mfi-fastcharge.c92 enum power_supply_property psp, in apple_mfi_fc_get_property()
114 enum power_supply_property psp, in apple_mfi_fc_set_property()
143 enum power_supply_property psp) in apple_mfi_fc_property_is_writeable()
153 static enum power_supply_property apple_mfi_fc_properties[] = {

1234567