Lines Matching refs:memoryMap
189 if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { in pm8001_free()
191 (pm8001_ha->memoryMap.region[i].total_len + in pm8001_free()
192 pm8001_ha->memoryMap.region[i].alignment), in pm8001_free()
193 pm8001_ha->memoryMap.region[i].virt_ptr, in pm8001_free()
194 pm8001_ha->memoryMap.region[i].phys_addr); in pm8001_free()
318 pm8001_ha->memoryMap.region[AAP1].num_elements = 1; in pm8001_alloc()
319 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
320 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
321 pm8001_ha->memoryMap.region[AAP1].alignment = 32; in pm8001_alloc()
324 pm8001_ha->memoryMap.region[IOP].num_elements = 1; in pm8001_alloc()
325 pm8001_ha->memoryMap.region[IOP].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
326 pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
327 pm8001_ha->memoryMap.region[IOP].alignment = 32; in pm8001_alloc()
333 pm8001_ha->memoryMap.region[ci_offset+i].num_elements = 1; in pm8001_alloc()
334 pm8001_ha->memoryMap.region[ci_offset+i].element_size = 4; in pm8001_alloc()
335 pm8001_ha->memoryMap.region[ci_offset+i].total_len = 4; in pm8001_alloc()
336 pm8001_ha->memoryMap.region[ci_offset+i].alignment = 4; in pm8001_alloc()
340 pm8001_ha->memoryMap.region[ib_offset+i].num_elements = in pm8001_alloc()
342 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc()
344 pm8001_ha->memoryMap.region[ib_offset+i].total_len = in pm8001_alloc()
346 pm8001_ha->memoryMap.region[ib_offset+i].alignment in pm8001_alloc()
349 pm8001_ha->memoryMap.region[ib_offset+i].num_elements = in pm8001_alloc()
351 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc()
353 pm8001_ha->memoryMap.region[ib_offset+i].total_len = in pm8001_alloc()
355 pm8001_ha->memoryMap.region[ib_offset+i].alignment = 64; in pm8001_alloc()
363 pm8001_ha->memoryMap.region[pi_offset+i].num_elements = 1; in pm8001_alloc()
364 pm8001_ha->memoryMap.region[pi_offset+i].element_size = 4; in pm8001_alloc()
365 pm8001_ha->memoryMap.region[pi_offset+i].total_len = 4; in pm8001_alloc()
366 pm8001_ha->memoryMap.region[pi_offset+i].alignment = 4; in pm8001_alloc()
370 pm8001_ha->memoryMap.region[ob_offset+i].num_elements = in pm8001_alloc()
372 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc()
374 pm8001_ha->memoryMap.region[ob_offset+i].total_len = in pm8001_alloc()
376 pm8001_ha->memoryMap.region[ob_offset+i].alignment in pm8001_alloc()
380 pm8001_ha->memoryMap.region[ob_offset+i].num_elements = in pm8001_alloc()
382 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc()
384 pm8001_ha->memoryMap.region[ob_offset+i].total_len = in pm8001_alloc()
386 pm8001_ha->memoryMap.region[ob_offset+i].alignment = 64; in pm8001_alloc()
391 pm8001_ha->memoryMap.region[NVMD].num_elements = 1; in pm8001_alloc()
392 pm8001_ha->memoryMap.region[NVMD].element_size = 4096; in pm8001_alloc()
393 pm8001_ha->memoryMap.region[NVMD].total_len = 4096; in pm8001_alloc()
396 pm8001_ha->memoryMap.region[FW_FLASH].total_len = 4096; in pm8001_alloc()
398 pm8001_ha->memoryMap.region[FORENSIC_MEM].num_elements = 1; in pm8001_alloc()
399 pm8001_ha->memoryMap.region[FORENSIC_MEM].total_len = 0x10000; in pm8001_alloc()
400 pm8001_ha->memoryMap.region[FORENSIC_MEM].element_size = 0x10000; in pm8001_alloc()
401 pm8001_ha->memoryMap.region[FORENSIC_MEM].alignment = 0x10000; in pm8001_alloc()
403 struct mpi_mem *region = &pm8001_ha->memoryMap.region[i]; in pm8001_alloc()
435 if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { in pm8001_alloc()
437 (pm8001_ha->memoryMap.region[i].total_len + in pm8001_alloc()
438 pm8001_ha->memoryMap.region[i].alignment), in pm8001_alloc()
439 pm8001_ha->memoryMap.region[i].virt_ptr, in pm8001_alloc()
440 pm8001_ha->memoryMap.region[i].phys_addr); in pm8001_alloc()