Searched refs:child_np (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/sti/ |
D | sti_drv.c | 274 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/ |
D | phy-rockchip-inno-usb2.c | 953 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 …]
|
D | phy-rockchip-typec.c | 1112 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/ |
D | pl172.c | 199 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()
|
D | ti-aemif.c | 337 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/ |
D | phy-mtk-xsphy.c | 495 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()
|
D | phy-mtk-tphy.c | 1070 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/ |
D | xgene_enet_hw.c | 914 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()
|