Lines Matching refs:buffer
269 * host DMA buffer has been wrapped. We should output the trace data
270 * at the end of host DMA buffer at first.
316 static ssize_t dfsentry_dtrace_read(struct file *file, char __user *buffer,
336 /* check for buffer wrap and count overflow */
357 * data buffer might be allocated from non consistent memory.
363 rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count);
451 params.buffer.phy_addr = priv->dmatp.addr;
452 params.buffer.size = priv->dmatb.bytes;
453 params.buffer.pages = priv->dma_trace_pages;
514 /* allocate trace page table buffer */
522 /* allocate trace data buffer */
527 dev_err(sdev->dev, "can't alloc buffer for trace %d\n", ret);
575 "DSP trace buffer overflow %u bytes. Total messages %d\n",