Home
last modified time | relevance | path

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

/linux-4.4.14/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,
215 enum power_supply_property psp);
316 enum power_supply_property psp,
319 enum power_supply_property psp,
322 enum power_supply_property psp);
348 static inline bool power_supply_is_amp_property(enum power_supply_property psp) in power_supply_is_amp_property()
372 static inline bool power_supply_is_watt_property(enum power_supply_property psp) in power_supply_is_watt_property()
/linux-4.4.14/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[] = {
Dqcom_smbb.c482 enum power_supply_property psp, in smbb_usbin_get_property()
510 enum power_supply_property psp, in smbb_usbin_set_property()
530 enum power_supply_property psp, in smbb_dcin_get_property()
558 enum power_supply_property psp, in smbb_dcin_set_property()
578 enum power_supply_property psp) in smbb_charger_writable_property()
584 enum power_supply_property psp, in smbb_battery_get_property()
654 enum power_supply_property psp, in smbb_battery_set_property()
676 enum power_supply_property psp) in smbb_battery_writable_property()
687 static enum power_supply_property smbb_charger_properties[] = {
693 static enum power_supply_property smbb_battery_properties[] = {
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.c84 enum power_supply_property psp;
132 static enum power_supply_property sbs_properties[] = {
299 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
363 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
410 int reg_offset, enum power_supply_property psp, char *val) in sbs_get_battery_string_property()
423 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment()
495 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity()
543 enum power_supply_property psp) in sbs_get_property_index()
557 enum power_supply_property psp, in sbs_get_property()
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[] = {
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[] = {
Dbq27xxx_battery.c298 static enum power_supply_property bq27000_battery_props[] = {
320 static enum power_supply_property bq27010_battery_props[] = {
340 static enum power_supply_property bq27500_battery_props[] = {
358 static enum power_supply_property bq27530_battery_props[] = {
376 static enum power_supply_property bq27541_battery_props[] = {
395 static enum power_supply_property bq27545_battery_props[] = {
413 static enum power_supply_property bq27421_battery_props[] = {
435 enum power_supply_property *props;
903 enum power_supply_property psp, in bq27xxx_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()
Dmax8997_charger.c36 static enum power_supply_property max8997_battery_props[] = {
44 enum power_supply_property psp, in max8997_battery_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[] = {
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()
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()
Dltc2941-battery-gauge.c290 enum power_supply_property prop, in ltc294x_get_property()
312 enum power_supply_property psp, in ltc294x_set_property()
326 struct power_supply *psy, enum power_supply_property psp) in ltc294x_property_is_writeable()
355 static enum power_supply_property ltc294x_properties[] = {
Daxp20x_usb_power.c59 enum power_supply_property psp, union power_supply_propval *val) in axp20x_usb_power_get_property()
149 static enum power_supply_property axp20x_usb_power_properties[] = {
Dtps65217_charger.c51 static enum power_supply_property tps65217_ac_props[] = {
117 enum power_supply_property psp, in tps65217_ac_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[] = {
Drx51_battery.c162 enum power_supply_property psp, in rx51_battery_get_property()
196 static enum power_supply_property rx51_battery_props[] = {
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[] = {
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()
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()
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[] = {
Dmax17040_battery.c57 enum power_supply_property psp, in max17040_get_property()
194 static enum power_supply_property max17040_battery_props[] = {
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()
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()
Dmax8903_charger.c41 static enum power_supply_property max8903_charger_props[] = {
48 enum power_supply_property psp, in max8903_get_property()
Dbq24735-charger.c58 static enum power_supply_property bq24735_charger_properties[] = {
193 enum power_supply_property psp, in bq24735_charger_get_property()
Daxp288_charger.c387 enum power_supply_property psp, in axp288_charger_usb_set_property()
420 enum power_supply_property psp, in axp288_charger_usb_get_property()
482 enum power_supply_property psp) in axp288_charger_property_is_writeable()
498 static enum power_supply_property axp288_usb_props[] = {
Dds2782_battery.c247 enum power_supply_property prop, in ds278x_battery_get_property()
302 static enum power_supply_property ds278x_battery_props[] = {
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[] = {
Dpda_power.c57 enum power_supply_property psp, in pda_power_get_property()
75 static enum power_supply_property pda_power_props[] = {
Disp1704_charger.c327 enum power_supply_property psp, in isp1704_charger_get_property()
354 static enum power_supply_property power_props[] = {
Dmax17042_battery.c78 static enum power_supply_property max17042_battery_props[] = {
179 enum power_supply_property psp, in max17042_get_property()
342 enum power_supply_property psp, in max17042_set_property()
388 enum power_supply_property psp) in max17042_property_is_writeable()
Dbq24257_charger.c312 enum power_supply_property psp, in bq24257_power_supply_get_property()
406 enum power_supply_property prop, in bq24257_power_supply_set_property()
420 enum power_supply_property psp) in bq24257_power_supply_property_is_writeable()
744 static enum power_supply_property bq24257_power_supply_props[] = {
Dpower_supply_core.c491 enum power_supply_property psp, in power_supply_get_property()
502 enum power_supply_property psp, in power_supply_set_property()
513 enum power_supply_property psp) in power_supply_property_is_writeable()
Dda9052-battery.c497 enum power_supply_property psp, in da9052_bat_get_property()
550 static enum power_supply_property da9052_bat_props[] = {
Dda9150-fg.c305 static enum power_supply_property da9150_fg_props[] = {
314 enum power_supply_property psp, in da9150_fg_get_prop()
Dmax14577_charger.c403 static enum power_supply_property max14577_charger_props[] = {
421 enum power_supply_property psp, in max14577_charger_get_property()
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()
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[] = {
Dmax77693_charger.c210 static enum power_supply_property max77693_charger_props[] = {
221 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()
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()
Dds2781_battery.c387 enum power_supply_property psp, in ds2781_battery_get_property()
441 static enum power_supply_property ds2781_battery_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[] = {
Dcharger-manager.c885 enum power_supply_property psp, in charger_get_property()
1025 static enum power_supply_property default_charger_props[] = {
1732 sizeof(enum power_supply_property) in charger_manager_probe()
1739 sizeof(enum power_supply_property) * in charger_manager_probe()
Dbq25890_charger.c373 enum power_supply_property psp, in bq25890_power_supply_get_property()
643 static enum power_supply_property bq25890_power_supply_props[] = {
Dtwl4030_charger.c858 enum power_supply_property psp, in twl4030_bci_get_property()
932 static enum power_supply_property twl4030_charger_props[] = {
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()
Drt9455_charger.c342 static enum power_supply_property rt9455_charger_properties[] = {
621 enum power_supply_property psp, in rt9455_charger_get_property()
Dbq2415x_charger.c999 static enum power_supply_property bq2415x_power_supply_props[] = {
1006 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.4.14/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.4.14/drivers/acpi/
Dsbs.c150 enum power_supply_property psp, in sbs_get_ac_property()
178 enum power_supply_property psp, in acpi_sbs_battery_get_property()
262 static enum power_supply_property sbs_ac_props[] = {
266 static enum power_supply_property sbs_charge_battery_props[] = {
284 static enum power_supply_property sbs_energy_battery_props[] = {
Dac.c140 enum power_supply_property psp, in get_ac_property()
161 static enum power_supply_property ac_props[] = {
Dbattery.c198 enum power_supply_property psp, in acpi_battery_get_property()
302 static enum power_supply_property charge_battery_props[] = {
320 static enum power_supply_property energy_battery_props[] = {
/linux-4.4.14/drivers/platform/x86/
Dcompal-laptop.c567 enum power_supply_property psp, in bat_get_property()
646 enum power_supply_property psp, in bat_set_property()
666 enum power_supply_property psp) in bat_writeable_property()
755 static enum power_supply_property compal_bat_properties[] = {
/linux-4.4.14/drivers/hid/
Dwacom_sys.c965 static enum power_supply_property wacom_battery_props[] = {
972 static enum power_supply_property wacom_ac_props[] = {
979 enum power_supply_property psp, in wacom_battery_get_property()
1016 enum power_supply_property psp, in wacom_ac_get_property()
Dhid-sony.c968 static enum power_supply_property sony_battery_props[] = {
1978 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()