Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_drv.c259 struct device_node *child_np; in sti_platform_probe() local
266 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe()
268 while (child_np) { in sti_platform_probe()
270 child_np); in sti_platform_probe()
271 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
/Linux-v5.4/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c939 struct device_node *child_np) in rockchip_usb2phy_host_port_init() argument
950 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_host_port_init()
981 struct device_node *child_np) in rockchip_usb2phy_otg_port_init() argument
1000 rport->mode = of_usb_get_dr_mode_by_phy(child_np, -1); in rockchip_usb2phy_otg_port_init()
1015 rport->otg_mux_irq = of_irq_get_byname(child_np, "otg-mux"); in rockchip_usb2phy_otg_port_init()
1029 rport->bvalid_irq = of_irq_get_byname(child_np, "otg-bvalid"); in rockchip_usb2phy_otg_port_init()
1066 struct device_node *child_np; in rockchip_usb2phy_probe() local
1149 for_each_available_child_of_node(np, child_np) { in rockchip_usb2phy_probe()
1154 if (!of_node_name_eq(child_np, "host-port") && in rockchip_usb2phy_probe()
1155 !of_node_name_eq(child_np, "otg-port")) in rockchip_usb2phy_probe()
[all …]
Dphy-rockchip-typec.c1103 struct device_node *child_np; in rockchip_typec_phy_probe() local
1167 for_each_available_child_of_node(np, child_np) { in rockchip_typec_phy_probe()
1170 if (of_node_name_eq(child_np, "dp-port")) in rockchip_typec_phy_probe()
1171 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1173 else if (of_node_name_eq(child_np, "usb3-port")) in rockchip_typec_phy_probe()
1174 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1181 child_np); in rockchip_typec_phy_probe()
/Linux-v5.4/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.c334 struct device_node *child_np; in aemif_probe() local
379 for_each_available_child_of_node(np, child_np) { in aemif_probe()
380 ret = of_aemif_parse_abus_config(pdev, 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()
/Linux-v5.4/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
1118 for_each_child_of_node(np, child_np) { in mtk_tphy_probe()
1130 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1137 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1172 of_node_put(child_np); in mtk_tphy_probe()
/Linux-v5.4/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()