/drivers/power/ |
H A D | sbs-battery.c | 76 .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 D | pmu_battery.c | 33 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 D | generic-adc-battery.c | 113 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 D | test_power.c | 36 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 D | goldfish_battery.c | 67 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 D | ipaq_micro_battery.c | 132 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 D | ds2760_battery.c | 407 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 D | max8925_power.c | 196 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 D | pcf50633-charger.c | 290 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 D | wm8350_power.c | 250 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 D | gpio-charger.c | 51 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 D | max8997_charger.c | 44 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 D | max8998_charger.c | 43 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 D | wm831x_backup.c | 115 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 D | bq24190_charger.c | 808 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 D | olpc_battery.c | 59 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 D | wm831x_power.c | 67 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 D | collie_battery.c | 96 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 D | tosa_battery.c | 95 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 D | intel_mid_battery.c | 396 * @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 D | s3c_adc_battery.c | 73 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 D | max17040_battery.c | 57 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 D | rx51_battery.c | 161 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 D | card_ddcb.h | 69 u8 psp; /* Protection Section Pointer */ member in struct:ddcb
|
/drivers/staging/nvec/ |
H A D | nvec_power.c | 225 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
|