/linux-6.1.9/drivers/power/supply/ |
D | surface_charger.c | 199 struct power_supply_config psy_cfg = {}; in spwr_ac_register() local 211 psy_cfg.drv_data = ac; in spwr_ac_register() 212 psy_cfg.supplied_to = battery_supplied_to; in spwr_ac_register() 213 psy_cfg.num_supplicants = ARRAY_SIZE(battery_supplied_to); in spwr_ac_register() 215 ac->psy = devm_power_supply_register(&ac->sdev->dev, &ac->psy_desc, &psy_cfg); in spwr_ac_register()
|
D | tps65090-charger.c | 233 struct power_supply_config psy_cfg = {}; in tps65090_charger_probe() local 260 psy_cfg.supplied_to = pdata->supplied_to; in tps65090_charger_probe() 261 psy_cfg.num_supplicants = pdata->num_supplicants; in tps65090_charger_probe() 262 psy_cfg.of_node = pdev->dev.of_node; in tps65090_charger_probe() 263 psy_cfg.drv_data = cdata; in tps65090_charger_probe() 266 &psy_cfg); in tps65090_charger_probe()
|
D | pda_power.c | 263 struct power_supply_config psy_cfg = {}; in pda_power_probe() local 311 psy_cfg.supplied_to = pdata->supplied_to; in pda_power_probe() 312 psy_cfg.num_supplicants = pdata->num_supplicants; in pda_power_probe() 314 psy_cfg.supplied_to = pda_power_supplied_to; in pda_power_probe() 315 psy_cfg.num_supplicants = ARRAY_SIZE(pda_power_supplied_to); in pda_power_probe() 330 &pda_psy_ac_desc, &psy_cfg); in pda_power_probe() 354 &psy_cfg); in pda_power_probe()
|
D | lego_ev3_battery.c | 158 struct power_supply_config psy_cfg = {}; in lego_ev3_battery_probe() local 201 psy_cfg.of_node = pdev->dev.of_node; in lego_ev3_battery_probe() 202 psy_cfg.drv_data = batt; in lego_ev3_battery_probe() 205 &psy_cfg); in lego_ev3_battery_probe()
|
D | ingenic-battery.c | 127 struct power_supply_config psy_cfg = {}; in ingenic_battery_probe() local 146 psy_cfg.drv_data = bat; in ingenic_battery_probe() 147 psy_cfg.of_node = dev->of_node; in ingenic_battery_probe() 149 bat->battery = devm_power_supply_register(dev, desc, &psy_cfg); in ingenic_battery_probe()
|
D | lt3651-charger.c | 96 struct power_supply_config psy_cfg = {}; in lt3651_charger_probe() local 134 psy_cfg.of_node = pdev->dev.of_node; in lt3651_charger_probe() 135 psy_cfg.drv_data = lt3651_charger; in lt3651_charger_probe() 138 charger_desc, &psy_cfg); in lt3651_charger_probe()
|
D | gpio-charger.c | 255 struct power_supply_config psy_cfg = {}; in gpio_charger_probe() local 315 psy_cfg.of_node = dev->of_node; in gpio_charger_probe() 316 psy_cfg.drv_data = gpio_charger; in gpio_charger_probe() 321 psy_cfg.supplied_to = pdata->supplied_to; in gpio_charger_probe() 322 psy_cfg.num_supplicants = pdata->num_supplicants; in gpio_charger_probe() 332 &psy_cfg); in gpio_charger_probe()
|
D | pcf50633-charger.c | 384 struct power_supply_config psy_cfg = {}; in pcf50633_mbc_probe() local 402 psy_cfg.supplied_to = mbc->pcf->pdata->batteries; in pcf50633_mbc_probe() 403 psy_cfg.num_supplicants = mbc->pcf->pdata->num_batteries; in pcf50633_mbc_probe() 404 psy_cfg.drv_data = mbc; in pcf50633_mbc_probe() 409 &psy_cfg); in pcf50633_mbc_probe() 415 usb_psy_cfg = psy_cfg; in pcf50633_mbc_probe() 427 &psy_cfg); in pcf50633_mbc_probe()
|
D | sbs-charger.c | 168 struct power_supply_config psy_cfg = {}; in sbs_probe() local 177 psy_cfg.of_node = client->dev.of_node; in sbs_probe() 178 psy_cfg.drv_data = chip; in sbs_probe() 195 chip->power_supply = devm_power_supply_register(&client->dev, &sbs_desc, &psy_cfg); in sbs_probe()
|
D | wilco-charger.c | 172 struct power_supply_config psy_cfg = {}; in wilco_charge_probe() local 175 psy_cfg.drv_data = ec; in wilco_charge_probe() 176 psy = devm_power_supply_register(&pdev->dev, &wilco_ps_desc, &psy_cfg); in wilco_charge_probe()
|
D | acer_a500_battery.c | 225 struct power_supply_config psy_cfg = {}; in a500_battery_probe() local 234 psy_cfg.of_node = pdev->dev.parent->of_node; in a500_battery_probe() 235 psy_cfg.drv_data = bat; in a500_battery_probe() 243 &psy_cfg); in a500_battery_probe()
|
D | bq24735-charger.c | 361 struct power_supply_config psy_cfg = {}; in bq24735_charger_probe() local 404 psy_cfg.supplied_to = charger->pdata->supplied_to; in bq24735_charger_probe() 405 psy_cfg.num_supplicants = charger->pdata->num_supplicants; in bq24735_charger_probe() 406 psy_cfg.of_node = client->dev.of_node; in bq24735_charger_probe() 407 psy_cfg.drv_data = charger; in bq24735_charger_probe() 450 &psy_cfg); in bq24735_charger_probe()
|
D | goldfish_battery.c | 203 struct power_supply_config psy_cfg = {}; in goldfish_battery_probe() local 233 psy_cfg.drv_data = data; in goldfish_battery_probe() 235 data->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in goldfish_battery_probe() 240 &psy_cfg); in goldfish_battery_probe()
|
D | max8998_charger.c | 95 struct power_supply_config psy_cfg = {}; in max8998_battery_probe() local 175 psy_cfg.drv_data = max8998; in max8998_battery_probe() 179 &psy_cfg); in max8998_battery_probe()
|
D | rt5033_battery.c | 119 struct power_supply_config psy_cfg = {}; in rt5033_battery_probe() local 139 psy_cfg.drv_data = battery; in rt5033_battery_probe() 142 &rt5033_battery_desc, &psy_cfg); in rt5033_battery_probe()
|
D | pmu_battery.c | 162 struct power_supply_config psy_cfg = {}; in pmu_bat_init() local 174 psy_cfg.drv_data = pbat; in pmu_bat_init() 178 &psy_cfg); in pmu_bat_init()
|
D | rx51_battery.c | 193 struct power_supply_config psy_cfg = {}; in rx51_battery_probe() local 210 psy_cfg.drv_data = di; in rx51_battery_probe() 230 di->bat = power_supply_register(di->dev, &di->bat_desc, &psy_cfg); in rx51_battery_probe()
|
D | axp20x_ac_power.c | 325 struct power_supply_config psy_cfg = {}; in axp20x_ac_power_probe() local 368 psy_cfg.of_node = pdev->dev.of_node; in axp20x_ac_power_probe() 369 psy_cfg.drv_data = power; in axp20x_ac_power_probe() 373 &psy_cfg); in axp20x_ac_power_probe()
|
D | max8903_charger.c | 331 struct power_supply_config psy_cfg = {}; in max8903_probe() local 353 psy_cfg.of_node = dev->of_node; in max8903_probe() 354 psy_cfg.drv_data = data; in max8903_probe() 356 data->psy = devm_power_supply_register(dev, &data->psy_desc, &psy_cfg); in max8903_probe()
|
D | ip5xxx_power.c | 591 struct power_supply_config psy_cfg = {}; in ip5xxx_power_probe() local 604 psy_cfg.of_node = dev->of_node; in ip5xxx_power_probe() 605 psy_cfg.drv_data = ip5xxx; in ip5xxx_power_probe() 607 psy = devm_power_supply_register(dev, &ip5xxx_battery_desc, &psy_cfg); in ip5xxx_power_probe() 611 psy = devm_power_supply_register(dev, &ip5xxx_boost_desc, &psy_cfg); in ip5xxx_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 | max8925_power.c | 507 struct power_supply_config psy_cfg = {}; /* Only for ac and usb */ in max8925_power_probe() local 528 psy_cfg.supplied_to = pdata->supplied_to; in max8925_power_probe() 529 psy_cfg.num_supplicants = pdata->num_supplicants; in max8925_power_probe() 531 info->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in max8925_power_probe() 538 info->usb = power_supply_register(&pdev->dev, &usb_desc, &psy_cfg); in max8925_power_probe()
|
/linux-6.1.9/drivers/usb/typec/ucsi/ |
D | psy.c | 210 struct power_supply_config psy_cfg = {}; in ucsi_register_port_psy() local 214 psy_cfg.drv_data = con; in ucsi_register_port_psy() 215 psy_cfg.fwnode = dev_fwnode(dev); in ucsi_register_port_psy() 230 con->psy = power_supply_register(dev, &con->psy_desc, &psy_cfg); in ucsi_register_port_psy()
|
/linux-6.1.9/drivers/staging/nvec/ |
D | nvec_power.c | 378 struct power_supply_config psy_cfg = {}; in nvec_power_probe() local 391 psy_cfg.supplied_to = nvec_power_supplied_to; in nvec_power_probe() 392 psy_cfg.num_supplicants = ARRAY_SIZE(nvec_power_supplied_to); in nvec_power_probe() 414 *psy = power_supply_register(&pdev->dev, psy_desc, &psy_cfg); in nvec_power_probe()
|
/linux-6.1.9/drivers/acpi/ |
D | ac.c | 219 struct power_supply_config psy_cfg = {}; in acpi_ac_add() local 240 psy_cfg.drv_data = ac; in acpi_ac_add() 248 &ac->charger_desc, &psy_cfg); in acpi_ac_add()
|