Home
last modified time | relevance | path

Searched refs:cpu_dn (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm/mm/
H A Dcache-b15-rac.c291 struct device_node *dn, *cpu_dn; in b15_rac_init() local
309 cpu_dn = of_get_cpu_node(0, NULL); in b15_rac_init()
310 if (!cpu_dn) { in b15_rac_init()
315 if (of_device_is_compatible(cpu_dn, "brcm,brahma-b15")) in b15_rac_init()
317 else if (of_device_is_compatible(cpu_dn, "brcm,brahma-b53")) in b15_rac_init()
321 of_node_put(cpu_dn); in b15_rac_init()
325 of_node_put(cpu_dn); in b15_rac_init()
/openbmc/linux/drivers/soc/bcm/brcmstb/
H A Dbiuctrl.c255 struct device_node *cpu_dn; in setup_hifcpubiuctrl_regs() local
268 cpu_dn = of_get_cpu_node(0, NULL); in setup_hifcpubiuctrl_regs()
269 if (!cpu_dn) { in setup_hifcpubiuctrl_regs()
275 if (of_device_is_compatible(cpu_dn, "brcm,brahma-b15")) in setup_hifcpubiuctrl_regs()
277 else if (of_device_is_compatible(cpu_dn, "brcm,brahma-b53")) in setup_hifcpubiuctrl_regs()
279 else if (of_device_is_compatible(cpu_dn, "arm,cortex-a72")) in setup_hifcpubiuctrl_regs()
285 of_node_put(cpu_dn); in setup_hifcpubiuctrl_regs()