Searched refs:mem_range (Results 1 – 2 of 2) sorted by relevance
151 struct stm32_rproc_mem_ranges *mem_range; in stm32_rproc_of_memory_translations() local158 sizeof(*mem_range)); in stm32_rproc_of_memory_translations()167 mem_range = kcalloc(cnt, sizeof(*mem_range), GFP_KERNEL); in stm32_rproc_of_memory_translations()168 if (!mem_range) in stm32_rproc_of_memory_translations()174 (u32 *)mem_range, array_size); in stm32_rproc_of_memory_translations()181 p_mems[i].bus_addr = mem_range[i].bus_addr; in stm32_rproc_of_memory_translations()182 p_mems[i].dev_addr = mem_range[i].dev_addr; in stm32_rproc_of_memory_translations()183 p_mems[i].size = mem_range[i].size; in stm32_rproc_of_memory_translations()194 kfree(mem_range); in stm32_rproc_of_memory_translations()
1606 struct range_node *mem_range = NULL; in add_new_bus() local1632 mem_range = kzalloc(sizeof(*mem_range), GFP_KERNEL); in add_new_bus()1633 if (!mem_range) in add_new_bus()1636 mem_range->start = mem->start; in add_new_bus()1637 mem_range->end = mem->end; in add_new_bus()1638 mem_range->rangeno = 1; in add_new_bus()1640 bus->rangeMem = mem_range; in add_new_bus()