Searched refs:np2 (Results 1 – 2 of 2) sorted by relevance
/drivers/soc/fsl/qe/ |
D | qe_tdm.c | 48 struct device_node *np2; in ucc_of_parse_tdm() local 128 np2 = of_find_compatible_node(NULL, NULL, "fsl,t1040-qe-si"); in ucc_of_parse_tdm() 129 if (!np2) in ucc_of_parse_tdm() 132 pdev = of_find_device_by_node(np2); in ucc_of_parse_tdm() 134 pr_err("%s: failed to lookup pdev\n", np2->name); in ucc_of_parse_tdm() 135 of_node_put(np2); in ucc_of_parse_tdm() 139 of_node_put(np2); in ucc_of_parse_tdm() 147 np2 = of_find_compatible_node(NULL, NULL, "fsl,t1040-qe-siram"); in ucc_of_parse_tdm() 148 if (!np2) { in ucc_of_parse_tdm() 153 pdev = of_find_device_by_node(np2); in ucc_of_parse_tdm() [all …]
|
/drivers/net/phy/ |
D | mdio-mux-mmioreg.c | 71 struct device_node *np2, *np = pdev->dev.of_node; in mdio_mux_mmioreg_probe() local 111 for_each_available_child_of_node(np, np2) { in mdio_mux_mmioreg_probe() 112 iprop = of_get_property(np2, "reg", &len); in mdio_mux_mmioreg_probe() 115 "missing a 'reg' property\n", np2->full_name); in mdio_mux_mmioreg_probe() 116 of_node_put(np2); in mdio_mux_mmioreg_probe() 122 np2->full_name); in mdio_mux_mmioreg_probe() 123 of_node_put(np2); in mdio_mux_mmioreg_probe()
|