Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-imc.c88 u64 *base_addr_arr, baddr; in imc_get_mem_addr_nest() local
95 base_addr_arr = kcalloc(nr_chips, sizeof(*base_addr_arr), GFP_KERNEL); in imc_get_mem_addr_nest()
96 if (!base_addr_arr) in imc_get_mem_addr_nest()
101 kfree(base_addr_arr); in imc_get_mem_addr_nest()
108 if (of_property_read_u64_array(node, "base-addr", base_addr_arr, in imc_get_mem_addr_nest()
119 baddr = base_addr_arr[i] + offset; in imc_get_mem_addr_nest()
124 kfree(base_addr_arr); in imc_get_mem_addr_nest()
129 kfree(base_addr_arr); in imc_get_mem_addr_nest()