/drivers/power/supply/ |
D | gpio-charger.c | 131 struct power_supply_config psy_cfg = {}; in gpio_charger_probe() local 167 psy_cfg.supplied_to = pdata->supplied_to; in gpio_charger_probe() 168 psy_cfg.num_supplicants = pdata->num_supplicants; in gpio_charger_probe() 169 psy_cfg.of_node = pdev->dev.of_node; in gpio_charger_probe() 170 psy_cfg.drv_data = gpio_charger; in gpio_charger_probe() 186 charger_desc, &psy_cfg); in gpio_charger_probe()
|
D | tps65090-charger.c | 243 struct power_supply_config psy_cfg = {}; in tps65090_charger_probe() local 270 psy_cfg.supplied_to = pdata->supplied_to; in tps65090_charger_probe() 271 psy_cfg.num_supplicants = pdata->num_supplicants; in tps65090_charger_probe() 272 psy_cfg.of_node = pdev->dev.of_node; in tps65090_charger_probe() 273 psy_cfg.drv_data = cdata; in tps65090_charger_probe() 276 &psy_cfg); in tps65090_charger_probe()
|
D | pda_power.c | 266 struct power_supply_config psy_cfg = {}; in pda_power_probe() local 314 psy_cfg.supplied_to = pdata->supplied_to; in pda_power_probe() 315 psy_cfg.num_supplicants = pdata->num_supplicants; in pda_power_probe() 317 psy_cfg.supplied_to = pda_power_supplied_to; in pda_power_probe() 318 psy_cfg.num_supplicants = ARRAY_SIZE(pda_power_supplied_to); in pda_power_probe() 333 &pda_psy_ac_desc, &psy_cfg); in pda_power_probe() 357 &psy_cfg); in pda_power_probe()
|
D | pcf50633-charger.c | 394 struct power_supply_config psy_cfg = {}; in pcf50633_mbc_probe() local 412 psy_cfg.supplied_to = mbc->pcf->pdata->batteries; in pcf50633_mbc_probe() 413 psy_cfg.num_supplicants = mbc->pcf->pdata->num_batteries; in pcf50633_mbc_probe() 414 psy_cfg.drv_data = mbc; in pcf50633_mbc_probe() 419 &psy_cfg); in pcf50633_mbc_probe() 427 &psy_cfg); in pcf50633_mbc_probe() 436 &psy_cfg); in pcf50633_mbc_probe()
|
D | bq24735-charger.c | 339 struct power_supply_config psy_cfg = {}; in bq24735_charger_probe() local 382 psy_cfg.supplied_to = charger->pdata->supplied_to; in bq24735_charger_probe() 383 psy_cfg.num_supplicants = charger->pdata->num_supplicants; in bq24735_charger_probe() 384 psy_cfg.of_node = client->dev.of_node; in bq24735_charger_probe() 385 psy_cfg.drv_data = charger; in bq24735_charger_probe() 437 &psy_cfg); in bq24735_charger_probe()
|
D | goldfish_battery.c | 170 struct power_supply_config psy_cfg = {}; in goldfish_battery_probe() local 201 psy_cfg.drv_data = data; in goldfish_battery_probe() 203 data->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in goldfish_battery_probe() 208 &psy_cfg); in goldfish_battery_probe()
|
D | axp20x_usb_power.c | 195 struct power_supply_config psy_cfg = {}; in axp20x_usb_power_probe() local 248 psy_cfg.of_node = pdev->dev.of_node; in axp20x_usb_power_probe() 249 psy_cfg.drv_data = power; in axp20x_usb_power_probe() 252 &psy_cfg); in axp20x_usb_power_probe()
|
D | max8998_charger.c | 89 struct power_supply_config psy_cfg = {}; in max8998_battery_probe() local 169 psy_cfg.drv_data = max8998; in max8998_battery_probe() 173 &psy_cfg); in max8998_battery_probe()
|
D | rt5033_battery.c | 122 struct power_supply_config psy_cfg = {}; in rt5033_battery_probe() local 142 psy_cfg.drv_data = battery; in rt5033_battery_probe() 145 &rt5033_battery_desc, &psy_cfg); in rt5033_battery_probe()
|
D | max8997_charger.c | 102 struct power_supply_config psy_cfg = {}; in max8997_battery_probe() local 162 psy_cfg.drv_data = charger; in max8997_battery_probe() 166 &psy_cfg); in max8997_battery_probe()
|
D | pmu_battery.c | 165 struct power_supply_config psy_cfg = {}; in pmu_bat_init() local 177 psy_cfg.drv_data = pbat; in pmu_bat_init() 181 &psy_cfg); in pmu_bat_init()
|
D | rx51_battery.c | 207 struct power_supply_config psy_cfg = {}; in rx51_battery_probe() local 224 psy_cfg.drv_data = di; in rx51_battery_probe() 244 di->bat = power_supply_register(di->dev, &di->bat_desc, &psy_cfg); in rx51_battery_probe()
|
D | max8925_power.c | 509 struct power_supply_config psy_cfg = {}; /* Only for ac and usb */ in max8925_power_probe() local 530 psy_cfg.supplied_to = pdata->supplied_to; in max8925_power_probe() 531 psy_cfg.num_supplicants = pdata->num_supplicants; in max8925_power_probe() 533 info->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in max8925_power_probe() 540 info->usb = power_supply_register(&pdev->dev, &usb_desc, &psy_cfg); in max8925_power_probe()
|
D | twl4030_madc_battery.c | 196 struct power_supply_config psy_cfg = {}; in twl4030_madc_battery_probe() local 232 psy_cfg.drv_data = twl4030_madc_bat; in twl4030_madc_battery_probe() 235 &psy_cfg); in twl4030_madc_battery_probe()
|
D | lp8727_charger.c | 448 struct power_supply_config psy_cfg = {}; /* Only for ac and usb */ in lp8727_register_psy() local 457 psy_cfg.supplied_to = battery_supplied_to; in lp8727_register_psy() 458 psy_cfg.num_supplicants = ARRAY_SIZE(battery_supplied_to); in lp8727_register_psy() 460 psy->ac = power_supply_register(pchg->dev, &lp8727_ac_desc, &psy_cfg); in lp8727_register_psy() 465 &psy_cfg); in lp8727_register_psy()
|
D | max17040_battery.c | 213 struct power_supply_config psy_cfg = {}; in max17040_probe() local 227 psy_cfg.drv_data = chip; in max17040_probe() 230 &max17040_battery_desc, &psy_cfg); in max17040_probe()
|
D | max8903_charger.c | 352 struct power_supply_config psy_cfg = {}; in max8903_probe() local 389 psy_cfg.of_node = dev->of_node; in max8903_probe() 390 psy_cfg.drv_data = data; in max8903_probe() 392 data->psy = devm_power_supply_register(dev, &data->psy_desc, &psy_cfg); in max8903_probe()
|
D | z2_battery.c | 192 struct power_supply_config psy_cfg = {}; in z2_batt_probe() local 209 psy_cfg.drv_data = charger; in z2_batt_probe() 239 &psy_cfg); in z2_batt_probe()
|
D | intel_mid_battery.c | 673 struct power_supply_config psy_cfg = {}; in probe() local 687 psy_cfg.drv_data = pbi; in probe() 708 pbi->batt = power_supply_register(dev, &pmic_usb_desc, &psy_cfg); in probe() 724 pbi->usb = power_supply_register(dev, &pmic_batt_desc, &psy_cfg); in probe()
|
D | 88pm860x_charger.c | 669 struct power_supply_config psy_cfg = {}; in pm860x_charger_probe() local 707 psy_cfg.drv_data = info; in pm860x_charger_probe() 708 psy_cfg.supplied_to = pm860x_supplied_to; in pm860x_charger_probe() 709 psy_cfg.num_supplicants = ARRAY_SIZE(pm860x_supplied_to); in pm860x_charger_probe() 711 &psy_cfg); in pm860x_charger_probe()
|
D | act8945a_charger.c | 581 struct power_supply_config psy_cfg = {}; in act8945a_charger_probe() local 621 psy_cfg.of_node = pdev->dev.of_node; in act8945a_charger_probe() 622 psy_cfg.drv_data = charger; in act8945a_charger_probe() 626 &psy_cfg); in act8945a_charger_probe()
|
D | generic-adc-battery.c | 244 struct power_supply_config psy_cfg = {}; in gab_probe() local 257 psy_cfg.drv_data = adc_bat; in gab_probe() 319 adc_bat->psy = power_supply_register(&pdev->dev, psy_desc, &psy_cfg); in gab_probe()
|
D | jz4740-battery.c | 246 struct power_supply_config psy_cfg = {}; in jz_battery_probe() local 286 psy_cfg.drv_data = jz_battery; in jz_battery_probe() 339 &psy_cfg); in jz_battery_probe()
|
/drivers/staging/nvec/ |
D | nvec_power.c | 382 struct power_supply_config psy_cfg = {}; in nvec_power_probe() local 395 psy_cfg.supplied_to = nvec_power_supplied_to; in nvec_power_probe() 396 psy_cfg.num_supplicants = ARRAY_SIZE(nvec_power_supplied_to); in nvec_power_probe() 418 *psy = power_supply_register(&pdev->dev, psy_desc, &psy_cfg); in nvec_power_probe()
|
/drivers/acpi/ |
D | ac.c | 321 struct power_supply_config psy_cfg = {}; in acpi_ac_add() local 342 psy_cfg.drv_data = ac; in acpi_ac_add() 355 &ac->charger_desc, &psy_cfg); in acpi_ac_add()
|