Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_drv.c235 struct device_node *child_np; in sti_platform_probe() local
242 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe()
244 while (child_np) { in sti_platform_probe()
246 child_np); in sti_platform_probe()
247 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
/linux-6.12.1/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c1136 struct device_node *child_np) in rockchip_usb2phy_port_irq_init() argument
1149 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_port_irq_init()
1170 rport->otg_mux_irq = of_irq_get_byname(child_np, "otg-mux"); in rockchip_usb2phy_port_irq_init()
1184 rport->bvalid_irq = of_irq_get_byname(child_np, "otg-bvalid"); in rockchip_usb2phy_port_irq_init()
1203 rport->id_irq = of_irq_get_byname(child_np, "otg-id"); in rockchip_usb2phy_port_irq_init()
1232 struct device_node *child_np) in rockchip_usb2phy_host_port_init() argument
1243 ret = rockchip_usb2phy_port_irq_init(rphy, rport, child_np); in rockchip_usb2phy_host_port_init()
1265 struct device_node *child_np) in rockchip_usb2phy_otg_port_init() argument
1284 rport->mode = of_usb_get_dr_mode_by_phy(child_np, -1); in rockchip_usb2phy_otg_port_init()
1294 ret = rockchip_usb2phy_port_irq_init(rphy, rport, child_np); in rockchip_usb2phy_otg_port_init()
[all …]
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()
/linux-6.12.1/drivers/memory/
Dpl172.c203 struct device_node *child_np, *np = adev->dev.of_node; in pl172_probe() local
258 for_each_available_child_of_node(np, child_np) { in pl172_probe()
259 ret = pl172_parse_cs_config(adev, child_np); in pl172_probe()
263 of_platform_populate(child_np, NULL, NULL, dev); in pl172_probe()
Dti-aemif.c361 for_each_available_child_of_node_scoped(np, child_np) { in aemif_probe()
362 ret = of_aemif_parse_abus_config(pdev, child_np); in aemif_probe()
382 for_each_available_child_of_node_scoped(np, child_np) { in aemif_probe()
383 ret = of_platform_populate(child_np, NULL, NULL, dev); in aemif_probe()
/linux-6.12.1/drivers/phy/mediatek/
Dphy-mtk-xsphy.c473 for_each_child_of_node_scoped(np, child_np) { in mtk_xsphy_probe()
484 phy = devm_phy_create(dev, child_np, &mtk_xsphy_ops); in mtk_xsphy_probe()
490 retval = of_address_to_resource(child_np, 0, &res); in mtk_xsphy_probe()
Dphy-mtk-tphy.c1625 for_each_child_of_node_scoped(np, child_np) { in mtk_tphy_probe()
1638 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1645 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1668 retval = phy_type_syscon_get(instance, child_np); in mtk_tphy_probe()
/linux-6.12.1/drivers/net/ethernet/apm/xgene/
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.12.1/drivers/pmdomain/qcom/
Dcpr.c1050 for_each_available_child_of_node_scoped(desc_np, child_np) { in cpr_get_opp_hz_for_req()
1052 of_parse_phandle(child_np, "required-opps", 0); in cpr_get_opp_hz_for_req()
1057 of_property_read_u64(child_np, "opp-hz", &rate); in cpr_get_opp_hz_for_req()
/linux-6.12.1/drivers/net/ethernet/faraday/
Dftgmac100.c1804 struct device_node *child_np = of_get_child_by_name(np, name); in ftgmac100_has_child_node() local
1807 if (child_np) { in ftgmac100_has_child_node()
1809 of_node_put(child_np); in ftgmac100_has_child_node()