Home
last modified time | relevance | path

Searched refs:num_properties (Results 1 – 70 of 70) sorted by relevance

/linux-4.1.27/drivers/power/
Dpmu_battery.c57 .num_properties = ARRAY_SIZE(pmu_ac_props),
174 pbat->bat_desc.num_properties = ARRAY_SIZE(pmu_bat_props); in pmu_bat_init()
Dltc2941-battery-gauge.c453 info->supply_desc.num_properties = in ltc294x_i2c_probe()
456 info->supply_desc.num_properties = in ltc294x_i2c_probe()
459 info->supply_desc.num_properties = in ltc294x_i2c_probe()
462 info->supply_desc.num_properties = in ltc294x_i2c_probe()
Dcharger-manager.c1047 .num_properties = ARRAY_SIZE(default_charger_props),
1456 cm->charger_psy_desc.properties[cm->charger_psy_desc.num_properties] = in cm_init_thermal_data()
1458 cm->charger_psy_desc.num_properties++; in cm_init_thermal_data()
1469 cm->charger_psy_desc.properties[cm->charger_psy_desc.num_properties] = in cm_init_thermal_data()
1471 cm->charger_psy_desc.num_properties++; in cm_init_thermal_data()
1739 cm->charger_psy_desc.num_properties = psy_default.num_properties; in charger_manager_probe()
1750 cm->charger_psy_desc.properties[cm->charger_psy_desc.num_properties] = in charger_manager_probe()
1752 cm->charger_psy_desc.num_properties++; in charger_manager_probe()
1757 cm->charger_psy_desc.properties[cm->charger_psy_desc.num_properties] = in charger_manager_probe()
1759 cm->charger_psy_desc.num_properties++; in charger_manager_probe()
Dgoldfish_battery.c150 .num_properties = ARRAY_SIZE(goldfish_battery_props),
158 .num_properties = ARRAY_SIZE(goldfish_ac_props),
Dtosa_battery.c229 .num_properties = ARRAY_SIZE(tosa_bat_main_props),
239 .num_properties = ARRAY_SIZE(tosa_bat_main_props),
248 .num_properties = ARRAY_SIZE(tosa_bat_bu_props),
Dtest_power.c163 .num_properties = ARRAY_SIZE(test_power_ac_props),
170 .num_properties = ARRAY_SIZE(test_power_battery_props),
177 .num_properties = ARRAY_SIZE(test_power_ac_props),
Dipaq_micro_battery.c209 .num_properties = ARRAY_SIZE(micro_batt_power_props),
222 .num_properties = ARRAY_SIZE(micro_ac_power_props),
Dpcf50633-charger.c372 .num_properties = ARRAY_SIZE(power_props),
380 .num_properties = ARRAY_SIZE(power_props),
388 .num_properties = ARRAY_SIZE(power_props),
Dwm8350_power.c389 .num_properties = ARRAY_SIZE(wm8350_ac_props),
396 .num_properties = ARRAY_SIZE(wm8350_bat_props),
405 .num_properties = ARRAY_SIZE(wm8350_usb_props),
Dmax8925_power.c354 .num_properties = ARRAY_SIZE(max8925_ac_props),
362 .num_properties = ARRAY_SIZE(max8925_usb_props),
370 .num_properties = ARRAY_SIZE(max8925_battery_props),
Dolpc_battery.c88 .num_properties = ARRAY_SIZE(olpc_ac_props),
632 olpc_bat_desc.num_properties = ARRAY_SIZE(olpc_xo15_bat_props); in olpc_battery_probe()
635 olpc_bat_desc.num_properties = ARRAY_SIZE(olpc_xo1_bat_props); in olpc_battery_probe()
Dpower_supply_sysfs.c221 for (i = 0; i < psy->desc->num_properties; i++) { in power_supply_attr_is_visible()
297 for (j = 0; j < psy->desc->num_properties; j++) { in power_supply_uevent()
Dlp8727_charger.c425 .num_properties = ARRAY_SIZE(lp8727_charger_prop),
433 .num_properties = ARRAY_SIZE(lp8727_charger_prop),
441 .num_properties = ARRAY_SIZE(lp8727_battery_prop),
Dcollie_battery.c227 .num_properties = ARRAY_SIZE(collie_bat_main_props),
258 .num_properties = ARRAY_SIZE(collie_bat_bu_props),
Dwm831x_power.c533 power->wall_desc.num_properties = ARRAY_SIZE(wm831x_wall_props); in wm831x_power_probe()
545 power->usb_desc.num_properties = ARRAY_SIZE(wm831x_usb_props); in wm831x_power_probe()
561 power->battery_desc.num_properties = ARRAY_SIZE(wm831x_bat_props); in wm831x_power_probe()
Dpda_power.c88 .num_properties = ARRAY_SIZE(pda_power_props),
96 .num_properties = ARRAY_SIZE(pda_power_props),
Dbq27x00_battery.c782 psy_desc->num_properties = ARRAY_SIZE(bq27425_battery_props); in bq27x00_powersupply_init()
785 psy_desc->num_properties = ARRAY_SIZE(bq27742_battery_props); in bq27x00_powersupply_init()
788 psy_desc->num_properties = ARRAY_SIZE(bq27510_battery_props); in bq27x00_powersupply_init()
791 psy_desc->num_properties = ARRAY_SIZE(bq27x00_battery_props); in bq27x00_powersupply_init()
Dmax8997_charger.c93 .num_properties = ARRAY_SIZE(max8997_battery_props),
Dmax8998_charger.c82 .num_properties = ARRAY_SIZE(max8998_battery_props),
Drt5033_battery.c115 .num_properties = ARRAY_SIZE(rt5033_battery_props),
Ds3c_adc_battery.c112 .num_properties = ARRAY_SIZE(s3c_adc_backup_bat_props),
239 .num_properties = ARRAY_SIZE(s3c_adc_main_bat_props),
Dwm831x_backup.c195 devdata->backup_desc.num_properties = ARRAY_SIZE(wm831x_backup_props); in wm831x_backup_probe()
Dintel_mid_battery.c648 .num_properties = ARRAY_SIZE(pmic_usb_props),
656 .num_properties = ARRAY_SIZE(pmic_battery_props),
Drx51_battery.c221 di->bat_desc.num_properties = ARRAY_SIZE(rx51_battery_props); in rx51_battery_probe()
Dda9150-charger.c506 .num_properties = ARRAY_SIZE(da9150_charger_props),
514 .num_properties = ARRAY_SIZE(da9150_charger_bat_props),
Dsmb347-charger.c1194 .num_properties = ARRAY_SIZE(smb347_mains_properties),
1202 .num_properties = ARRAY_SIZE(smb347_usb_properties),
1210 .num_properties = ARRAY_SIZE(smb347_battery_properties),
Dtwl4030_charger.c565 .num_properties = ARRAY_SIZE(twl4030_charger_props),
573 .num_properties = ARRAY_SIZE(twl4030_charger_props),
Dtwl4030_madc_battery.c180 .num_properties = ARRAY_SIZE(twl4030_madc_bat_props),
Dwm97xx_battery.c246 bat_psy_desc.num_properties = props; in wm97xx_bat_probe()
Dmax17040_battery.c206 .num_properties = ARRAY_SIZE(max17040_battery_props),
Dgpio-charger.c164 charger_desc->num_properties = ARRAY_SIZE(gpio_charger_properties); in gpio_charger_probe()
Dpower_supply_core.c550 for (i = 0; i < psy->desc->num_properties; i++) { in psy_register_thermal()
626 for (i = 0; i < psy->desc->num_properties; i++) { in psy_register_cooler()
Dlp8788-charger.c404 .num_properties = ARRAY_SIZE(lp8788_charger_prop),
412 .num_properties = ARRAY_SIZE(lp8788_battery_prop),
Dz2_battery.c175 charger->batt_ps_desc.num_properties = props; in z2_batt_ps_init()
Dtps65090-charger.c236 .num_properties = ARRAY_SIZE(tps65090_ac_props),
Dbq24735-charger.c285 supply_desc->num_properties = ARRAY_SIZE(bq24735_charger_properties); in bq24735_charger_probe()
Dmax8903_charger.c290 data->psy_desc.num_properties = ARRAY_SIZE(max8903_charger_props); in max8903_probe()
Dmax17042_battery.c669 .num_properties = ARRAY_SIZE(max17042_battery_props),
677 .num_properties = ARRAY_SIZE(max17042_battery_props) - 2,
Dgeneric-adc-battery.c317 psy_desc->num_properties = ARRAY_SIZE(gab_props) + index; in gab_probe()
Djz4740-battery.c280 battery_desc->num_properties = ARRAY_SIZE(jz_battery_properties); in jz_battery_probe()
Dds2782_battery.c314 battery->num_properties = ARRAY_SIZE(ds278x_battery_props); in ds278x_power_supply_init()
Dab8500_btemp.c932 for (j = 0; j < ext->desc->num_properties; j++) { in ab8500_btemp_get_ext_psy_data()
1056 .num_properties = ARRAY_SIZE(ab8500_btemp_props),
Disp1704_charger.c461 isp->psy_desc.num_properties = ARRAY_SIZE(power_props); in isp1704_charger_probe()
Dmax14577_charger.c461 .num_properties = ARRAY_SIZE(max14577_charger_props),
Dda9052-battery.c567 .num_properties = ARRAY_SIZE(da9052_bat_props),
Dmax77693_charger.c260 .num_properties = ARRAY_SIZE(max77693_charger_props),
Dda9030_battery.c459 psy_desc->num_properties = ARRAY_SIZE(da9030_battery_props); in da9030_battery_setup_psy()
Dds2760_battery.c527 di->bat_desc.num_properties = ARRAY_SIZE(ds2760_battery_props); in ds2760_battery_probe()
Dbq24190_charger.c925 .num_properties = ARRAY_SIZE(bq24190_charger_properties),
1191 .num_properties = ARRAY_SIZE(bq24190_battery_properties),
D88pm860x_charger.c662 .num_properties = ARRAY_SIZE(pm860x_usb_props),
Dds2780_battery.c778 dev_info->bat_desc.num_properties = ARRAY_SIZE(ds2780_battery_props); in ds2780_battery_probe()
Dds2781_battery.c771 dev_info->bat_desc.num_properties = ARRAY_SIZE(ds2781_battery_props); in ds2781_battery_probe()
Dsbs-battery.c799 .num_properties = ARRAY_SIZE(sbs_properties),
Dabx500_chargalg.c1007 for (j = 0; j < ext->desc->num_properties; j++) { in abx500_chargalg_get_ext_psy_data()
2047 .num_properties = ARRAY_SIZE(abx500_chargalg_props),
Dab8500_charger.c1956 for (j = 0; j < ext->desc->num_properties; j++) { in ab8500_charger_get_ext_psy_data()
3449 .num_properties = ARRAY_SIZE(ab8500_charger_ac_props),
3457 .num_properties = ARRAY_SIZE(ab8500_charger_usb_props),
D88pm860x_battery.c907 .num_properties = ARRAY_SIZE(pm860x_batt_props),
Dpm2301_charger.c1049 pm2->ac_chg_desc.num_properties = ARRAY_SIZE(pm2xxx_charger_ac_props); in pm2xxx_wall_charger_probe()
Daxp288_fuel_gauge.c860 .num_properties = ARRAY_SIZE(fuel_gauge_props),
Dab8500_fg.c2194 for (j = 0; j < ext->desc->num_properties; j++) { in ab8500_fg_get_ext_psy_data()
3046 .num_properties = ARRAY_SIZE(ab8500_fg_props),
Dbq2415x_charger.c1032 bq->charger_desc.num_properties = in bq2415x_power_supply_init()
/linux-4.1.27/drivers/staging/nvec/
Dnvec_power.c330 .num_properties = ARRAY_SIZE(nvec_battery_props),
338 .num_properties = ARRAY_SIZE(nvec_power_props),
/linux-4.1.27/drivers/acpi/
Dsbs.c311 .num_properties = ARRAY_SIZE(sbs_ac_props),
544 battery->bat_desc.num_properties = in acpi_battery_add()
548 battery->bat_desc.num_properties = in acpi_battery_add()
Dac.c356 ac->charger_desc.num_properties = ARRAY_SIZE(ac_props); in acpi_ac_add()
Dbattery.c616 battery->bat_desc.num_properties = in sysfs_add_battery()
620 battery->bat_desc.num_properties = in sysfs_add_battery()
/linux-4.1.27/include/linux/
Dpower_supply.h195 size_t num_properties; member
/linux-4.1.27/drivers/platform/x86/
Dcompal-laptop.c881 .num_properties = ARRAY_SIZE(compal_bat_properties),
/linux-4.1.27/drivers/hid/
Dwacom_sys.c1032 bat_desc->num_properties = ARRAY_SIZE(wacom_battery_props); in wacom_initialize_battery()
1040 ac_desc->num_properties = ARRAY_SIZE(wacom_ac_props); in wacom_initialize_battery()
Dhid-sony.c1735 sc->battery_desc.num_properties = ARRAY_SIZE(sony_battery_props); in sony_battery_probe()
Dhid-input.c423 psy_desc->num_properties = ARRAY_SIZE(hidinput_battery_props); in hidinput_setup_battery()
Dhid-wiimote-modules.c244 wdata->battery_desc.num_properties = ARRAY_SIZE(wiimod_battery_props); in wiimod_battery_probe()