Searched refs:psp (Results 1 - 25 of 69) sorted by relevance

123

/drivers/power/
H A Dsbs-battery.c76 .psp = _psp, \
83 enum power_supply_property psp; member in struct:chip_data
297 struct i2c_client *client, enum power_supply_property psp,
303 if (psp == POWER_SUPPLY_PROP_PRESENT &&
320 if (psp == POWER_SUPPLY_PROP_PRESENT)
340 if (psp == POWER_SUPPLY_PROP_PRESENT) {
346 } else if (psp == POWER_SUPPLY_PROP_HEALTH) {
361 int reg_offset, enum power_supply_property psp,
378 if (psp != POWER_SUPPLY_PROP_STATUS)
398 if (psp
296 sbs_get_battery_presence_and_health( struct i2c_client *client, enum power_supply_property psp, union power_supply_propval *val) argument
360 sbs_get_battery_property(struct i2c_client *client, int reg_offset, enum power_supply_property psp, union power_supply_propval *val) argument
407 sbs_get_battery_string_property(struct i2c_client *client, int reg_offset, enum power_supply_property psp, char *val) argument
420 sbs_unit_adjustment(struct i2c_client *client, enum power_supply_property psp, union power_supply_propval *val) argument
492 sbs_get_battery_capacity(struct i2c_client *client, int reg_offset, enum power_supply_property psp, union power_supply_propval *val) argument
540 sbs_get_property_index(struct i2c_client *client, enum power_supply_property psp) argument
554 sbs_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
[all...]
H A Dpmu_battery.c33 enum power_supply_property psp,
36 switch (psp) {
83 enum power_supply_property psp,
89 switch (psp) {
32 pmu_get_ac_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
82 pmu_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dgeneric-adc-battery.c113 static enum gab_chan_type gab_prop_to_chan(enum power_supply_property psp) argument
115 switch (psp) {
129 static int read_channel(struct gab *adc_bat, enum power_supply_property psp, argument
135 chan_index = gab_prop_to_chan(psp);
144 enum power_supply_property psp, union power_supply_propval *val)
160 switch (psp) {
173 ret = read_channel(adc_bat, psp, &result);
143 gab_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dtest_power.c36 enum power_supply_property psp,
39 switch (psp) {
50 enum power_supply_property psp,
53 switch (psp) {
64 enum power_supply_property psp,
67 switch (psp) {
35 test_power_get_ac_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
49 test_power_get_usb_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
63 test_power_get_battery_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dgoldfish_battery.c67 enum power_supply_property psp,
74 switch (psp) {
86 enum power_supply_property psp,
93 switch (psp) {
66 goldfish_ac_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
85 goldfish_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dipaq_micro_battery.c132 enum power_supply_property psp,
137 switch (psp) {
180 enum power_supply_property psp,
185 switch (psp) {
131 micro_batt_get_property(struct power_supply *b, enum power_supply_property psp, union power_supply_propval *val) argument
179 micro_ac_get_property(struct power_supply *b, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dds2760_battery.c407 enum power_supply_property psp,
412 switch (psp) {
422 switch (psp) {
458 enum power_supply_property psp,
463 switch (psp) {
482 enum power_supply_property psp)
484 switch (psp) {
406 ds2760_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
457 ds2760_battery_set_property(struct power_supply *psy, enum power_supply_property psp, const union power_supply_propval *val) argument
481 ds2760_battery_property_is_writeable(struct power_supply *psy, enum power_supply_property psp) argument
H A Dmax8925_power.c196 enum power_supply_property psp,
202 switch (psp) {
230 enum power_supply_property psp,
236 switch (psp) {
264 enum power_supply_property psp,
270 switch (psp) {
195 max8925_ac_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
229 max8925_usb_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
263 max8925_bat_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dpcf50633-charger.c290 enum power_supply_property psp,
297 switch (psp) {
309 enum power_supply_property psp,
317 switch (psp) {
330 enum power_supply_property psp,
338 switch (psp) {
289 adapter_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
308 usb_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
329 ac_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dwm8350_power.c250 enum power_supply_property psp,
256 switch (psp) {
280 enum power_supply_property psp,
286 switch (psp) {
346 enum power_supply_property psp,
352 switch (psp) {
249 wm8350_ac_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
279 wm8350_usb_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
345 wm8350_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dgpio-charger.c51 enum power_supply_property psp, union power_supply_propval *val)
56 switch (psp) {
50 gpio_charger_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dmax8997_charger.c44 enum power_supply_property psp,
53 switch (psp) {
43 max8997_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dmax8998_charger.c43 enum power_supply_property psp,
52 switch (psp) {
42 max8998_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dwm831x_backup.c115 enum power_supply_property psp,
126 switch (psp) {
114 wm831x_backup_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dbq24190_charger.c808 enum power_supply_property psp, union power_supply_propval *val)
814 dev_dbg(bdi->dev, "prop: %d\n", psp);
818 switch (psp) {
861 enum power_supply_property psp,
868 dev_dbg(bdi->dev, "prop: %d\n", psp);
872 switch (psp) {
891 enum power_supply_property psp)
895 switch (psp) {
1103 enum power_supply_property psp, union power_supply_propval *val)
1109 dev_dbg(bdi->dev, "prop: %d\n", psp);
807 bq24190_charger_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
860 bq24190_charger_set_property(struct power_supply *psy, enum power_supply_property psp, const union power_supply_propval *val) argument
890 bq24190_charger_property_is_writeable(struct power_supply *psy, enum power_supply_property psp) argument
1102 bq24190_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
1143 bq24190_battery_set_property(struct power_supply *psy, enum power_supply_property psp, const union power_supply_propval *val) argument
1170 bq24190_battery_property_is_writeable(struct power_supply *psy, enum power_supply_property psp) argument
[all...]
H A Dolpc_battery.c59 enum power_supply_property psp,
65 switch (psp) {
322 enum power_supply_property psp,
341 psp != POWER_SUPPLY_PROP_PRESENT)
344 switch (psp) {
58 olpc_ac_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
321 olpc_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dwm831x_power.c67 enum power_supply_property psp,
74 switch (psp) {
98 enum power_supply_property psp,
105 switch (psp) {
393 enum power_supply_property psp,
400 switch (psp) {
66 wm831x_wall_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
97 wm831x_usb_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
392 wm831x_bat_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dcollie_battery.c96 enum power_supply_property psp,
103 && psp != POWER_SUPPLY_PROP_PRESENT) {
107 switch (psp) {
95 collie_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dtosa_battery.c95 enum power_supply_property psp,
102 && psp != POWER_SUPPLY_PROP_PRESENT) {
106 switch (psp) {
94 tosa_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dintel_mid_battery.c396 * @psp: usb power source property
404 enum power_supply_property psp,
413 switch (psp) {
436 * @psp: battery power source property
444 enum power_supply_property psp,
453 switch (psp) {
403 pmic_usb_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
443 pmic_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Ds3c_adc_battery.c73 enum power_supply_property psp,
93 switch (psp) {
141 enum power_supply_property psp,
207 switch (psp) {
72 s3c_adc_backup_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
140 s3c_adc_bat_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Dmax17040_battery.c57 enum power_supply_property psp,
63 switch (psp) {
56 max17040_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
H A Drx51_battery.c161 enum power_supply_property psp,
167 switch (psp) {
160 rx51_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
/drivers/misc/genwqe/
H A Dcard_ddcb.h69 u8 psp; /* Protection Section Pointer */ member in struct:ddcb
/drivers/staging/nvec/
H A Dnvec_power.c225 enum power_supply_property psp,
230 switch (psp) {
241 enum power_supply_property psp,
246 switch (psp) {
224 nvec_power_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
240 nvec_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument

Completed in 231 milliseconds

123