Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-imc.c87 u64 *base_addr_arr, baddr; in imc_get_mem_addr_nest() local
94 base_addr_arr = kcalloc(nr_chips, sizeof(*base_addr_arr), GFP_KERNEL); in imc_get_mem_addr_nest()
95 if (!base_addr_arr) in imc_get_mem_addr_nest()
100 kfree(base_addr_arr); in imc_get_mem_addr_nest()
107 if (of_property_read_u64_array(node, "base-addr", base_addr_arr, in imc_get_mem_addr_nest()
118 baddr = base_addr_arr[i] + offset; in imc_get_mem_addr_nest()
123 kfree(base_addr_arr); in imc_get_mem_addr_nest()
128 kfree(base_addr_arr); in imc_get_mem_addr_nest()