| /linux/drivers/usb/typec/ucsi/ |
| H A D | psy.c | 36 union power_supply_propval *val) in ucsi_psy_get_scope() 56 union power_supply_propval *val) in ucsi_psy_get_status() 79 union power_supply_propval *val) in ucsi_psy_get_online() 89 union power_supply_propval *val) in ucsi_psy_get_voltage_min() 112 union power_supply_propval *val) in ucsi_psy_get_voltage_max() 144 union power_supply_propval *val) in ucsi_psy_get_voltage_now() 173 union power_supply_propval *val) in ucsi_psy_get_current_max() 213 union power_supply_propval *val) in ucsi_psy_get_current_now() 241 union power_supply_propval *val) in ucsi_psy_get_usb_type() 251 static int ucsi_psy_get_charge_type(struct ucsi_connector *con, union power_supply_propval *val) in ucsi_psy_get_charge_type() [all …]
|
| /linux/drivers/power/supply/ |
| H A D | rn5t618_power.c | 156 union power_supply_propval *val) in rn5t618_battery_status() 176 union power_supply_propval *val) in rn5t618_battery_present() 195 union power_supply_propval *val) in rn5t618_battery_voltage_now() 210 union power_supply_propval *val) in rn5t618_battery_current_now() 226 union power_supply_propval *val) in rn5t618_battery_capacity() 241 union power_supply_propval *val) in rn5t618_battery_temp() 256 union power_supply_propval *val) in rn5t618_battery_tte() 274 union power_supply_propval *val) in rn5t618_battery_ttf() 292 const union power_supply_propval *val) in rn5t618_battery_set_current_limit() 306 union power_supply_propval *val) in rn5t618_battery_get_current_limit() [all …]
|
| H A D | mt6360_charger.c | 171 union power_supply_propval *val) in mt6360_charger_get_online() 184 union power_supply_propval *val) in mt6360_charger_get_status() 223 union power_supply_propval *val) in mt6360_charger_get_charge_type() 254 union power_supply_propval *val) in mt6360_charger_get_ichg() 270 union power_supply_propval *val) in mt6360_charger_get_max_ichg() 277 union power_supply_propval *val) in mt6360_charger_get_cv() 293 union power_supply_propval *val) in mt6360_charger_get_max_cv() 300 union power_supply_propval *val) in mt6360_charger_get_aicr() 316 union power_supply_propval *val) in mt6360_charger_get_mivr() 332 union power_supply_propval *val) in mt6360_charger_get_iprechg() [all …]
|
| H A D | ltc4162-l-charger.c | 102 union power_supply_propval *val); 104 union power_supply_propval *val); 108 union power_supply_propval *val); 178 union power_supply_propval *val) in ltc4162l_get_status() 208 union power_supply_propval *val) in ltc4162l_get_charge_type() 241 union power_supply_propval *val) in ltc4162l_get_health() 256 union power_supply_propval *val) in ltc4162l_get_online() 273 union power_supply_propval *val) in ltc4162l_get_vbat() 313 union power_supply_propval *val) in ltc4015_get_vbat() 349 union power_supply_propval *val) in ltc4162l_get_ibat() [all …]
|
| H A D | da9150-charger.c | 44 union power_supply_propval *val) in da9150_charger_supply_online() 53 union power_supply_propval *val) in da9150_charger_vbus_voltage_now() 69 union power_supply_propval *val) in da9150_charger_ibus_current_avg() 85 union power_supply_propval *val) in da9150_charger_tjunc_temp() 109 union power_supply_propval *val) in da9150_charger_get_prop() 137 union power_supply_propval *val) in da9150_charger_battery_status() 180 union power_supply_propval *val) in da9150_charger_battery_health() 216 union power_supply_propval *val) in da9150_charger_battery_present() 231 union power_supply_propval *val) in da9150_charger_battery_charge_type() 255 union power_supply_propval *val) in da9150_charger_battery_voltage_min() [all …]
|
| H A D | adp5061.c | 176 union power_supply_propval *val) in adp5061_get_input_current_limit() 226 union power_supply_propval *val) in adp5061_get_min_voltage() 242 union power_supply_propval *val) in adp5061_get_chg_volt_lim() 258 union power_supply_propval *val) in adp5061_get_max_voltage() 336 union power_supply_propval *val) in adp5061_get_const_chg_current() 355 union power_supply_propval *val) in adp5061_get_prechg_current() 388 union power_supply_propval *val) in adp5061_get_vweak_th() 421 union power_supply_propval *val) in adp5061_get_chg_type() 440 union power_supply_propval *val) in adp5061_get_charger_status() 473 union power_supply_propval *val) in adp5061_get_battery_status() [all …]
|
| H A D | olpc_battery.c | 66 union power_supply_propval *val) in olpc_ac_get_prop() 99 union power_supply_propval *val, uint8_t ec_byte) in olpc_bat_get_status() 123 static int olpc_bat_get_health(union power_supply_propval *val) in olpc_bat_get_health() 160 static int olpc_bat_get_mfr(union power_supply_propval *val) in olpc_bat_get_mfr() 185 static int olpc_bat_get_tech(union power_supply_propval *val) in olpc_bat_get_tech() 210 static int olpc_bat_get_charge_full_design(union power_supply_propval *val) in olpc_bat_get_charge_full_design() 213 union power_supply_propval tech; in olpc_bat_get_charge_full_design() 256 static int olpc_bat_get_charge_now(union power_supply_propval *val) in olpc_bat_get_charge_now() 259 union power_supply_propval full; in olpc_bat_get_charge_now() 274 static int olpc_bat_get_voltage_max_design(union power_supply_propval *val) in olpc_bat_get_voltage_max_design() [all …]
|
| H A D | apm_power.c | 40 union power_supply_propval full; 119 union power_supply_propval full; in do_calculate_time() 120 union power_supply_propval empty; in do_calculate_time() 121 union power_supply_propval cur; in do_calculate_time() 122 union power_supply_propval I; in do_calculate_time() 217 union power_supply_propval empty, full, cur; in calculate_capacity() 284 union power_supply_propval status; in apm_battery_apm_get_power_status() 285 union power_supply_propval capacity, time_to_full, time_to_empty; in apm_battery_apm_get_power_status()
|
| H A D | bq24190_charger.c | 262 const union power_supply_propval *val); 545 union power_supply_propval val = { .intval = bdi->charge_type }; in bq24190_set_otg_vbus() 570 union power_supply_propval val = { .intval = bdi->charge_type }; in bq24296_set_otg_vbus() 877 union power_supply_propval *val) in bq24190_charger_get_charge_type() 928 const union power_supply_propval *val) in bq24190_charger_set_charge_type() 1032 union power_supply_propval *val) in bq24190_charger_get_health() 1084 union power_supply_propval *val) in bq24190_charger_get_online() 1107 const union power_supply_propval *val); 1109 union power_supply_propval *val); 1111 union power_supply_propval *val); [all …]
|
| H A D | lp8788-charger.c | 145 union power_supply_propval *val) in lp8788_charger_get_property() 167 union power_supply_propval *val) in lp8788_get_battery_status() 200 union power_supply_propval *val) in lp8788_get_battery_health() 220 union power_supply_propval *val) in lp8788_get_battery_present() 244 union power_supply_propval *val) in lp8788_get_battery_voltage() 250 union power_supply_propval *val) in lp8788_get_battery_capacity() 288 union power_supply_propval *val) in lp8788_get_battery_temperature() 308 union power_supply_propval *val) in lp8788_get_battery_charging_current() 321 union power_supply_propval *val) in lp8788_get_charging_termination_voltage() 334 union power_supply_propval *val) in lp8788_battery_get_property()
|
| H A D | mp2629_charger.c | 149 union power_supply_propval *val) in mp2629_read_adc() 165 union power_supply_propval *val) in mp2629_get_prop() 181 const union power_supply_propval *val) in mp2629_set_prop() 193 union power_supply_propval *val) in mp2629_get_battery_capacity() 195 union power_supply_propval vnow, vlim; in mp2629_get_battery_capacity() 214 union power_supply_propval *val) in mp2629_charger_battery_get_prop() 317 const union power_supply_propval *val) in mp2629_charger_battery_set_prop() 341 union power_supply_propval *val) in mp2629_charger_usb_get_prop() 406 const union power_supply_propval *val) in mp2629_charger_usb_set_prop()
|
| H A D | da9150-fg.c | 224 union power_supply_propval *val) in da9150_fg_capacity() 236 union power_supply_propval *val) in da9150_fg_current_avg() 261 union power_supply_propval *val) in da9150_fg_voltage_avg() 276 union power_supply_propval *val) in da9150_fg_charge_full() 291 union power_supply_propval *val) in da9150_fg_temp() 311 union power_supply_propval *val) in da9150_fg_get_prop() 343 union power_supply_propval val; in da9150_fg_soc_changed()
|
| H A D | ucs1002_power.c | 123 union power_supply_propval *val) in ucs1002_get_online() 138 union power_supply_propval *val) in ucs1002_get_charge() 200 union power_supply_propval *val) in ucs1002_get_current() 236 union power_supply_propval *val) in ucs1002_get_max_current() 330 union power_supply_propval *val) in ucs1002_get_usb_type() 365 union power_supply_propval *val) in ucs1002_get_property() 396 const union power_supply_propval *val) in ucs1002_set_property()
|
| H A D | bq27xxx_battery.c | 1592 union power_supply_propval *val) 1618 union power_supply_propval *val) 1628 union power_supply_propval *val) 1638 union power_supply_propval *val) 1648 union power_supply_propval *val) 1686 union power_supply_propval *val) 1711 union power_supply_propval *val) 1737 union power_supply_propval *val) 1755 union power_supply_propval *val) 1824 union power_supply_propval *val) [all …]
|
| H A D | sbs-battery.c | 520 union power_supply_propval *val) in sbs_get_ti_battery_presence_and_health() 578 union power_supply_propval *val) in sbs_get_battery_presence_and_health() 613 union power_supply_propval *val) in sbs_get_battery_property() 720 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment() 799 union power_supply_propval *val) in sbs_get_battery_capacity() 826 union power_supply_propval *val) in sbs_get_battery_serial_number() 841 union power_supply_propval *val) in sbs_get_chemistry() 876 union power_supply_propval *val) in sbs_get_battery_manufacture_date() 908 union power_supply_propval *val) in sbs_get_property() 1014 union power_supply_propval val; in sbs_get_property() [all …]
|
| H A D | mt6370-charger.c | 397 union power_supply_propval val; in mt6370_chg_pwr_rdy_check() 426 union power_supply_propval *val) in mt6370_chg_get_online() 436 union power_supply_propval *val) in mt6370_chg_get_status() 440 union power_supply_propval online; in mt6370_chg_get_status() 476 union power_supply_propval *val) in mt6370_chg_get_charge_type() 510 const union power_supply_propval *val) in mt6370_chg_set_online() 532 union power_supply_propval *val) in mt6370_chg_get_property() 571 const union power_supply_propval *val) in mt6370_chg_set_property()
|
| H A D | test_power.c | 48 union power_supply_propval *val) in test_power_get_ac_property() 62 union power_supply_propval *val) in test_power_get_usb_property() 76 union power_supply_propval *val) in test_power_get_battery_property() 153 const union power_supply_propval *val) in test_power_set_battery_property() 271 union power_supply_propval *val) in test_power_battery_extget_property() 293 const union power_supply_propval *val) in test_power_battery_extset_property()
|
| H A D | power_supply_core.c | 344 union power_supply_propval ret = {0,}; in __power_supply_am_i_supplied() 375 union power_supply_propval ret = {0,}; in __power_supply_is_system_supplied() 412 union power_supply_propval *val; 428 union power_supply_propval *val) in power_supply_get_property_from_supplier() 923 union power_supply_propval *val) in power_supply_battery_info_get_prop() 1245 union power_supply_propval *val, bool use_extensions) in __power_supply_get_property() 1275 union power_supply_propval *val) in power_supply_get_property() 1295 union power_supply_propval *val) in power_supply_get_property_direct() 1303 const union power_supply_propval *val, bool use_extensions) in __power_supply_set_property() 1332 const union power_supply_propval *val) in power_supply_set_property() [all …]
|
| H A D | wilco-charger.c | 88 union power_supply_propval *val) in wilco_charge_get_property() 125 const union power_supply_propval *val) in wilco_charge_set_property()
|
| H A D | rt9455_charger.c | 354 union power_supply_propval *val) in rt9455_charger_get_status() 406 union power_supply_propval *val) in rt9455_charger_get_health() 486 union power_supply_propval *val) in rt9455_charger_get_battery_presence() 507 union power_supply_propval *val) in rt9455_charger_get_online() 524 union power_supply_propval *val) in rt9455_charger_get_current() 544 union power_supply_propval *val) in rt9455_charger_get_current_max() 554 union power_supply_propval *val) in rt9455_charger_get_voltage() 574 union power_supply_propval *val) in rt9455_charger_get_voltage_max() 584 union power_supply_propval *val) in rt9455_charger_get_term_current() 614 union power_supply_propval *val) in rt9455_charger_get_property()
|
| H A D | wm831x_backup.c | 28 union power_supply_propval *val) in wm831x_backup_read_voltage() 114 union power_supply_propval *val) in wm831x_backup_get_prop()
|
| H A D | rt5033_battery.c | 25 union power_supply_propval val; in rt5033_battery_get_status() 92 union power_supply_propval *val) in rt5033_battery_get_property()
|
| H A D | wm831x_power.c | 37 union power_supply_propval *val) in wm831x_power_check_online() 55 union power_supply_propval *val) in wm831x_power_read_voltage() 71 union power_supply_propval *val) in wm831x_wall_get_prop() 102 union power_supply_propval *val) in wm831x_usb_get_prop() 440 union power_supply_propval *val) in wm831x_bat_get_prop()
|
| /linux/include/linux/ |
| H A D | power_supply.h | 227 union power_supply_propval { union 269 union power_supply_propval *val); 272 const union power_supply_propval *val); 303 union power_supply_propval *val); 308 const union power_supply_propval *val); 827 union power_supply_propval *val); 848 union power_supply_propval *val); 882 union power_supply_propval *val); 884 union power_supply_propval *val); 888 const union power_supply_propval *val); [all …]
|
| /linux/drivers/usb/misc/ |
| H A D | apple-mfi-fastcharge.c | 52 const union power_supply_propval *val) in apple_mfi_fc_set_charge_type() 94 union power_supply_propval *val) in apple_mfi_fc_get_property() 116 const union power_supply_propval *val) in apple_mfi_fc_set_property()
|