Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dpower_supply.h87 enum power_supply_property { enum
194 enum power_supply_property *properties;
204 enum power_supply_property psp,
207 enum power_supply_property psp,
210 enum power_supply_property psp);
306 enum power_supply_property psp,
309 enum power_supply_property psp,
312 enum power_supply_property psp);
338 static inline bool power_supply_is_amp_property(enum power_supply_property psp) in power_supply_is_amp_property()
362 static inline bool power_supply_is_watt_property(enum power_supply_property psp) in power_supply_is_watt_property()
/linux-4.1.27/drivers/power/
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()
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()
246 enum power_supply_property *properties; in gab_probe()
283 properties = (enum power_supply_property *) in gab_probe()
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.c67 enum power_supply_property psp, in goldfish_ac_get_property()
85 enum power_supply_property psp, in goldfish_battery_get_property()
115 static enum power_supply_property goldfish_battery_props[] = {
123 static enum power_supply_property goldfish_ac_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[] = {
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[] = {
Dwm8350_power.c250 enum power_supply_property psp, in wm8350_ac_get_prop()
271 static enum power_supply_property wm8350_ac_props[] = {
280 enum power_supply_property psp, in wm8350_usb_get_prop()
301 static enum power_supply_property wm8350_usb_props[] = {
346 enum power_supply_property psp, in wm8350_bat_get_property()
377 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[] = {
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[] = {
Dsbs-battery.c83 enum power_supply_property psp;
131 static enum power_supply_property sbs_properties[] = {
297 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
361 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
408 int reg_offset, enum power_supply_property psp, char *val) in sbs_get_battery_string_property()
421 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment()
493 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity()
541 enum power_supply_property psp) in sbs_get_property_index()
555 enum power_supply_property psp, in sbs_get_property()
Dwm831x_power.c70 enum power_supply_property psp, in wm831x_wall_get_prop()
92 static enum power_supply_property wm831x_wall_props[] = {
101 enum power_supply_property psp, in wm831x_usb_get_prop()
123 static enum power_supply_property wm831x_usb_props[] = {
396 enum power_supply_property psp, in wm831x_bat_get_prop()
428 static enum power_supply_property wm831x_bat_props[] = {
Dolpc_battery.c59 enum power_supply_property psp, in olpc_ac_get_prop()
80 static enum power_supply_property olpc_ac_props[] = {
324 enum power_supply_property psp, in olpc_bat_get_property()
467 static enum power_supply_property olpc_xo1_bat_props[] = {
490 static enum power_supply_property olpc_xo15_bat_props[] = {
Dmax8997_charger.c36 static enum power_supply_property max8997_battery_props[] = {
44 enum power_supply_property psp, in max8997_battery_get_property()
Dmax8998_charger.c36 static enum power_supply_property max8998_battery_props[] = {
43 enum power_supply_property psp, in max8998_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()
Dpcf50633-charger.c290 enum power_supply_property psp, in adapter_get_property()
308 enum power_supply_property psp, in usb_get_property()
329 enum power_supply_property psp, in ac_get_property()
349 static enum power_supply_property power_props[] = {
Dwm831x_backup.c116 enum power_supply_property psp, in wm831x_backup_get_prop()
155 static enum power_supply_property wm831x_backup_props[] = {
Dintel_mid_battery.c123 static enum power_supply_property pmic_usb_props[] = {
131 static enum power_supply_property pmic_battery_props[] = {
404 enum power_supply_property psp, in pmic_usb_get_property()
443 enum power_supply_property psp, in pmic_battery_get_property()
Dcollie_battery.c97 enum power_supply_property psp, in collie_bat_get_property()
202 static enum power_supply_property collie_bat_main_props[] = {
213 static enum power_supply_property collie_bat_bu_props[] = {
Dltc2941-battery-gauge.c295 enum power_supply_property prop, in ltc294x_get_property()
317 enum power_supply_property psp, in ltc294x_set_property()
331 struct power_supply *psy, enum power_supply_property psp) in ltc294x_property_is_writeable()
360 static enum power_supply_property ltc294x_properties[] = {
Drx51_battery.c162 enum power_supply_property psp, in rx51_battery_get_property()
196 static enum power_supply_property rx51_battery_props[] = {
Dda9150-charger.c106 static enum power_supply_property da9150_charger_props[] = {
114 enum power_supply_property psp, in da9150_charger_get_prop()
313 static enum power_supply_property da9150_charger_bat_props[] = {
326 enum power_supply_property psp, in da9150_charger_battery_get_prop()
Dds2760_battery.c405 enum power_supply_property psp, in ds2760_battery_get_property()
456 enum power_supply_property psp, in ds2760_battery_set_property()
480 enum power_supply_property psp) in ds2760_battery_property_is_writeable()
494 static enum power_supply_property ds2760_battery_props[] = {
Dlp8727_charger.c293 static enum power_supply_property lp8727_charger_prop[] = {
297 static enum power_supply_property lp8727_battery_prop[] = {
311 enum power_supply_property psp, in lp8727_charger_get_property()
337 enum power_supply_property psp, in lp8727_battery_get_property()
Dtosa_battery.c95 enum power_supply_property psp, in tosa_bat_get_property()
206 static enum power_supply_property tosa_bat_main_props[] = {
216 static enum power_supply_property tosa_bat_bu_props[] = {
Dsmb347-charger.c935 enum power_supply_property prop, in smb347_mains_get_property()
969 static enum power_supply_property smb347_mains_properties[] = {
976 enum power_supply_property prop, in smb347_usb_get_property()
1010 static enum power_supply_property smb347_usb_properties[] = {
1062 enum power_supply_property prop, in smb347_battery_get_property()
1129 static enum power_supply_property smb347_battery_properties[] = {
Dbq24190_charger.c806 enum power_supply_property psp, union power_supply_propval *val) in bq24190_charger_get_property()
858 enum power_supply_property psp, in bq24190_charger_set_property()
887 enum power_supply_property psp) in bq24190_charger_property_is_writeable()
904 static enum power_supply_property bq24190_charger_properties[] = {
1096 enum power_supply_property psp, union power_supply_propval *val) in bq24190_battery_get_property()
1136 enum power_supply_property psp, in bq24190_battery_set_property()
1162 enum power_supply_property psp) in bq24190_battery_property_is_writeable()
1178 static enum power_supply_property bq24190_battery_properties[] = {
Dtwl4030_madc_battery.c32 static enum power_supply_property twl4030_madc_bat_props[] = {
108 enum power_supply_property psp, in twl4030_madc_bat_get_property()
Dwm97xx_battery.c31 static enum power_supply_property *prop;
54 enum power_supply_property psp, in wm97xx_bat_get_property()
Dmax17040_battery.c57 enum power_supply_property psp, in max17040_get_property()
194 static enum power_supply_property max17040_battery_props[] = {
Dgpio-charger.c54 enum power_supply_property psp, union power_supply_propval *val) in gpio_charger_get_property()
71 static enum power_supply_property gpio_charger_properties[] = {
Dlp8788-charger.c121 static enum power_supply_property lp8788_charger_prop[] = {
126 static enum power_supply_property lp8788_battery_prop[] = {
148 enum power_supply_property psp, in lp8788_charger_get_property()
337 enum power_supply_property psp, in lp8788_battery_get_property()
Dbq27x00_battery.c126 static enum power_supply_property bq27x00_battery_props[] = {
147 static enum power_supply_property bq27425_battery_props[] = {
161 static enum power_supply_property bq27742_battery_props[] = {
179 static enum power_supply_property bq27510_battery_props[] = {
679 enum power_supply_property psp, in bq27x00_battery_get_property()
Dz2_battery.c45 enum power_supply_property psp, in z2_batt_get_property()
135 enum power_supply_property *prop; in z2_batt_ps_init()
Dtps65090-charger.c50 static enum power_supply_property tps65090_ac_props[] = {
135 enum power_supply_property psp, in tps65090_ac_get_property()
Dbq24735-charger.c58 static enum power_supply_property bq24735_charger_properties[] = {
193 enum power_supply_property psp, in bq24735_charger_get_property()
Dmax8903_charger.c41 static enum power_supply_property max8903_charger_props[] = {
48 enum power_supply_property psp, in max8903_get_property()
Djz4740-battery.c130 enum power_supply_property psp, union power_supply_propval *val) in jz_battery_get_property()
220 static enum power_supply_property jz_battery_properties[] = {
Dds2782_battery.c247 enum power_supply_property prop, in ds278x_battery_get_property()
302 static enum power_supply_property ds278x_battery_props[] = {
Dpda_power.c57 enum power_supply_property psp, in pda_power_get_property()
75 static enum power_supply_property pda_power_props[] = {
Dpower_supply_core.c452 enum power_supply_property psp, in power_supply_get_property()
463 enum power_supply_property psp, in power_supply_set_property()
474 enum power_supply_property psp) in power_supply_property_is_writeable()
Disp1704_charger.c327 enum power_supply_property psp, in isp1704_charger_get_property()
354 static enum power_supply_property power_props[] = {
Dmax14577_charger.c403 static enum power_supply_property max14577_charger_props[] = {
421 enum power_supply_property psp, in max14577_charger_get_property()
Dda9052-battery.c497 enum power_supply_property psp, in da9052_bat_get_property()
550 static enum power_supply_property da9052_bat_props[] = {
Daxp288_fuel_gauge.c137 static enum power_supply_property fuel_gauge_props[] = {
588 enum power_supply_property prop, in fuel_gauge_get_property()
714 enum power_supply_property prop, in fuel_gauge_set_property()
773 enum power_supply_property psp) in fuel_gauge_property_is_writeable()
Dmax77693_charger.c209 static enum power_supply_property max77693_charger_props[] = {
220 enum power_supply_property psp, in max77693_charger_get_property()
Dda9030_battery.c306 static enum power_supply_property da9030_battery_props[] = {
342 enum power_supply_property psp, in da9030_battery_get_property()
D88pm860x_battery.c807 enum power_supply_property psp, in pm860x_batt_get_prop()
873 enum power_supply_property psp, in pm860x_batt_set_prop()
893 static enum power_supply_property pm860x_batt_props[] = {
Dab8500_btemp.c111 static enum power_supply_property ab8500_btemp_props[] = {
881 enum power_supply_property psp, in ab8500_btemp_get_property()
933 enum power_supply_property prop; in ab8500_btemp_get_ext_psy_data()
Dtwl4030_charger.c463 enum power_supply_property psp, in twl4030_bci_get_property()
526 static enum power_supply_property twl4030_charger_props[] = {
D88pm860x_charger.c595 enum power_supply_property psp, in pm860x_usb_get_prop()
617 static enum power_supply_property pm860x_usb_props[] = {
Dds2780_battery.c385 enum power_supply_property psp, in ds2780_battery_get_property()
439 static enum power_supply_property ds2780_battery_props[] = {
Dds2781_battery.c387 enum power_supply_property psp, in ds2781_battery_get_property()
441 static enum power_supply_property ds2781_battery_props[] = {
Dcharger-manager.c885 enum power_supply_property psp, in charger_get_property()
1025 static enum power_supply_property default_charger_props[] = {
1730 sizeof(enum power_supply_property) in charger_manager_probe()
1737 sizeof(enum power_supply_property) * in charger_manager_probe()
Dmax17042_battery.c76 static enum power_supply_property max17042_battery_props[] = {
93 enum power_supply_property psp, in max17042_get_property()
Dpm2301_charger.c48 static enum power_supply_property pm2xxx_charger_ac_props[] = {
605 enum power_supply_property psp, in pm2xxx_charger_ac_get_property()
Dab8500_charger.c320 static enum power_supply_property ab8500_charger_ac_props[] = {
330 static enum power_supply_property ab8500_charger_usb_props[] = {
1957 enum power_supply_property prop; in ab8500_charger_get_ext_psy_data()
2953 enum power_supply_property psp, in ab8500_charger_ac_get_property()
3020 enum power_supply_property psp, in ab8500_charger_usb_get_property()
Dabx500_chargalg.c273 static enum power_supply_property abx500_chargalg_props[] = {
1008 enum power_supply_property prop; in abx500_chargalg_get_ext_psy_data()
1778 enum power_supply_property psp, in abx500_chargalg_get_property()
Dbq2415x_charger.c986 static enum power_supply_property bq2415x_power_supply_props[] = {
993 enum power_supply_property psp, in bq2415x_power_supply_get_property()
Dab8500_fg.c258 static enum power_supply_property ab8500_fg_props[] = {
2093 enum power_supply_property psp, in ab8500_fg_get_property()
2195 enum power_supply_property prop; in ab8500_fg_get_ext_psy_data()
/linux-4.1.27/drivers/staging/nvec/
Dnvec_power.c225 enum power_supply_property psp, in nvec_power_get_property()
241 enum power_supply_property psp, in nvec_battery_get_property()
298 static enum power_supply_property nvec_power_props[] = {
302 static enum power_supply_property nvec_battery_props[] = {
/linux-4.1.27/drivers/acpi/
Dsbs.c154 enum power_supply_property psp, in sbs_get_ac_property()
182 enum power_supply_property psp, in acpi_sbs_battery_get_property()
266 static enum power_supply_property sbs_ac_props[] = {
270 static enum power_supply_property sbs_charge_battery_props[] = {
288 static enum power_supply_property sbs_energy_battery_props[] = {
Dac.c144 enum power_supply_property psp, in get_ac_property()
165 static enum power_supply_property ac_props[] = {
Dbattery.c201 enum power_supply_property psp, in acpi_battery_get_property()
305 static enum power_supply_property charge_battery_props[] = {
323 static enum power_supply_property energy_battery_props[] = {
/linux-4.1.27/drivers/platform/x86/
Dcompal-laptop.c565 enum power_supply_property psp, in bat_get_property()
717 static enum power_supply_property compal_bat_properties[] = {
/linux-4.1.27/drivers/hid/
Dwacom_sys.c947 static enum power_supply_property wacom_battery_props[] = {
954 static enum power_supply_property wacom_ac_props[] = {
961 enum power_supply_property psp, in wacom_battery_get_property()
998 enum power_supply_property psp, in wacom_ac_get_property()
Dhid-sony.c764 static enum power_supply_property sony_battery_props[] = {
1682 enum power_supply_property psp, in sony_battery_get_property()
Dhid-input.c295 static enum power_supply_property hidinput_battery_props[] = {
339 enum power_supply_property prop, in hidinput_get_battery_property()
Dhid-wiimote-modules.c197 static enum power_supply_property wiimod_battery_props[] = {
203 enum power_supply_property psp, in wiimod_battery_get_property()