Lines Matching full:memory

3  * Pointer to dma-buf-mapped memory, plus helpers.
15 * Calling dma-buf's vmap operation returns a pointer to the buffer's memory.
17 * I/O operations or memory load/store operations. For example, copying to
18 * system memory could be done with memcpy(), copying to I/O memory would be
23 * void *vaddr = ...; // pointer to system memory
26 * void *vaddr_iomem = ...; // pointer to I/O memory
32 * system or I/O memory and a flag that signals the required method of
34 * to access the buffer's memory in the correct way.
38 * among devices, drivers have to know the location of the memory to access
49 * dma_buf_map_set_vaddr(). These helpers will set an address in system memory.
57 * To set an address in I/O memory, use dma_buf_map_set_vaddr_iomem().
65 * always refer to system memory.
81 * memory spaces, system or I/O, are never equal. That's even true if both
87 * struct dma_buf_map sys_map; // refers to system memory
88 * struct dma_buf_map io_map; // refers to I/O memory
94 * the buffer memory. Depending on the location of the memory, the provided
95 * helpers will pick the correct operations. Data can be copied into the memory
109 * struct dma_buf_map - Pointer to vmap'ed dma-buf memory.
110 * @vaddr_iomem: The buffer's address if in I/O memory
111 * @vaddr: The buffer's address if in system memory
112 * @is_iomem: True if the dma-buf memory is located in I/O
113 * memory, or false otherwise.
124 * DMA_BUF_MAP_INIT_VADDR - Initializes struct dma_buf_map to an address in system memory
125 * @vaddr_: A system-memory address
134 * dma_buf_map_set_vaddr - Sets a dma-buf mapping structure to an address in system memory
136 * @vaddr: A system-memory address
138 * Sets the address and clears the I/O-memory flag.
147 * dma_buf_map_set_vaddr_iomem - Sets a dma-buf mapping structure to an address in I/O memory
149 * @vaddr_iomem: An I/O-memory address
151 * Sets the address and the I/O-memory flag.
165 * Two dma-buf mapping structures are equal if they both refer to the same type of memory
166 * and to the same address within that memory.
219 * mapping structures that were set to point to I/O memory are reset for
220 * system memory. Pointers are cleared to NULL. This is the default.
239 * memory. Depending on the buffer's location, the helper picks the correct
240 * method of accessing the memory.