Home
last modified time | relevance | path

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

12345

/Linux-v5.4/include/linux/
Dpower_supply.h91 enum power_supply_property { enum
228 enum power_supply_property *properties;
238 enum power_supply_property psp,
241 enum power_supply_property psp,
249 enum power_supply_property psp);
397 enum power_supply_property psp,
400 enum power_supply_property psp,
403 enum power_supply_property psp);
431 static inline bool power_supply_is_amp_property(enum power_supply_property psp) in power_supply_is_amp_property()
457 static inline bool power_supply_is_watt_property(enum power_supply_property psp) in power_supply_is_watt_property()
/Linux-v5.4/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()
Dwilco-charger.c75 static enum power_supply_property wilco_charge_props[] = {
82 enum power_supply_property psp, in wilco_charge_get_property()
119 enum power_supply_property psp, in wilco_charge_set_property()
149 enum power_supply_property psp) in wilco_charge_property_is_writeable()
Daxp20x_ac_power.c55 enum power_supply_property psp, in axp20x_ac_power_get_property()
140 enum power_supply_property psp, in axp813_ac_power_set_property()
170 enum power_supply_property psp) in axp813_ac_power_prop_writeable()
176 static enum power_supply_property axp20x_ac_power_properties[] = {
184 static enum power_supply_property axp22x_ac_power_properties[] = {
190 static enum power_supply_property axp813_ac_power_properties[] = {
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.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[] = {
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[] = {
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[] = {
Drt5033_battery.c36 enum power_supply_property psp) in rt5033_battery_get_watt_prop()
69 enum power_supply_property psp, in rt5033_battery_get_property()
93 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()
Dsbs-battery.c74 enum power_supply_property psp;
124 static enum power_supply_property sbs_properties[] = {
312 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
338 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health()
394 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
461 int reg_offset, enum power_supply_property psp, char *val) in sbs_get_battery_string_property()
474 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment()
548 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity()
591 enum power_supply_property psp) in sbs_get_property_index()
605 enum power_supply_property psp, in sbs_get_property()
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[] = {
Dtest_power.c40 enum power_supply_property psp, in test_power_get_ac_property()
54 enum power_supply_property psp, in test_power_get_usb_property()
68 enum power_supply_property psp, in test_power_get_battery_property()
125 static enum power_supply_property test_power_ac_props[] = {
129 static enum power_supply_property test_power_battery_props[] = {
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[] = {
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[] = {
Daxp20x_usb_power.c161 enum power_supply_property psp, union power_supply_propval *val) in axp20x_usb_power_get_property()
340 enum power_supply_property psp, in axp20x_usb_power_set_property()
363 enum power_supply_property psp) in axp20x_usb_power_prop_writeable()
369 static enum power_supply_property axp20x_usb_power_properties[] = {
379 static enum power_supply_property axp22x_usb_power_properties[] = {
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[] = {
433 enum power_supply_property psp, in wm831x_bat_get_prop()
465 static enum power_supply_property wm831x_bat_props[] = {
Dbq27xxx_battery.c441 static enum power_supply_property bq27000_props[] = {
463 static enum power_supply_property bq27010_props[] = {
487 static enum power_supply_property bq27500_props[] = {
510 static enum power_supply_property bq27510g3_props[] = {
528 static enum power_supply_property bq27520g1_props[] = {
550 static enum power_supply_property bq27520g3_props[] = {
570 static enum power_supply_property bq27520g4_props[] = {
587 static enum power_supply_property bq27521_props[] = {
596 static enum power_supply_property bq27530_props[] = {
615 static enum power_supply_property bq27541_props[] = {
[all …]
Dsbs-manager.c53 static enum power_supply_property sbsm_props[] = {
93 enum power_supply_property psp, in sbsm_get_property()
136 enum power_supply_property psp) in sbsm_prop_is_writeable()
144 enum power_supply_property psp, in sbsm_set_property()
Dolpc_battery.c65 enum power_supply_property psp, in olpc_ac_get_prop()
86 static enum power_supply_property olpc_ac_props[] = {
335 enum power_supply_property psp, in olpc_bat_get_property()
479 static enum power_supply_property olpc_xo1_bat_props[] = {
502 static enum power_supply_property olpc_xo15_bat_props[] = {
Dmax8997_charger.c22 static enum power_supply_property max8997_battery_props[] = {
30 enum power_supply_property psp, in max8997_battery_get_property()
Dmax8998_charger.c23 static enum power_supply_property max8998_battery_props[] = {
30 enum power_supply_property psp, in max8998_battery_get_property()
Dpcf50633-charger.c280 enum power_supply_property psp, in adapter_get_property()
298 enum power_supply_property psp, in usb_get_property()
319 enum power_supply_property psp, in ac_get_property()
339 static enum power_supply_property power_props[] = {
/Linux-v5.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-v5.4/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[] = {

12345