mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
dma: Fix function names in documentation
Ensure the function names match. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-id: 20241012-dma-v2-1-6afddf5f3c8d@daynix.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
f7214f99ff
commit
8bd6072de3
1 changed files with 5 additions and 6 deletions
|
@ -152,7 +152,7 @@ static inline MemTxResult dma_memory_read(AddressSpace *as, dma_addr_t addr,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* address_space_write: Write to address space from DMA controller.
|
* dma_memory_write: Write to address space from DMA controller.
|
||||||
*
|
*
|
||||||
* Return a MemTxResult indicating whether the operation succeeded
|
* Return a MemTxResult indicating whether the operation succeeded
|
||||||
* or failed (eg unassigned memory, device rejected the transaction,
|
* or failed (eg unassigned memory, device rejected the transaction,
|
||||||
|
@ -189,7 +189,7 @@ MemTxResult dma_memory_set(AddressSpace *as, dma_addr_t addr,
|
||||||
uint8_t c, dma_addr_t len, MemTxAttrs attrs);
|
uint8_t c, dma_addr_t len, MemTxAttrs attrs);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* address_space_map: Map a physical memory region into a host virtual address.
|
* dma_memory_map: Map a physical memory region into a host virtual address.
|
||||||
*
|
*
|
||||||
* May map a subset of the requested range, given by and returned in @plen.
|
* May map a subset of the requested range, given by and returned in @plen.
|
||||||
* May return %NULL and set *@plen to zero(0), if resources needed to perform
|
* May return %NULL and set *@plen to zero(0), if resources needed to perform
|
||||||
|
@ -216,16 +216,15 @@ static inline void *dma_memory_map(AddressSpace *as,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* address_space_unmap: Unmaps a memory region previously mapped
|
* dma_memory_unmap: Unmaps a memory region previously mapped by dma_memory_map()
|
||||||
* by dma_memory_map()
|
|
||||||
*
|
*
|
||||||
* Will also mark the memory as dirty if @dir == %DMA_DIRECTION_FROM_DEVICE.
|
* Will also mark the memory as dirty if @dir == %DMA_DIRECTION_FROM_DEVICE.
|
||||||
* @access_len gives the amount of memory that was actually read or written
|
* @access_len gives the amount of memory that was actually read or written
|
||||||
* by the caller.
|
* by the caller.
|
||||||
*
|
*
|
||||||
* @as: #AddressSpace used
|
* @as: #AddressSpace used
|
||||||
* @buffer: host pointer as returned by address_space_map()
|
* @buffer: host pointer as returned by dma_memory_map()
|
||||||
* @len: buffer length as returned by address_space_map()
|
* @len: buffer length as returned by dma_memory_map()
|
||||||
* @dir: indicates the transfer direction
|
* @dir: indicates the transfer direction
|
||||||
* @access_len: amount of data actually transferred
|
* @access_len: amount of data actually transferred
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue