Lines Matching refs:np
76 struct device_node *np; in mpc83xx_ipic_init_IRQ() local
79 np = of_find_compatible_node(NULL, NULL, "fsl,ipic"); in mpc83xx_ipic_init_IRQ()
80 if (!np) in mpc83xx_ipic_init_IRQ()
81 np = of_find_node_by_type(NULL, "ipic"); in mpc83xx_ipic_init_IRQ()
82 if (!np) in mpc83xx_ipic_init_IRQ()
85 ipic_init(np, 0); in mpc83xx_ipic_init_IRQ()
87 of_node_put(np); in mpc83xx_ipic_init_IRQ()
98 struct device_node *np; in mpc83xx_qe_init_IRQ() local
100 np = of_find_compatible_node(NULL, NULL, "fsl,qe-ic"); in mpc83xx_qe_init_IRQ()
101 if (!np) { in mpc83xx_qe_init_IRQ()
102 np = of_find_node_by_type(NULL, "qeic"); in mpc83xx_qe_init_IRQ()
103 if (!np) in mpc83xx_qe_init_IRQ()
106 qe_ic_init(np, 0, qe_ic_cascade_low_ipic, qe_ic_cascade_high_ipic); in mpc83xx_qe_init_IRQ()
107 of_node_put(np); in mpc83xx_qe_init_IRQ()
137 struct device_node *np; in mpc83xx_setup_pci() local
139 for_each_compatible_node(np, "pci", "fsl,mpc8349-pci") in mpc83xx_setup_pci()
140 mpc83xx_add_bridge(np); in mpc83xx_setup_pci()
141 for_each_compatible_node(np, "pci", "fsl,mpc8314-pcie") in mpc83xx_setup_pci()
142 mpc83xx_add_bridge(np); in mpc83xx_setup_pci()