/Linux-v5.15/drivers/gpu/drm/sti/ |
D | sti_drv.c | 237 struct device_node *child_np; in sti_platform_probe() local 244 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe() 246 while (child_np) { in sti_platform_probe() 248 child_np); in sti_platform_probe() 249 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
|
/Linux-v5.15/drivers/phy/rockchip/ |
D | phy-rockchip-inno-usb2.c | 939 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 …]
|
D | phy-rockchip-typec.c | 1103 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() 1183 of_node_put(child_np); in rockchip_typec_phy_probe()
|
/Linux-v5.15/drivers/memory/ |
D | ti-aemif.c | 334 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() 382 of_node_put(child_np); in aemif_probe() 407 for_each_available_child_of_node(np, child_np) { in aemif_probe() 408 ret = of_platform_populate(child_np, NULL, in aemif_probe() 411 of_node_put(child_np); in aemif_probe()
|
D | pl172.c | 196 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()
|
/Linux-v5.15/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 | 1232 struct device_node *child_np; in mtk_tphy_probe() local 1278 for_each_child_of_node(np, child_np) { in mtk_tphy_probe() 1292 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe() 1300 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe() 1325 retval = phy_type_syscon_get(instance, child_np); in mtk_tphy_probe() 1334 of_node_put(child_np); in mtk_tphy_probe()
|
/Linux-v5.15/drivers/soc/qcom/ |
D | cpr.c | 1047 struct device_node *child_np = NULL; in cpr_get_opp_hz_for_req() local 1060 child_np = of_get_next_available_child(desc_np, child_np); in cpr_get_opp_hz_for_req() 1061 child_req_np = of_parse_phandle(child_np, "required-opps", 0); in cpr_get_opp_hz_for_req() 1062 } while (child_np && child_req_np != ref_np); in cpr_get_opp_hz_for_req() 1064 if (child_np && child_req_np == ref_np) in cpr_get_opp_hz_for_req() 1065 of_property_read_u64(child_np, "opp-hz", &rate); in cpr_get_opp_hz_for_req() 1068 of_node_put(child_np); in cpr_get_opp_hz_for_req()
|
/Linux-v5.15/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 900 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()
|