Home
last modified time | relevance | path

Searched refs:power_supply_property (Results 1 - 25 of 247) sorted by relevance

12345678910

/kernel/linux/linux-5.10/include/linux/
H A Dpower_supply.h96 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.
417 enum power_supply_property psp,
428 enum power_supply_property psp,
431 enum power_supply_property psp,
434 enum power_supply_property ps
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpower_supply.h98 enum power_supply_property { enum
247 const enum power_supply_property *properties;
257 enum power_supply_property psp,
260 enum power_supply_property psp,
268 enum power_supply_property psp);
578 * Its field names must correspond to elements in enum power_supply_property.
795 extern const enum power_supply_property power_supply_battery_info_properties[];
802 enum power_supply_property psp);
804 enum power_supply_property psp,
825 enum power_supply_property ps
[all...]
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dapm_power.c124 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()
H A Dwilco-charger.c80 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()
H A Dlego_ev3_battery.c38 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[] = {
H A Dpmu_battery.c31 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[] = {
H A Dgeneric-adc-battery.c69 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()
148 enum power_supply_property psp, union power_supply_propval *val) in gab_get_property()
247 enum power_supply_property *properties; in gab_probe()
H A Daxp20x_ac_power.c62 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[] = {
H A Dmp2629_charger.c105 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()
H A Dsbs-battery.c92 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 ps in sbs_get_chemistry()
[all...]
H A Dipaq_micro_battery.c129 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[] = {
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dapm_power.c124 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()
H A Dwilco-charger.c80 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()
H A Drn5t618_power.c80 static enum power_supply_property rn5t618_usb_props[] = {
89 static enum power_supply_property rn5t618_adp_props[] = {
98 static enum power_supply_property rn5t618_battery_props[] = {
359 enum power_supply_property psp, in rn5t618_battery_get_property()
410 enum power_supply_property psp, in rn5t618_battery_set_property()
424 enum power_supply_property psp) in rn5t618_battery_property_is_writeable()
435 enum power_supply_property psp, in rn5t618_adp_get_property()
489 enum power_supply_property psp, in rn5t618_adp_set_property()
517 enum power_supply_property psp) in rn5t618_adp_property_is_writeable()
555 enum power_supply_property ps in rn5t618_usb_get_property()
[all...]
H A Dacer_a500_battery.c35 enum power_supply_property psp;
45 static const enum power_supply_property a500_battery_properties[] = {
96 enum power_supply_property psp, in a500_battery_unit_adjustment()
124 enum power_supply_property psp) in a500_battery_get_ec_data_index()
146 enum power_supply_property psp, in a500_battery_get_property()
H A Dpmu_battery.c31 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[] = {
H A Dlego_ev3_battery.c38 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[] = {
H A Daxp20x_ac_power.c61 enum power_supply_property psp, in axp20x_ac_power_get_property()
157 enum power_supply_property psp, in axp813_ac_power_set_property()
192 enum power_supply_property psp) in axp813_ac_power_prop_writeable()
199 static enum power_supply_property axp20x_ac_power_properties[] = {
207 static enum power_supply_property axp22x_ac_power_properties[] = {
213 static enum power_supply_property axp813_ac_power_properties[] = {
H A Dsbs-battery.c94 enum power_supply_property psp;
158 static const enum power_supply_property sbs_properties[] = {
196 static const enum power_supply_property string_properties[] = {
222 enum power_supply_property psp) in sbs_get_string_buf()
518 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health()
576 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
611 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
678 enum power_supply_property psp) in sbs_get_property_index()
693 enum power_supply_property psp) in sbs_get_constant_string()
719 enum power_supply_property ps in sbs_unit_adjustment()
[all...]
H A Dip5xxx_power.c170 static const enum power_supply_property ip5xxx_battery_properties[] = {
313 enum power_supply_property psp, in ip5xxx_battery_get_property()
431 enum power_supply_property psp, in ip5xxx_battery_set_property()
481 enum power_supply_property psp) in ip5xxx_battery_property_is_writeable()
499 static const enum power_supply_property ip5xxx_boost_properties[] = {
505 enum power_supply_property psp, in ip5xxx_boost_get_property()
540 enum power_supply_property psp, in ip5xxx_boost_set_property()
568 enum power_supply_property psp) in ip5xxx_boost_property_is_writeable()
H A Dmp2629_charger.c105 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()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dpower_supply.c18 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_ra in prop_append()
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dpower_supply.c18 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_ra in prop_append()
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dapple-mfi-fastcharge.c92 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[] = {
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dapple-mfi-fastcharge.c92 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[] = {

Completed in 20 milliseconds

12345678910