/drivers/power/ |
D | sbs-battery.c | 72 .psp = _psp, \ 79 enum power_supply_property psp; member 211 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health() argument 217 if (psp == POWER_SUPPLY_PROP_PRESENT && in sbs_get_battery_presence_and_health() 234 if (psp == POWER_SUPPLY_PROP_PRESENT) in sbs_get_battery_presence_and_health() 254 if (psp == POWER_SUPPLY_PROP_PRESENT) { in sbs_get_battery_presence_and_health() 260 } else if (psp == POWER_SUPPLY_PROP_HEALTH) { in sbs_get_battery_presence_and_health() 275 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property() argument 292 if (psp != POWER_SUPPLY_PROP_STATUS) in sbs_get_battery_property() 312 if (psp == POWER_SUPPLY_PROP_STATUS) in sbs_get_battery_property() [all …]
|
D | generic-adc-battery.c | 113 static enum gab_chan_type gab_prop_to_chan(enum power_supply_property psp) in gab_prop_to_chan() argument 115 switch (psp) { in gab_prop_to_chan() 129 static int read_channel(struct gab *adc_bat, enum power_supply_property psp, in read_channel() argument 135 chan_index = gab_prop_to_chan(psp); in read_channel() 144 enum power_supply_property psp, union power_supply_propval *val) in gab_get_property() argument 160 switch (psp) { in gab_get_property() 173 ret = read_channel(adc_bat, psp, &result); in gab_get_property()
|
D | pmu_battery.c | 33 enum power_supply_property psp, in pmu_get_ac_prop() argument 36 switch (psp) { in pmu_get_ac_prop() 83 enum power_supply_property psp, in pmu_bat_get_property() argument 89 switch (psp) { in pmu_bat_get_property()
|
D | test_power.c | 36 enum power_supply_property psp, in test_power_get_ac_property() argument 39 switch (psp) { in test_power_get_ac_property() 50 enum power_supply_property psp, in test_power_get_usb_property() argument 53 switch (psp) { in test_power_get_usb_property() 64 enum power_supply_property psp, in test_power_get_battery_property() argument 67 switch (psp) { in test_power_get_battery_property()
|
D | goldfish_battery.c | 68 enum power_supply_property psp, in goldfish_ac_get_property() argument 75 switch (psp) { in goldfish_ac_get_property() 87 enum power_supply_property psp, in goldfish_battery_get_property() argument 94 switch (psp) { in goldfish_battery_get_property()
|
D | ds2760_battery.c | 407 enum power_supply_property psp, in ds2760_battery_get_property() argument 412 switch (psp) { in ds2760_battery_get_property() 422 switch (psp) { in ds2760_battery_get_property() 458 enum power_supply_property psp, in ds2760_battery_set_property() argument 463 switch (psp) { in ds2760_battery_set_property() 482 enum power_supply_property psp) in ds2760_battery_property_is_writeable() argument 484 switch (psp) { in ds2760_battery_property_is_writeable()
|
D | wm8350_power.c | 250 enum power_supply_property psp, in wm8350_ac_get_prop() argument 256 switch (psp) { in wm8350_ac_get_prop() 280 enum power_supply_property psp, in wm8350_usb_get_prop() argument 286 switch (psp) { in wm8350_usb_get_prop() 346 enum power_supply_property psp, in wm8350_bat_get_property() argument 352 switch (psp) { in wm8350_bat_get_property()
|
D | pcf50633-charger.c | 290 enum power_supply_property psp, in adapter_get_property() argument 297 switch (psp) { in adapter_get_property() 309 enum power_supply_property psp, in usb_get_property() argument 317 switch (psp) { in usb_get_property() 330 enum power_supply_property psp, in ac_get_property() argument 338 switch (psp) { in ac_get_property()
|
D | max8925_power.c | 196 enum power_supply_property psp, in max8925_ac_get_prop() argument 202 switch (psp) { in max8925_ac_get_prop() 230 enum power_supply_property psp, in max8925_usb_get_prop() argument 236 switch (psp) { in max8925_usb_get_prop() 264 enum power_supply_property psp, in max8925_bat_get_prop() argument 270 switch (psp) { in max8925_bat_get_prop()
|
D | wm831x_power.c | 67 enum power_supply_property psp, in wm831x_wall_get_prop() argument 74 switch (psp) { in wm831x_wall_get_prop() 98 enum power_supply_property psp, in wm831x_usb_get_prop() argument 105 switch (psp) { in wm831x_usb_get_prop() 393 enum power_supply_property psp, in wm831x_bat_get_prop() argument 400 switch (psp) { in wm831x_bat_get_prop()
|
D | olpc_battery.c | 59 enum power_supply_property psp, in olpc_ac_get_prop() argument 65 switch (psp) { in olpc_ac_get_prop() 322 enum power_supply_property psp, in olpc_bat_get_property() argument 341 psp != POWER_SUPPLY_PROP_PRESENT) in olpc_bat_get_property() 344 switch (psp) { in olpc_bat_get_property()
|
D | s3c_adc_battery.c | 73 enum power_supply_property psp, in s3c_adc_backup_bat_get_property() argument 93 switch (psp) { in s3c_adc_backup_bat_get_property() 141 enum power_supply_property psp, in s3c_adc_bat_get_property() argument 207 switch (psp) { in s3c_adc_bat_get_property()
|
D | rx51_battery.c | 157 enum power_supply_property psp, in rx51_battery_get_property() argument 163 switch (psp) { in rx51_battery_get_property()
|
D | collie_battery.c | 96 enum power_supply_property psp, in collie_bat_get_property() argument 103 && psp != POWER_SUPPLY_PROP_PRESENT) { in collie_bat_get_property() 107 switch (psp) { in collie_bat_get_property()
|
D | intel_mid_battery.c | 404 enum power_supply_property psp, in pmic_usb_get_property() argument 413 switch (psp) { in pmic_usb_get_property() 444 enum power_supply_property psp, in pmic_battery_get_property() argument 453 switch (psp) { in pmic_battery_get_property()
|
D | max8998_charger.c | 43 enum power_supply_property psp, in max8998_battery_get_property() argument 52 switch (psp) { in max8998_battery_get_property()
|
D | max8997_charger.c | 44 enum power_supply_property psp, in max8997_battery_get_property() argument 53 switch (psp) { in max8997_battery_get_property()
|
D | wm831x_backup.c | 115 enum power_supply_property psp, in wm831x_backup_get_prop() argument 126 switch (psp) { in wm831x_backup_get_prop()
|
D | gpio-charger.c | 50 enum power_supply_property psp, union power_supply_propval *val) in gpio_charger_get_property() argument 55 switch (psp) { in gpio_charger_get_property()
|
D | lp8727_charger.c | 310 enum power_supply_property psp, in lp8727_charger_get_property() argument 315 if (psp != POWER_SUPPLY_PROP_ONLINE) in lp8727_charger_get_property() 336 enum power_supply_property psp, in lp8727_battery_get_property() argument 344 switch (psp) { in lp8727_battery_get_property()
|
D | tosa_battery.c | 95 enum power_supply_property psp, in tosa_bat_get_property() argument 102 && psp != POWER_SUPPLY_PROP_PRESENT) { in tosa_bat_get_property() 106 switch (psp) { in tosa_bat_get_property()
|
D | da9052-battery.c | 497 enum power_supply_property psp, in da9052_bat_get_property() argument 509 if (illegal && psp != POWER_SUPPLY_PROP_PRESENT) in da9052_bat_get_property() 512 switch (psp) { in da9052_bat_get_property()
|
D | lp8788-charger.c | 148 enum power_supply_property psp, in lp8788_charger_get_property() argument 154 switch (psp) { in lp8788_charger_get_property() 337 enum power_supply_property psp, in lp8788_battery_get_property() argument 342 switch (psp) { in lp8788_battery_get_property()
|
D | tps65090-charger.c | 111 enum power_supply_property psp, in tps65090_ac_get_property() argument 117 if (psp == POWER_SUPPLY_PROP_ONLINE) { in tps65090_ac_get_property()
|
/drivers/staging/nvec/ |
D | nvec_power.c | 225 enum power_supply_property psp, in nvec_power_get_property() argument 229 switch (psp) { in nvec_power_get_property() 240 enum power_supply_property psp, in nvec_battery_get_property() argument 245 switch (psp) { in nvec_battery_get_property()
|