Home
last modified time | relevance | path

Searched refs:child_np (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/sti/
A Dsti_drv.c231 struct device_node *child_np; in sti_platform_probe() local
238 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe()
240 while (child_np) { in sti_platform_probe()
242 child_np); in sti_platform_probe()
243 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
/linux-6.3-rc2/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c998 struct device_node *child_np) in rockchip_usb2phy_port_irq_init() argument
1094 struct device_node *child_np) in rockchip_usb2phy_host_port_init() argument
1127 struct device_node *child_np) in rockchip_usb2phy_otg_port_init() argument
1187 struct device_node *child_np; in rockchip_usb2phy_probe() local
1292 if (!of_node_name_eq(child_np, "host-port") && in rockchip_usb2phy_probe()
1293 !of_node_name_eq(child_np, "otg-port")) in rockchip_usb2phy_probe()
1307 if (of_node_name_eq(child_np, "host-port")) { in rockchip_usb2phy_probe()
1309 child_np); in rockchip_usb2phy_probe()
1314 child_np); in rockchip_usb2phy_probe()
1322 of_node_put(child_np); in rockchip_usb2phy_probe()
[all …]
A Dphy-rockchip-typec.c1102 struct device_node *child_np; in rockchip_typec_phy_probe() local
1164 for_each_available_child_of_node(np, child_np) { in rockchip_typec_phy_probe()
1167 if (of_node_name_eq(child_np, "dp-port")) in rockchip_typec_phy_probe()
1168 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1170 else if (of_node_name_eq(child_np, "usb3-port")) in rockchip_typec_phy_probe()
1171 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1178 child_np); in rockchip_typec_phy_probe()
1180 of_node_put(child_np); in rockchip_typec_phy_probe()
/linux-6.3-rc2/drivers/memory/
A Dti-aemif.c333 struct device_node *child_np; in aemif_probe() local
377 for_each_available_child_of_node(np, child_np) { in aemif_probe()
378 ret = of_aemif_parse_abus_config(pdev, child_np); in aemif_probe()
380 of_node_put(child_np); in aemif_probe()
405 for_each_available_child_of_node(np, child_np) { in aemif_probe()
406 ret = of_platform_populate(child_np, NULL, in aemif_probe()
409 of_node_put(child_np); in aemif_probe()
A Dpl172.c196 struct device_node *child_np, *np = adev->dev.of_node; in pl172_probe() local
259 for_each_available_child_of_node(np, child_np) { in pl172_probe()
260 ret = pl172_parse_cs_config(adev, child_np); in pl172_probe()
264 of_platform_populate(child_np, NULL, NULL, dev); in pl172_probe()
/linux-6.3-rc2/drivers/phy/mediatek/
A Dphy-mtk-xsphy.c435 struct device_node *child_np; in mtk_xsphy_probe() local
474 for_each_child_of_node(np, child_np) { in mtk_xsphy_probe()
486 phy = devm_phy_create(dev, child_np, &mtk_xsphy_ops); in mtk_xsphy_probe()
493 retval = of_address_to_resource(child_np, 0, &res); in mtk_xsphy_probe()
524 of_node_put(child_np); in mtk_xsphy_probe()
A Dphy-mtk-tphy.c1199 struct device_node *child_np; in mtk_tphy_probe() local
1245 for_each_child_of_node(np, child_np) { in mtk_tphy_probe()
1259 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1267 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1292 retval = phy_type_syscon_get(instance, child_np); in mtk_tphy_probe()
1301 of_node_put(child_np); in mtk_tphy_probe()
/linux-6.3-rc2/drivers/soc/qcom/
A Dcpr.c1047 struct device_node *child_np = NULL; in cpr_get_opp_hz_for_req() local
1060 child_np = of_get_next_available_child(desc_np, child_np); in cpr_get_opp_hz_for_req()
1061 child_req_np = of_parse_phandle(child_np, "required-opps", 0); in cpr_get_opp_hz_for_req()
1062 } while (child_np && child_req_np != ref_np); in cpr_get_opp_hz_for_req()
1064 if (child_np && child_req_np == ref_np) in cpr_get_opp_hz_for_req()
1065 of_property_read_u64(child_np, "opp-hz", &rate); in cpr_get_opp_hz_for_req()
1068 of_node_put(child_np); in cpr_get_opp_hz_for_req()
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_hw.c900 struct device_node *child_np; in xgene_mdiobus_register() local
906 for_each_child_of_node(dev->of_node, child_np) { in xgene_mdiobus_register()
907 if (of_device_is_compatible(child_np, in xgene_mdiobus_register()
909 mdio_np = child_np; in xgene_mdiobus_register()
/linux-6.3-rc2/drivers/net/ethernet/faraday/
A Dftgmac100.c1773 struct device_node *child_np = of_get_child_by_name(np, name); in ftgmac100_has_child_node() local
1776 if (child_np) { in ftgmac100_has_child_node()
1778 of_node_put(child_np); in ftgmac100_has_child_node()

Completed in 39 milliseconds