Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-imc.c89 u32 *chipid_arr; in imc_get_mem_addr_nest() local
99 chipid_arr = kcalloc(nr_chips, sizeof(*chipid_arr), GFP_KERNEL); in imc_get_mem_addr_nest()
100 if (!chipid_arr) { in imc_get_mem_addr_nest()
105 if (of_property_read_u32_array(node, "chip-id", chipid_arr, nr_chips)) in imc_get_mem_addr_nest()
118 pmu_ptr->mem_info[i].id = chipid_arr[i]; in imc_get_mem_addr_nest()
125 kfree(chipid_arr); in imc_get_mem_addr_nest()
130 kfree(chipid_arr); in imc_get_mem_addr_nest()