Lines Matching full:buffer

64  * @brief Preallocate buffer in memory region associated with the specified device node
78 * @brief Prepare a DMA output buffer for the specified device
80 * Allocate an output buffer in memory region that given device can perform DMA transfers from.
82 * Writeback data cache lines associated with output buffer, if needed.
84 * @note Depending on provided user buffer parameters and SoC architecture,
88 * to support transmitting and receiving data to the same buffer.
92 * or @ref dmm_buffer_in_release is called on the same buffer
95 * @param region Memory region associated with device to prepare the buffer for.
96 * @param user_buffer CPU address (virtual if applicable) of the buffer containing data
98 * @param user_length Length of the buffer containing data to be processed by the given device.
99 * @param buffer_out Pointer to a bus address of a buffer containing the prepared DMA buffer.
102 * @retval -ENOMEM If output buffer could not be allocated.
109 * @brief Release the previously prepared DMA output buffer
111 * @param region Memory region associated with device to release the buffer for.
112 * @param buffer_out Bus address of the DMA output buffer previously prepared
121 * @brief Prepare a DMA input buffer for the specified device
123 * Allocate an input buffer in memory region that given device can perform DMA transfers to.
125 * @note Depending on provided user buffer parameters and SoC architecture,
130 * is called on the same buffer or until this function returns with an error.
132 * @param region Memory region associated with device to prepare the buffer for.
133 * @param user_buffer CPU address (virtual if applicable) of the buffer to be filled with data
135 * @param user_length Length of the buffer to be filled with data from the given device.
136 * @param buffer_in Pointer to a bus address of a buffer containing the prepared DMA buffer.
139 * @retval -ENOMEM If input buffer could not be allocated.
145 * @brief Release the previously prepared DMA input buffer
147 * Invalidate data cache lines associated with input buffer, if needed.
150 * @param region Memory region associated with device to release the buffer for.
151 * @param user_buffer CPU address (virtual if applicable) of the buffer to be filled with data
153 * @param user_length Length of the buffer to be filled with data from the given device.
154 * @param buffer_in Bus address of the DMA input buffer previously prepared