Lines Matching refs:cpu_node
502 struct device_node *cpu_node; in cache_chain_instantiate() local
508 cpu_node = of_get_cpu_node(cpu_id, NULL); in cache_chain_instantiate()
509 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_chain_instantiate()
510 if (!cpu_node) in cache_chain_instantiate()
515 cpu_cache = cache_lookup_or_instantiate(cpu_node, group_id, 1); in cache_chain_instantiate()
523 of_node_put(cpu_node); in cache_chain_instantiate()
847 struct device_node *cpu_node; in cache_lookup_by_cpu() local
851 cpu_node = of_get_cpu_node(cpu_id, NULL); in cache_lookup_by_cpu()
852 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_lookup_by_cpu()
853 if (!cpu_node) in cache_lookup_by_cpu()
857 cache = cache_lookup_by_node_group(cpu_node, group_id); in cache_lookup_by_cpu()
858 of_node_put(cpu_node); in cache_lookup_by_cpu()