Lines Matching full:virtual
20 * device virtual memory.
24 * virtual range which is a half of the total device virtual range.
26 * On each mapping of physical pages, a suitable virtual range chunk (with a
31 * On each Unmapping of a virtual address, the relevant virtual chunk is
37 * virtual range (which is a half of the device total virtual range).
166 * dma_map_host_va - DMA mapping of the given host virtual address.
168 * @addr: the host virtual address of the memory area
220 * dma_unmap_host_va - DMA unmapping of the given host virtual address.
345 * clear_va_list_locked - free virtual addresses list
348 * @va_list : list of virtual addresses to free
351 * - Iterate over the list and free each virtual addresses block
367 * print_va_list_locked - print virtual addresses list
370 * @va_list : list of virtual addresses to print
373 * - Iterate over the list and print each virtual addresses block
393 * merge_va_blocks_locked - merge a virtual block if possible
396 * @va_list : pointer to the virtual addresses block list
397 * @va_block : virtual block to merge with adjacent blocks
400 * - Merge the given blocks with the adjacent blocks if their virtual ranges
401 * create a contiguous virtual range
429 * add_va_block_locked - add a virtual block to the virtual addresses list
432 * @va_list : pointer to the virtual addresses block list
433 * @start : start virtual address
434 * @end : end virtual address
437 * - Add the given block to the virtual blocks list and merge with other
438 * blocks if a contiguous virtual block can be created
488 * @va_list : pointer to the virtual addresses block list
489 * @start : start virtual address
490 * @end : end virtual address
508 * get_va_block() - get a virtual block for the given size and alignment.
510 * @va_range: pointer to the virtual addresses range.
513 * @va_block_align: required alignment of the virtual block start address.
516 * - Iterate on the virtual block list to find a suitable virtual block for the
519 * - Return the start address of the virtual block.
629 * - Pin the physical pages related to the given virtual block
631 * virtual block
726 * @vaddr: start address of the virtual area to map from
730 * - Maps each chunk of virtual memory to matching physical chunk
780 * @vaddr: start address of the virtual area to unmap
836 * @args : host parameters with handle/host virtual address
837 * @device_addr : pointer to result device virtual address
840 * - If given a physical device memory handle, map to a device virtual block
842 * - If given a host virtual address and size, find the related physical pages,
843 * map a device virtual block to this pages and return the start address of
1022 * unmap_device_va - unmap the given device virtual address
1025 * @vaddr : device virtual address to unmap
1029 * - Unmap the physical pages related to the given virtual address
1030 * - return the device virtual block to the virtual block list
1339 * @addr: the host virtual address of the memory area
1490 * va_range_init - initialize virtual addresses range
1497 * - Initializes the virtual addresses list of the given range with the given
1536 * va_range_fini() - clear a virtual addresses range
1538 * va_range: pointer to virtual addresses range
1541 * - Frees the virtual addresses block list and its lock
1555 * vm_ctx_init_with_ranges() - initialize virtual memory for context
1557 * @host_range_start: host virtual addresses range start.
1558 * @host_range_end: host virtual addresses range end.
1559 * @host_huge_range_start: host virtual addresses range start for memory
1561 * @host_huge_range_end: host virtual addresses range end for memory allocated
1563 * @dram_range_start: dram virtual addresses range start.
1564 * @dram_range_end: dram virtual addresses range end.
1568 * - Virtual address to area descriptor hashtable
1569 * - Virtual block list of available virtual memory
1713 * hl_vm_ctx_fini - virtual memory teardown of context
1718 * - Virtual block list of available virtual memory
1719 * - Virtual address to area descriptor hashtable
1728 * - This function checks the virtual block list for correctness. At this point
1729 * the list should contain one element which describes the whole virtual
1785 * hl_vm_init - initialize virtual memory module
1834 * hl_vm_fini - virtual memory module teardown