Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_drv.c233 struct device_node *child_np; in sti_platform_probe() local
240 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe()
242 while (child_np) { in sti_platform_probe()
244 child_np); in sti_platform_probe()
245 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
/openbmc/linux/drivers/memory/
H 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()
H 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()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c1115 struct device_node *child_np) in rockchip_usb2phy_port_irq_init() argument
1128 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_port_irq_init()
1149 rport->otg_mux_irq = of_irq_get_byname(child_np, "otg-mux"); in rockchip_usb2phy_port_irq_init()
1163 rport->bvalid_irq = of_irq_get_byname(child_np, "otg-bvalid"); in rockchip_usb2phy_port_irq_init()
1182 rport->id_irq = of_irq_get_byname(child_np, "otg-id"); in rockchip_usb2phy_port_irq_init()
1211 struct device_node *child_np) in rockchip_usb2phy_host_port_init() argument
1222 ret = rockchip_usb2phy_port_irq_init(rphy, rport, child_np); in rockchip_usb2phy_host_port_init()
1244 struct device_node *child_np) in rockchip_usb2phy_otg_port_init() argument
1263 rport->mode = of_usb_get_dr_mode_by_phy(child_np, -1); in rockchip_usb2phy_otg_port_init()
1273 ret = rockchip_usb2phy_port_irq_init(rphy, rport, child_np); in rockchip_usb2phy_otg_port_init()
[all …]
H A Dphy-rockchip-typec.c1102 struct device_node *child_np; in rockchip_typec_phy_probe() local
1163 for_each_available_child_of_node(np, child_np) { in rockchip_typec_phy_probe()
1166 if (of_node_name_eq(child_np, "dp-port")) in rockchip_typec_phy_probe()
1167 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1169 else if (of_node_name_eq(child_np, "usb3-port")) in rockchip_typec_phy_probe()
1170 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1177 child_np); in rockchip_typec_phy_probe()
1179 of_node_put(child_np); in rockchip_typec_phy_probe()
/openbmc/linux/drivers/phy/mediatek/
H 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()
H A Dphy-mtk-tphy.c1555 struct device_node *child_np; in mtk_tphy_probe() local
1601 for_each_child_of_node(np, child_np) { in mtk_tphy_probe()
1615 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1623 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1648 retval = phy_type_syscon_get(instance, child_np); in mtk_tphy_probe()
1657 of_node_put(child_np); in mtk_tphy_probe()
/openbmc/linux/drivers/pmdomain/qcom/
H A Dcpr.c1046 struct device_node *child_np = NULL; in cpr_get_opp_hz_for_req() local
1059 child_np = of_get_next_available_child(desc_np, child_np); in cpr_get_opp_hz_for_req()
1060 child_req_np = of_parse_phandle(child_np, "required-opps", 0); in cpr_get_opp_hz_for_req()
1061 } while (child_np && child_req_np != ref_np); in cpr_get_opp_hz_for_req()
1063 if (child_np && child_req_np == ref_np) in cpr_get_opp_hz_for_req()
1064 of_property_read_u64(child_np, "opp-hz", &rate); in cpr_get_opp_hz_for_req()
1067 of_node_put(child_np); in cpr_get_opp_hz_for_req()
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H 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()
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c1789 struct device_node *child_np = of_get_child_by_name(np, name); in ftgmac100_has_child_node() local
1792 if (child_np) { in ftgmac100_has_child_node()
1794 of_node_put(child_np); in ftgmac100_has_child_node()