Home
last modified time | relevance | path

Searched refs:of_platform_device_create (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/drivers/of/
H A Dplatform.c244 struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create() function
250 EXPORT_SYMBOL(of_platform_device_create);
589 dev = of_platform_device_create(node, "of-display", NULL); in of_platform_default_populate_init()
605 of_platform_device_create(node, buf, NULL); in of_platform_default_populate_init()
615 of_platform_device_create(node, NULL, NULL); in of_platform_default_populate_init()
624 of_platform_device_create(node, NULL, NULL); in of_platform_default_populate_init()
780 pdev = of_platform_device_create(rd->dn, NULL, in of_platform_notify()
/openbmc/linux/include/linux/
H A Dof_platform.h76 extern struct platform_device *of_platform_device_create(struct device_node *np,
96 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create() function
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dsetup.c460 of_platform_device_create(np, "valkyrie", NULL); in pmac_declare_of_platform_devices()
465 of_platform_device_create(np, "platinum", NULL); in pmac_declare_of_platform_devices()
470 of_platform_device_create(np, "smu", NULL); in pmac_declare_of_platform_devices()
479 of_platform_device_create(np, "temperature", NULL); in pmac_declare_of_platform_devices()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-rtc.c71 pdev = of_platform_device_create(rtc, "opal-rtc", NULL); in opal_time_init()
H A Dopal-sensor.c128 pdev = of_platform_device_create(sensor, "opal-sensor", NULL); in opal_sensor_init()
H A Dopal.c946 of_platform_device_create(np, NULL, NULL); in opal_pdev_init()
955 of_platform_device_create(np, NULL, NULL); in opal_imc_init_dev()
1015 of_platform_device_create(np, NULL, NULL); in opal_init()
1047 of_platform_device_create(leds, "opal_leds", NULL); in opal_init()
H A Drng.c195 of_platform_device_create(dn, NULL, NULL); in pnv_rng_late_init()
H A Dvas.c240 of_platform_device_create(dn, NULL, NULL); in vas_init()
/openbmc/linux/drivers/usb/misc/
H A Donboard_usb_hub_pdevs.c104 pdev = of_platform_device_create(np, NULL, &parent_hub->dev); in onboard_hub_create_pdevs()
/openbmc/linux/drivers/misc/cxl/
H A Dbase.c119 dev = of_platform_device_create(np, NULL, NULL); in cxl_base_init()
/openbmc/linux/drivers/memory/
H A Dpl353-smc.c125 of_platform_device_create(child, NULL, &adev->dev); in pl353_smc_probe()
H A Djz4780-nemc.c377 if (of_platform_device_create(child, NULL, nemc->dev)) in jz4780_nemc_probe()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dsetup.c168 of_platform_device_create(np, NULL, NULL); in cell_publish_devices()
/openbmc/linux/drivers/macintosh/ams/
H A Dams-core.c149 ams_info.of_dev = of_platform_device_create(ams_info.of_node, "ams", NULL); in ams_sensor_attach()
/openbmc/linux/drivers/mmc/host/
H A Dcavium-thunderx.c140 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()
H A Dcavium-octeon.c273 of_platform_device_create(cn, NULL, &pdev->dev); in octeon_mmc_probe()
H A Dsdhci-of-aspeed.c560 cpdev = of_platform_device_create(child, NULL, &pdev->dev); in aspeed_sdc_probe()
/openbmc/linux/drivers/irqchip/
H A Dirq-mbigen.c260 child = of_platform_device_create(np, NULL, NULL); in mbigen_of_create_domain()
/openbmc/linux/drivers/bus/
H A Dimx-weim.c339 if (!of_platform_device_create(rd->dn, NULL, &pdev->dev)) { in of_weim_notify()
/openbmc/linux/drivers/clk/tegra/
H A Dclk.c419 pdev = of_platform_device_create(np, dev_name, &parent->dev); in tegra_clk_dev_register()
/openbmc/linux/drivers/macintosh/
H A Dtherm_windtunnel.c536 x.of_dev = of_platform_device_create(np, "temperature", NULL); in g4fan_init()
H A Dtherm_adt746x.c426 th->pdev = of_platform_device_create(np, "temperatures", NULL); in thermostat_create_files()
/openbmc/linux/drivers/ata/
H A Dlibahci_platform.c602 of_platform_device_create(child, NULL, NULL); in ahci_platform_get_resources()
/openbmc/linux/drivers/hsi/controllers/
H A Domap_ssi_core.c527 childpdev = of_platform_device_create(child, NULL, &pd->dev); in ssi_probe()
/openbmc/linux/drivers/fsi/
H A Dfsi-occ.c691 hwmon_dev = of_platform_device_create(hwmon_node, child_name, dev); in occ_probe()

12