/drivers/power/ |
D | sbs-battery.c | 76 .psp = _psp, \ 83 enum power_supply_property psp; member 297 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health() argument 303 if (psp == POWER_SUPPLY_PROP_PRESENT && in sbs_get_battery_presence_and_health() 320 if (psp == POWER_SUPPLY_PROP_PRESENT) in sbs_get_battery_presence_and_health() 340 if (psp == POWER_SUPPLY_PROP_PRESENT) { in sbs_get_battery_presence_and_health() 346 } else if (psp == POWER_SUPPLY_PROP_HEALTH) { in sbs_get_battery_presence_and_health() 361 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property() argument 378 if (psp != POWER_SUPPLY_PROP_STATUS) in sbs_get_battery_property() 398 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 | bq24190_charger.c | 808 enum power_supply_property psp, union power_supply_propval *val) in bq24190_charger_get_property() argument 814 dev_dbg(bdi->dev, "prop: %d\n", psp); in bq24190_charger_get_property() 818 switch (psp) { in bq24190_charger_get_property() 861 enum power_supply_property psp, in bq24190_charger_set_property() argument 868 dev_dbg(bdi->dev, "prop: %d\n", psp); in bq24190_charger_set_property() 872 switch (psp) { in bq24190_charger_set_property() 891 enum power_supply_property psp) in bq24190_charger_property_is_writeable() argument 895 switch (psp) { in bq24190_charger_property_is_writeable() 1103 enum power_supply_property psp, union power_supply_propval *val) in bq24190_battery_get_property() argument 1109 dev_dbg(bdi->dev, "prop: %d\n", psp); in bq24190_battery_get_property() [all …]
|
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 | 71 enum power_supply_property psp, in goldfish_ac_get_property() argument 78 switch (psp) { in goldfish_ac_get_property() 97 enum power_supply_property psp, in goldfish_battery_get_property() argument 104 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 | ipaq_micro_battery.c | 132 enum power_supply_property psp, in micro_batt_get_property() argument 137 switch (psp) { in micro_batt_get_property() 180 enum power_supply_property psp, in micro_ac_get_property() argument 185 switch (psp) { in micro_ac_get_property()
|
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 | 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 | 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 | gpio-charger.c | 51 enum power_supply_property psp, union power_supply_propval *val) in gpio_charger_get_property() argument 56 switch (psp) { in gpio_charger_get_property()
|
D | rx51_battery.c | 161 enum power_supply_property psp, in rx51_battery_get_property() argument 167 switch (psp) { in rx51_battery_get_property()
|
D | twl4030_madc_battery.c | 113 enum power_supply_property psp, in twl4030_madc_bat_get_property() argument 119 switch (psp) { in twl4030_madc_bat_get_property()
|
/drivers/staging/nvec/ |
D | nvec_power.c | 225 enum power_supply_property psp, in nvec_power_get_property() argument 230 switch (psp) { in nvec_power_get_property() 241 enum power_supply_property psp, in nvec_battery_get_property() argument 246 switch (psp) { in nvec_battery_get_property()
|
/drivers/acpi/ |
D | sbs.c | 153 enum power_supply_property psp, in sbs_get_ac_property() argument 157 switch (psp) { in sbs_get_ac_property() 181 enum power_supply_property psp, in acpi_sbs_battery_get_property() argument 186 if ((!battery->present) && psp != POWER_SUPPLY_PROP_PRESENT) in acpi_sbs_battery_get_property() 190 switch (psp) { in acpi_sbs_battery_get_property()
|