/Linux-v5.10/include/linux/ |
D | power_supply.h | 96 enum power_supply_property { enum 238 const enum power_supply_property *properties; 248 enum power_supply_property psp, 251 enum power_supply_property psp, 259 enum power_supply_property psp); 349 * Its field names must correspond to elements in enum power_supply_property. 427 enum power_supply_property psp, 430 enum power_supply_property psp, 433 enum power_supply_property psp); 461 static inline bool power_supply_is_amp_property(enum power_supply_property psp) in power_supply_is_amp_property() [all …]
|
/Linux-v5.10/drivers/staging/greybus/ |
D | power_supply.c | 18 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.10/drivers/power/supply/ |
D | apm_power.c | 124 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()
|
D | wilco-charger.c | 80 static enum power_supply_property wilco_charge_props[] = { 87 enum power_supply_property psp, in wilco_charge_get_property() 124 enum power_supply_property psp, in wilco_charge_set_property() 154 enum power_supply_property psp) in wilco_charge_property_is_writeable()
|
D | generic-adc-battery.c | 69 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() 244 enum power_supply_property *properties; in gab_probe()
|
D | axp20x_ac_power.c | 62 enum power_supply_property psp, in axp20x_ac_power_get_property() 158 enum power_supply_property psp, in axp813_ac_power_set_property() 193 enum power_supply_property psp) in axp813_ac_power_prop_writeable() 200 static enum power_supply_property axp20x_ac_power_properties[] = { 208 static enum power_supply_property axp22x_ac_power_properties[] = { 214 static enum power_supply_property axp813_ac_power_properties[] = {
|
D | mp2629_charger.c | 105 static enum power_supply_property mp2629_charger_usb_props[] = { 114 static enum power_supply_property mp2629_charger_bat_props[] = { 221 enum power_supply_property psp, in mp2629_charger_battery_get_prop() 324 enum power_supply_property psp, in mp2629_charger_battery_set_prop() 348 enum power_supply_property psp, in mp2629_charger_usb_get_prop() 413 enum power_supply_property psp, in mp2629_charger_usb_set_prop() 431 enum power_supply_property psp) in mp2629_charger_battery_prop_writeable() 440 enum power_supply_property psp) in mp2629_charger_usb_prop_writeable()
|
D | lego_ev3_battery.c | 38 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[] = {
|
D | rn5t618_power.c | 51 static enum power_supply_property rn5t618_usb_props[] = { 56 static enum power_supply_property rn5t618_adp_props[] = { 62 static enum power_supply_property rn5t618_battery_props[] = { 292 enum power_supply_property psp, in rn5t618_battery_get_property() 340 enum power_supply_property psp, in rn5t618_adp_get_property() 376 enum power_supply_property psp, in rn5t618_usb_get_property()
|
D | goldfish_battery.c | 63 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[] = {
|
D | ipaq_micro_battery.c | 129 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[] = {
|
D | pmu_battery.c | 31 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[] = {
|
D | rt5033_battery.c | 36 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[] = {
|
D | sbs-battery.c | 92 enum power_supply_property psp; 154 static const enum power_supply_property sbs_properties[] = { 483 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health() 541 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health() 576 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property() 643 int reg_offset, enum power_supply_property psp, char *val) in sbs_get_battery_string_property() 656 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment() 733 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity() 776 enum power_supply_property psp) in sbs_get_property_index() 792 enum power_supply_property psp = POWER_SUPPLY_PROP_TECHNOLOGY; in sbs_get_chemistry() [all …]
|
D | qcom_smbb.c | 489 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[] = {
|
D | wm8350_power.c | 248 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[] = {
|
D | max8925_power.c | 194 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[] = {
|
D | bq27xxx_battery.c | 502 static enum power_supply_property bq27000_props[] = { 524 static enum power_supply_property bq27010_props[] = { 548 static enum power_supply_property bq27500_props[] = { 571 static enum power_supply_property bq27510g3_props[] = { 589 static enum power_supply_property bq27520g1_props[] = { 611 static enum power_supply_property bq27520g3_props[] = { 631 static enum power_supply_property bq27520g4_props[] = { 648 static enum power_supply_property bq27521_props[] = { 657 static enum power_supply_property bq27530_props[] = { 676 static enum power_supply_property bq27541_props[] = { [all …]
|
D | gpio-charger.c | 86 enum power_supply_property psp, union power_supply_propval *val) in gpio_charger_get_property() 111 enum power_supply_property psp, const union power_supply_propval *val) in gpio_charger_set_property() 126 enum power_supply_property psp) in gpio_charger_property_is_writeable() 245 static enum power_supply_property gpio_charger_properties[] = {
|
D | test_power.c | 42 enum power_supply_property psp, in test_power_get_ac_property() 56 enum power_supply_property psp, in test_power_get_usb_property() 70 enum power_supply_property psp, in test_power_get_battery_property() 134 static enum power_supply_property test_power_ac_props[] = { 138 static enum power_supply_property test_power_battery_props[] = {
|
D | s3c_adc_battery.c | 66 static enum power_supply_property s3c_adc_backup_bat_props[] = { 73 enum power_supply_property psp, in s3c_adc_backup_bat_get_property() 119 static enum power_supply_property s3c_adc_main_bat_props[] = { 141 enum power_supply_property psp, in s3c_adc_bat_get_property()
|
D | sbs-manager.c | 53 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()
|
D | sc2731_charger.c | 203 enum power_supply_property psp, in sc2731_charger_usb_set_property() 239 enum power_supply_property psp, in sc2731_charger_usb_get_property() 290 enum power_supply_property psp) in sc2731_charger_property_is_writeable() 307 static enum power_supply_property sc2731_usb_props[] = {
|
/Linux-v5.10/drivers/usb/misc/ |
D | apple-mfi-fastcharge.c | 92 enum power_supply_property psp, in apple_mfi_fc_get_property() 114 enum power_supply_property psp, in apple_mfi_fc_set_property() 143 enum power_supply_property psp) in apple_mfi_fc_property_is_writeable() 153 static enum power_supply_property apple_mfi_fc_properties[] = {
|
/Linux-v5.10/drivers/staging/nvec/ |
D | nvec_power.c | 223 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[] = {
|