Home
last modified time | relevance | path

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

12345

/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/drivers/power/supply/
H A 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()
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 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 Dip5xxx_power.c255 static const enum power_supply_property ip5xxx_battery_properties[] = { in ip5xxx_battery_get_health()
414 enum power_supply_property psp, in ip5xxx_battery_set_voltage_max()
539 enum power_supply_property psp, in ip5xxx_boost_set_property()
586 enum power_supply_property psp)
604 static const enum power_supply_property ip5xxx_boost_properties[] = { in ip5xxx_power_probe()
610 enum power_supply_property psp, in ip5xxx_power_probe()
645 enum power_supply_property psp,
671 enum power_supply_property psp)
H A 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()
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 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[] = {
H A 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 …]
H A 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[] = { \
H A 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[] = { in test_power_init()
252 enum power_supply_property psp, in test_power_init()
271 enum power_supply_property ps in test_power_exit()
[all...]
H A 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[] = {
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 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 ps in sbs_unit_adjustment()
[all...]
H A 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[] = {
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 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[] = {
H A 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[] = {
H A 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()
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 Daxp20x_battery.c274 enum power_supply_property psp, in axp20x_battery_get_prop()
426 enum power_supply_property psp, in axp717_battery_get_prop()
767 enum power_supply_property psp, in axp20x_battery_set_prop()
803 enum power_supply_property psp, in axp717_battery_set_prop()
838 static enum power_supply_property axp20x_battery_props[] = {
852 static enum power_supply_property axp717_battery_props[] = {
867 enum power_supply_property psp) in axp20x_battery_prop_writeable()
877 enum power_supply_property psp) in axp717_battery_prop_writeable()
/linux/drivers/usb/misc/
H A 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[] = {

12345