Lines Matching refs:memoryMap

144 		if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) {  in pm8001_free()
146 pm8001_ha->memoryMap.region[i].element_size, in pm8001_free()
147 pm8001_ha->memoryMap.region[i].virt_ptr, in pm8001_free()
148 pm8001_ha->memoryMap.region[i].phys_addr); in pm8001_free()
216 pm8001_ha->memoryMap.region[AAP1].num_elements = 1; in pm8001_alloc()
217 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
218 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
219 pm8001_ha->memoryMap.region[AAP1].alignment = 32; in pm8001_alloc()
222 pm8001_ha->memoryMap.region[IOP].num_elements = 1; in pm8001_alloc()
223 pm8001_ha->memoryMap.region[IOP].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
224 pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
225 pm8001_ha->memoryMap.region[IOP].alignment = 32; in pm8001_alloc()
228 pm8001_ha->memoryMap.region[CI].num_elements = 1; in pm8001_alloc()
229 pm8001_ha->memoryMap.region[CI].element_size = 4; in pm8001_alloc()
230 pm8001_ha->memoryMap.region[CI].total_len = 4; in pm8001_alloc()
231 pm8001_ha->memoryMap.region[CI].alignment = 4; in pm8001_alloc()
234 pm8001_ha->memoryMap.region[PI].num_elements = 1; in pm8001_alloc()
235 pm8001_ha->memoryMap.region[PI].element_size = 4; in pm8001_alloc()
236 pm8001_ha->memoryMap.region[PI].total_len = 4; in pm8001_alloc()
237 pm8001_ha->memoryMap.region[PI].alignment = 4; in pm8001_alloc()
240 pm8001_ha->memoryMap.region[IB].num_elements = 256; in pm8001_alloc()
241 pm8001_ha->memoryMap.region[IB].element_size = 64; in pm8001_alloc()
242 pm8001_ha->memoryMap.region[IB].total_len = 256 * 64; in pm8001_alloc()
243 pm8001_ha->memoryMap.region[IB].alignment = 64; in pm8001_alloc()
246 pm8001_ha->memoryMap.region[OB].num_elements = 256; in pm8001_alloc()
247 pm8001_ha->memoryMap.region[OB].element_size = 64; in pm8001_alloc()
248 pm8001_ha->memoryMap.region[OB].total_len = 256 * 64; in pm8001_alloc()
249 pm8001_ha->memoryMap.region[OB].alignment = 64; in pm8001_alloc()
252 pm8001_ha->memoryMap.region[NVMD].num_elements = 1; in pm8001_alloc()
253 pm8001_ha->memoryMap.region[NVMD].element_size = 4096; in pm8001_alloc()
254 pm8001_ha->memoryMap.region[NVMD].total_len = 4096; in pm8001_alloc()
256 pm8001_ha->memoryMap.region[DEV_MEM].num_elements = 1; in pm8001_alloc()
257 pm8001_ha->memoryMap.region[DEV_MEM].element_size = PM8001_MAX_DEVICES * in pm8001_alloc()
259 pm8001_ha->memoryMap.region[DEV_MEM].total_len = PM8001_MAX_DEVICES * in pm8001_alloc()
263 pm8001_ha->memoryMap.region[CCB_MEM].num_elements = 1; in pm8001_alloc()
264 pm8001_ha->memoryMap.region[CCB_MEM].element_size = PM8001_MAX_CCB * in pm8001_alloc()
266 pm8001_ha->memoryMap.region[CCB_MEM].total_len = PM8001_MAX_CCB * in pm8001_alloc()
271 &pm8001_ha->memoryMap.region[i].virt_ptr, in pm8001_alloc()
272 &pm8001_ha->memoryMap.region[i].phys_addr, in pm8001_alloc()
273 &pm8001_ha->memoryMap.region[i].phys_addr_hi, in pm8001_alloc()
274 &pm8001_ha->memoryMap.region[i].phys_addr_lo, in pm8001_alloc()
275 pm8001_ha->memoryMap.region[i].total_len, in pm8001_alloc()
276 pm8001_ha->memoryMap.region[i].alignment) != 0) { in pm8001_alloc()
284 pm8001_ha->devices = pm8001_ha->memoryMap.region[DEV_MEM].virt_ptr; in pm8001_alloc()
291 pm8001_ha->ccb_info = pm8001_ha->memoryMap.region[CCB_MEM].virt_ptr; in pm8001_alloc()
294 pm8001_ha->memoryMap.region[CCB_MEM].phys_addr + in pm8001_alloc()