Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_drv.c274 struct device_node *child_np; in sti_platform_probe() local
281 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe()
283 while (child_np) { in sti_platform_probe()
285 child_np); in sti_platform_probe()
286 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
/Linux-v4.19/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c953 struct device_node *child_np) in rockchip_usb2phy_host_port_init() argument
964 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_host_port_init()
995 struct device_node *child_np) in rockchip_usb2phy_otg_port_init() argument
1014 rport->mode = of_usb_get_dr_mode_by_phy(child_np, -1); in rockchip_usb2phy_otg_port_init()
1025 of_property_read_bool(child_np, "rockchip,utmi-avalid"); in rockchip_usb2phy_otg_port_init()
1032 rport->otg_mux_irq = of_irq_get_byname(child_np, "otg-mux"); in rockchip_usb2phy_otg_port_init()
1046 rport->bvalid_irq = of_irq_get_byname(child_np, "otg-bvalid"); in rockchip_usb2phy_otg_port_init()
1083 struct device_node *child_np; in rockchip_usb2phy_probe() local
1166 for_each_available_child_of_node(np, child_np) { in rockchip_usb2phy_probe()
1171 if (of_node_cmp(child_np->name, "host-port") && in rockchip_usb2phy_probe()
[all …]
Dphy-rockchip-typec.c1112 struct device_node *child_np; in rockchip_typec_phy_probe() local
1176 for_each_available_child_of_node(np, child_np) { in rockchip_typec_phy_probe()
1179 if (!of_node_cmp(child_np->name, "dp-port")) in rockchip_typec_phy_probe()
1180 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1182 else if (!of_node_cmp(child_np->name, "usb3-port")) in rockchip_typec_phy_probe()
1183 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1190 child_np->name); in rockchip_typec_phy_probe()
/Linux-v4.19/drivers/memory/
Dpl172.c199 struct device_node *child_np, *np = adev->dev.of_node; in pl172_probe() local
262 for_each_available_child_of_node(np, child_np) { in pl172_probe()
263 ret = pl172_parse_cs_config(adev, child_np); in pl172_probe()
267 of_platform_populate(child_np, NULL, NULL, dev); in pl172_probe()
Dti-aemif.c337 struct device_node *child_np; in aemif_probe() local
382 for_each_available_child_of_node(np, child_np) { in aemif_probe()
383 ret = of_aemif_parse_abus_config(pdev, child_np); in aemif_probe()
408 for_each_available_child_of_node(np, child_np) { in aemif_probe()
409 ret = of_platform_populate(child_np, NULL, in aemif_probe()
/Linux-v4.19/drivers/phy/mediatek/
Dphy-mtk-xsphy.c495 struct device_node *child_np; in mtk_xsphy_probe() local
534 for_each_child_of_node(np, child_np) { in mtk_xsphy_probe()
546 phy = devm_phy_create(dev, child_np, &mtk_xsphy_ops); in mtk_xsphy_probe()
553 retval = of_address_to_resource(child_np, 0, &res); in mtk_xsphy_probe()
584 of_node_put(child_np); in mtk_xsphy_probe()
Dphy-mtk-tphy.c1070 struct device_node *child_np; in mtk_tphy_probe() local
1122 for_each_child_of_node(np, child_np) { in mtk_tphy_probe()
1134 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1141 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1176 of_node_put(child_np); in mtk_tphy_probe()
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c914 struct device_node *child_np; in xgene_mdiobus_register() local
920 for_each_child_of_node(dev->of_node, child_np) { in xgene_mdiobus_register()
921 if (of_device_is_compatible(child_np, in xgene_mdiobus_register()
923 mdio_np = child_np; in xgene_mdiobus_register()