Home
last modified time | relevance | path

Searched refs:power_supply_property (Results 1 – 25 of 98) sorted by relevance

1234

/Linux-v4.19/include/linux/
Dpower_supply.h87 enum power_supply_property { enum
217 enum power_supply_property *properties;
227 enum power_supply_property psp,
230 enum power_supply_property psp,
238 enum power_supply_property psp);
365 enum power_supply_property psp,
368 enum power_supply_property psp,
371 enum power_supply_property psp);
399 static inline bool power_supply_is_amp_property(enum power_supply_property psp) in power_supply_is_amp_property()
425 static inline bool power_supply_is_watt_property(enum power_supply_property psp) in power_supply_is_watt_property()
/Linux-v4.19/drivers/power/supply/
Dapm_power.c124 enum power_supply_property full_prop; in do_calculate_time()
125 enum power_supply_property full_design_prop; in do_calculate_time()
126 enum power_supply_property empty_prop; in do_calculate_time()
127 enum power_supply_property empty_design_prop; in do_calculate_time()
128 enum power_supply_property cur_avg_prop; in do_calculate_time()
129 enum power_supply_property cur_now_prop; in do_calculate_time()
215 enum power_supply_property full_prop, empty_prop; in calculate_capacity()
216 enum power_supply_property full_design_prop, empty_design_prop; in calculate_capacity()
217 enum power_supply_property now_prop, avg_prop; in calculate_capacity()
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[] = {
Dpmu_battery.c34 enum power_supply_property psp, in pmu_get_ac_prop()
49 static enum power_supply_property pmu_ac_props[] = {
86 enum power_supply_property psp, in pmu_bat_get_property()
129 static enum power_supply_property pmu_bat_props[] = {
Dgoldfish_battery.c68 enum power_supply_property psp, in goldfish_ac_get_property()
86 enum power_supply_property psp, in goldfish_battery_get_property()
116 static enum power_supply_property goldfish_battery_props[] = {
124 static enum power_supply_property goldfish_ac_props[] = {
Dipaq_micro_battery.c132 enum power_supply_property psp, in micro_batt_get_property()
180 enum power_supply_property psp, in micro_ac_get_property()
196 static enum power_supply_property micro_batt_power_props[] = {
214 static enum power_supply_property micro_ac_power_props[] = {
Drt5033_battery.c39 enum power_supply_property psp) in rt5033_battery_get_watt_prop()
72 enum power_supply_property psp, in rt5033_battery_get_property()
96 static enum power_supply_property rt5033_battery_props[] = {
Dgeneric-adc-battery.c69 static const enum power_supply_property gab_props[] = {
86 static const enum power_supply_property gab_dyn_props[] = {
114 static enum gab_chan_type gab_prop_to_chan(enum power_supply_property psp) in gab_prop_to_chan()
130 static int read_channel(struct gab *adc_bat, enum power_supply_property psp, in read_channel()
145 enum power_supply_property psp, union power_supply_propval *val) in gab_get_property()
Daxp20x_usb_power.c67 enum power_supply_property psp, union power_supply_propval *val) in axp20x_usb_power_get_property()
240 enum power_supply_property psp, in axp20x_usb_power_set_property()
260 enum power_supply_property psp) in axp20x_usb_power_prop_writeable()
266 static enum power_supply_property axp20x_usb_power_properties[] = {
276 static enum power_supply_property axp22x_usb_power_properties[] = {
Dsbs-battery.c83 enum power_supply_property psp;
133 static enum power_supply_property sbs_properties[] = {
321 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
342 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health()
398 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
465 int reg_offset, enum power_supply_property psp, char *val) in sbs_get_battery_string_property()
478 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment()
552 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity()
595 enum power_supply_property psp) in sbs_get_property_index()
609 enum power_supply_property psp, in sbs_get_property()
Dwm8350_power.c251 enum power_supply_property psp, in wm8350_ac_get_prop()
272 static enum power_supply_property wm8350_ac_props[] = {
281 enum power_supply_property psp, in wm8350_usb_get_prop()
302 static enum power_supply_property wm8350_usb_props[] = {
347 enum power_supply_property psp, in wm8350_bat_get_property()
378 static enum power_supply_property wm8350_bat_props[] = {
Dtest_power.c43 enum power_supply_property psp, in test_power_get_ac_property()
57 enum power_supply_property psp, in test_power_get_usb_property()
71 enum power_supply_property psp, in test_power_get_battery_property()
128 static enum power_supply_property test_power_ac_props[] = {
132 static enum power_supply_property test_power_battery_props[] = {
Dqcom_smbb.c497 enum power_supply_property psp, in smbb_usbin_get_property()
525 enum power_supply_property psp, in smbb_usbin_set_property()
545 enum power_supply_property psp, in smbb_dcin_get_property()
573 enum power_supply_property psp, in smbb_dcin_set_property()
593 enum power_supply_property psp) in smbb_charger_writable_property()
599 enum power_supply_property psp, in smbb_battery_get_property()
669 enum power_supply_property psp, in smbb_battery_set_property()
691 enum power_supply_property psp) in smbb_battery_writable_property()
702 static enum power_supply_property smbb_charger_properties[] = {
708 static enum power_supply_property smbb_battery_properties[] = {
Dmax8925_power.c196 enum power_supply_property psp, in max8925_ac_get_prop()
224 static enum power_supply_property max8925_ac_props[] = {
230 enum power_supply_property psp, in max8925_usb_get_prop()
258 static enum power_supply_property max8925_usb_props[] = {
264 enum power_supply_property psp, in max8925_bat_get_prop()
342 static enum power_supply_property max8925_battery_props[] = {
Daxp20x_ac_power.c49 enum power_supply_property psp, in axp20x_ac_power_get_property()
112 static enum power_supply_property axp20x_ac_power_properties[] = {
120 static enum power_supply_property axp22x_ac_power_properties[] = {
Dolpc_battery.c60 enum power_supply_property psp, in olpc_ac_get_prop()
81 static enum power_supply_property olpc_ac_props[] = {
325 enum power_supply_property psp, in olpc_bat_get_property()
468 static enum power_supply_property olpc_xo1_bat_props[] = {
491 static enum power_supply_property olpc_xo15_bat_props[] = {
Dwm831x_power.c73 enum power_supply_property psp, in wm831x_wall_get_prop()
95 static enum power_supply_property wm831x_wall_props[] = {
104 enum power_supply_property psp, in wm831x_usb_get_prop()
126 static enum power_supply_property wm831x_usb_props[] = {
436 enum power_supply_property psp, in wm831x_bat_get_prop()
468 static enum power_supply_property wm831x_bat_props[] = {
Dbq27xxx_battery.c440 static enum power_supply_property bq27000_props[] = {
462 static enum power_supply_property bq27010_props[] = {
486 static enum power_supply_property bq27500_props[] = {
509 static enum power_supply_property bq27510g3_props[] = {
527 static enum power_supply_property bq27520g1_props[] = {
549 static enum power_supply_property bq27520g3_props[] = {
569 static enum power_supply_property bq27520g4_props[] = {
586 static enum power_supply_property bq27521_props[] = {
595 static enum power_supply_property bq27530_props[] = {
614 static enum power_supply_property bq27541_props[] = {
[all …]
Dsbs-manager.c56 static enum power_supply_property sbsm_props[] = {
96 enum power_supply_property psp, in sbsm_get_property()
139 enum power_supply_property psp) in sbsm_prop_is_writeable()
147 enum power_supply_property psp, in sbsm_set_property()
Dmax8998_charger.c37 static enum power_supply_property max8998_battery_props[] = {
44 enum power_supply_property psp, in max8998_battery_get_property()
Dmax8997_charger.c36 static enum power_supply_property max8997_battery_props[] = {
44 enum power_supply_property psp, in max8997_battery_get_property()
Ds3c_adc_battery.c66 static enum power_supply_property s3c_adc_backup_bat_props[] = {
73 enum power_supply_property psp, in s3c_adc_backup_bat_get_property()
119 static enum power_supply_property s3c_adc_main_bat_props[] = {
141 enum power_supply_property psp, in s3c_adc_bat_get_property()
Dbq24735-charger.c63 static enum power_supply_property bq24735_charger_properties[] = {
69 enum power_supply_property psp) in bq24735_charger_property_is_writeable()
253 enum power_supply_property psp, in bq24735_charger_get_property()
283 enum power_supply_property psp, in bq24735_charger_set_property()
/Linux-v4.19/drivers/staging/greybus/
Dpower_supply.c19 enum power_supply_property prop;
45 enum power_supply_property *props_raw;
83 enum power_supply_property prop;
107 static int get_psp_from_gb_prop(int gb_prop, enum power_supply_property *psp) in get_psp_from_gb_prop()
306 *psp = (enum power_supply_property)prop; in get_psp_from_gb_prop()
317 enum power_supply_property psp) in get_psy_prop()
328 enum power_supply_property psp) in is_psy_prop_writeable()
338 static int is_prop_valint(enum power_supply_property psp) in is_prop_valint()
431 enum power_supply_property prop) in prop_append()
433 enum power_supply_property *new_props_raw; in prop_append()
[all …]
/Linux-v4.19/drivers/staging/nvec/
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