/openbmc/linux/Documentation/translations/zh_CN/devicetree/ |
H A D | usage-model.rst | 282 Linux板支持代码调用of_platform_populate(NULL, NULL, NULL, NULL)来 285 表(尚未)。对于只需要注册设备的板子,除了of_platform_populate()的调用, 300 of_platform_populate()的第二个参数是一个of_device_id表,任何与该表 307 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 311 的总线,所以of_platform_populate()代码可以被写成只是假设简单总线兼容的节 326 当使用DT时,这给of_platform_populate()带来了问题,因为它必须决定是否将 329 兼容,那么of_platform_populate()将把它注册为amba_device而不是
|
/openbmc/linux/include/linux/ |
H A D | of_platform.h | 82 extern int of_platform_populate(struct device_node *root, 107 static inline int of_platform_populate(struct device_node *root, in of_platform_populate() function
|
/openbmc/linux/drivers/of/ |
H A D | platform.c | 494 int of_platform_populate(struct device_node *root, in of_platform_populate() function 524 EXPORT_SYMBOL_GPL(of_platform_populate); 530 return of_platform_populate(root, of_default_bus_match_table, lookup, in of_platform_default_populate() 619 of_platform_populate(node, NULL, NULL, NULL); in of_platform_default_populate_init() 711 ret = of_platform_populate(dev->of_node, NULL, NULL, dev); in devm_of_platform_populate()
|
/openbmc/linux/drivers/bus/ |
H A D | sun50i-de2.c | 22 of_platform_populate(np, NULL, NULL, &pdev->dev); in sun50i_de2_bus_probe()
|
H A D | ti-pwmss.c | 29 ret = of_platform_populate(node, NULL, NULL, &pdev->dev); in pwmss_probe()
|
H A D | omap-ocp2scp.c | 38 ret = of_platform_populate(np, NULL, NULL, &pdev->dev); in omap_ocp2scp_probe()
|
H A D | tegra-aconnect.c | 49 of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev); in tegra_aconnect_probe()
|
H A D | simple-pm-bus.c | 72 of_platform_populate(np, NULL, lookup, &pdev->dev); in simple_pm_bus_probe()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | prom.c | 61 if (of_platform_populate(NULL, of_ids, NULL, NULL)) in __dt_register_buses()
|
/openbmc/linux/drivers/soc/lantiq/ |
H A D | fpi-bus.c | 63 return of_platform_populate(dev->of_node, NULL, NULL, dev); in ltq_fpi_probe()
|
/openbmc/linux/drivers/ata/ |
H A D | ahci_octeon.c | 64 ret = of_platform_populate(node, NULL, NULL, dev); in ahci_octeon_probe()
|
/openbmc/linux/arch/arm/mach-ux500/ |
H A D | cpu-db8500.c | 116 of_platform_populate(NULL, u8500_local_bus_nodes, in u8500_init_machine()
|
/openbmc/linux/drivers/ufs/host/ |
H A D | ti-j721e-ufs.c | 52 ret = of_platform_populate(pdev->dev.of_node, NULL, NULL, in ti_j721e_ufs_probe()
|
/openbmc/linux/drivers/clk/ti/ |
H A D | clk-814x.c | 73 of_platform_populate(np, NULL, NULL, NULL); in dm814x_adpll_early_init()
|
/openbmc/linux/arch/powerpc/platforms/embedded6xx/ |
H A D | wii.c | 164 of_platform_populate(NULL, wii_of_bus, NULL, NULL); in wii_device_probe()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | pdata-quirks.c | 550 of_platform_populate(np, omap_dt_match_table, in pdata_quirks_init_clocks() 573 of_platform_populate(NULL, omap_dt_match_table, in pdata_quirks_init()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | rzv2m_usb3drd.c | 103 ret = of_platform_populate(usb3->dev->of_node, NULL, NULL, usb3->dev); in rzv2m_usb3drd_probe()
|
/openbmc/linux/Documentation/devicetree/ |
H A D | usage-model.rst | 358 Linux board support code calls of_platform_populate(NULL, NULL, NULL, NULL) 365 of_platform_populate() call. 384 simpler. The second argument to of_platform_populate() is an 392 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 396 meaning a simple memory mapped bus, so the of_platform_populate() code 414 When using the DT, this creates problems for of_platform_populate() 419 of_platform_populate() will register it as an amba_device instead of a
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-of-simple.c | 76 ret = of_platform_populate(np, NULL, NULL, dev); in dwc3_of_simple_probe()
|
H A D | dwc3-keystone.c | 156 error = of_platform_populate(node, NULL, NULL, dev); in kdwc3_probe()
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qcom_gsbi.c | 212 return of_platform_populate(node, NULL, NULL, &pdev->dev); in gsbi_probe()
|
/openbmc/linux/drivers/memory/samsung/ |
H A D | exynos-srom.c | 155 return of_platform_populate(np, NULL, NULL, dev); in exynos_srom_probe()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-ti.c | 179 error = of_platform_populate(node, NULL, NULL, dev); in cdns_ti_probe()
|
H A D | cdns3-starfive.c | 145 ret = of_platform_populate(dev->of_node, NULL, NULL, dev); in cdns_starfive_probe()
|
/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_common.c | 104 if (of_platform_populate(NULL, mpc52xx_bus_ids, NULL, NULL)) in mpc52xx_declare_of_platform_devices()
|