Home
last modified time | relevance | path

Searched refs:child_np (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
H A Dsti_drv.c237 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
H A Dsti_drv.c233 struct device_node *child_np; in sti_platform_probe() local
240 child_np = of_get_next_available_child(node, NULL); in sti_platform_probe()
242 while (child_np) { in sti_platform_probe()
244 child_np); in sti_platform_probe()
245 child_np = of_get_next_available_child(node, child_np); in sti_platform_probe()
/kernel/linux/linux-5.10/drivers/memory/
H A 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()
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()
H A Dpl172.c196 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()
/kernel/linux/linux-6.6/drivers/memory/
H A Dti-aemif.c333 struct device_node *child_np; in aemif_probe() local
377 for_each_available_child_of_node(np, child_np) { in aemif_probe()
378 ret = of_aemif_parse_abus_config(pdev, child_np); in aemif_probe()
380 of_node_put(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()
409 of_node_put(child_np); in aemif_probe()
H A Dpl172.c196 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()
/kernel/linux/linux-5.10/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c941 struct device_node *child_np) in rockchip_usb2phy_host_port_init()
952 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_host_port_init()
983 struct device_node *child_np) in rockchip_usb2phy_otg_port_init()
1002 rport->mode = of_usb_get_dr_mode_by_phy(child_np, -1); in rockchip_usb2phy_otg_port_init()
1017 rport->otg_mux_irq = of_irq_get_byname(child_np, "otg-mux"); in rockchip_usb2phy_otg_port_init()
1031 rport->bvalid_irq = of_irq_get_byname(child_np, "otg-bvalid"); in rockchip_usb2phy_otg_port_init()
1068 struct device_node *child_np; in rockchip_usb2phy_probe() local
1151 for_each_available_child_of_node(np, child_np) { in rockchip_usb2phy_probe()
1156 if (!of_node_name_eq(child_np, "host-port") && in rockchip_usb2phy_probe()
1157 !of_node_name_eq(child_np, "ot in rockchip_usb2phy_probe()
939 rockchip_usb2phy_host_port_init(struct rockchip_usb2phy *rphy, struct rockchip_usb2phy_port *rport, struct device_node *child_np) rockchip_usb2phy_host_port_init() argument
981 rockchip_usb2phy_otg_port_init(struct rockchip_usb2phy *rphy, struct rockchip_usb2phy_port *rport, struct device_node *child_np) rockchip_usb2phy_otg_port_init() argument
[all...]
H A Dphy-rockchip-typec.c1102 struct device_node *child_np; in rockchip_typec_phy_probe() local
1166 for_each_available_child_of_node(np, child_np) { in rockchip_typec_phy_probe()
1169 if (of_node_name_eq(child_np, "dp-port")) in rockchip_typec_phy_probe()
1170 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1172 else if (of_node_name_eq(child_np, "usb3-port")) in rockchip_typec_phy_probe()
1173 phy = devm_phy_create(dev, child_np, in rockchip_typec_phy_probe()
1180 child_np); in rockchip_typec_phy_probe()
/kernel/linux/linux-6.6/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c1115 struct device_node *child_np) in rockchip_usb2phy_port_irq_init()
1128 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_port_irq_init()
1149 rport->otg_mux_irq = of_irq_get_byname(child_np, "otg-mux"); in rockchip_usb2phy_port_irq_init()
1163 rport->bvalid_irq = of_irq_get_byname(child_np, "otg-bvalid"); in rockchip_usb2phy_port_irq_init()
1182 rport->id_irq = of_irq_get_byname(child_np, "otg-id"); in rockchip_usb2phy_port_irq_init()
1211 struct device_node *child_np) in rockchip_usb2phy_host_port_init()
1222 ret = rockchip_usb2phy_port_irq_init(rphy, rport, child_np); in rockchip_usb2phy_host_port_init()
1244 struct device_node *child_np) in rockchip_usb2phy_otg_port_init()
1263 rport->mode = of_usb_get_dr_mode_by_phy(child_np, -1); in rockchip_usb2phy_otg_port_init()
1273 ret = rockchip_usb2phy_port_irq_init(rphy, rport, child_np); in rockchip_usb2phy_otg_port_init()
1113 rockchip_usb2phy_port_irq_init(struct rockchip_usb2phy *rphy, struct rockchip_usb2phy_port *rport, struct device_node *child_np) rockchip_usb2phy_port_irq_init() argument
1209 rockchip_usb2phy_host_port_init(struct rockchip_usb2phy *rphy, struct rockchip_usb2phy_port *rport, struct device_node *child_np) rockchip_usb2phy_host_port_init() argument
1242 rockchip_usb2phy_otg_port_init(struct rockchip_usb2phy *rphy, struct rockchip_usb2phy_port *rport, struct device_node *child_np) rockchip_usb2phy_otg_port_init() argument
1304 struct device_node *child_np; rockchip_usb2phy_probe() local
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/phy/mediatek/
H A Dphy-mtk-xsphy.c435 struct device_node *child_np; in mtk_xsphy_probe() local
474 for_each_child_of_node(np, child_np) { in mtk_xsphy_probe()
486 phy = devm_phy_create(dev, child_np, &mtk_xsphy_ops); in mtk_xsphy_probe()
493 retval = of_address_to_resource(child_np, 0, &res); in mtk_xsphy_probe()
524 of_node_put(child_np); in mtk_xsphy_probe()
H A Dphy-mtk-tphy.c1555 struct device_node *child_np; in mtk_tphy_probe() local
1601 for_each_child_of_node(np, child_np) { in mtk_tphy_probe()
1615 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1623 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1648 retval = phy_type_syscon_get(instance, child_np); in mtk_tphy_probe()
1657 of_node_put(child_np); in mtk_tphy_probe()
/kernel/linux/linux-5.10/drivers/phy/mediatek/
H A 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()
H A Dphy-mtk-tphy.c1097 struct device_node *child_np; in mtk_tphy_probe() local
1140 for_each_child_of_node(np, child_np) { in mtk_tphy_probe()
1152 phy = devm_phy_create(dev, child_np, &mtk_tphy_ops); in mtk_tphy_probe()
1159 retval = of_address_to_resource(child_np, 0, &res); in mtk_tphy_probe()
1198 of_node_put(child_np); in mtk_tphy_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/apm/xgene/
H A 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()
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dcpr.c1080 struct device_node *child_np = NULL; in cpr_get_opp_hz_for_req() local
1093 child_np = of_get_next_available_child(desc_np, child_np); in cpr_get_opp_hz_for_req()
1094 child_req_np = of_parse_phandle(child_np, "required-opps", 0); in cpr_get_opp_hz_for_req()
1095 } while (child_np && child_req_np != ref_np); in cpr_get_opp_hz_for_req()
1097 if (child_np && child_req_np == ref_np) in cpr_get_opp_hz_for_req()
1098 of_property_read_u64(child_np, "opp-hz", &rate); in cpr_get_opp_hz_for_req()
1101 of_node_put(child_np); in cpr_get_opp_hz_for_req()
/kernel/linux/linux-6.6/drivers/pmdomain/qcom/
H A Dcpr.c1046 struct device_node *child_np = NULL; in cpr_get_opp_hz_for_req() local
1059 child_np = of_get_next_available_child(desc_np, child_np); in cpr_get_opp_hz_for_req()
1060 child_req_np = of_parse_phandle(child_np, "required-opps", 0); in cpr_get_opp_hz_for_req()
1061 } while (child_np && child_req_np != ref_np); in cpr_get_opp_hz_for_req()
1063 if (child_np && child_req_np == ref_np) in cpr_get_opp_hz_for_req()
1064 of_property_read_u64(child_np, "opp-hz", &rate); in cpr_get_opp_hz_for_req()
1067 of_node_put(child_np); in cpr_get_opp_hz_for_req()
/kernel/linux/linux-5.10/drivers/net/ethernet/faraday/
H A Dftgmac100.c1752 struct device_node *child_np = of_get_child_by_name(np, name); in ftgmac100_has_child_node() local
1755 if (child_np) { in ftgmac100_has_child_node()
1757 of_node_put(child_np); in ftgmac100_has_child_node()
/kernel/linux/linux-6.6/drivers/net/ethernet/faraday/
H A Dftgmac100.c1779 struct device_node *child_np = of_get_child_by_name(np, name); in ftgmac100_has_child_node() local
1782 if (child_np) { in ftgmac100_has_child_node()
1784 of_node_put(child_np); in ftgmac100_has_child_node()

Completed in 29 milliseconds