Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/platforms/powernv/
Dopal-imc.c88 u32 *chipid_arr; in imc_get_mem_addr_nest() local
98 chipid_arr = kcalloc(nr_chips, sizeof(*chipid_arr), GFP_KERNEL); in imc_get_mem_addr_nest()
99 if (!chipid_arr) { in imc_get_mem_addr_nest()
104 if (of_property_read_u32_array(node, "chip-id", chipid_arr, nr_chips)) in imc_get_mem_addr_nest()
117 pmu_ptr->mem_info[i].id = chipid_arr[i]; in imc_get_mem_addr_nest()
124 kfree(chipid_arr); in imc_get_mem_addr_nest()
129 kfree(chipid_arr); in imc_get_mem_addr_nest()