Lines Matching defs:buffer
47 /* MAP static DMA buffer on DSP User PD */
127 u64 pv; /* buffer pointer */
128 u64 len; /* length of buffer */
530 /* sort with lowest starting buffer first */
532 /* sort with highest ending buffer first */
676 struct fastrpc_buf *buffer = dmabuf->priv;
678 fastrpc_buf_free(buffer);
685 struct fastrpc_buf *buffer = dmabuf->priv;
692 ret = dma_get_sgtable(buffer->dev, &a->sgt, buffer->virt,
693 FASTRPC_PHYS(buffer->phys), buffer->size);
695 dev_err(buffer->dev, "failed to get scatterlist from DMA API\n");
704 mutex_lock(&buffer->lock);
705 list_add(&a->node, &buffer->attachments);
706 mutex_unlock(&buffer->lock);
715 struct fastrpc_buf *buffer = dmabuf->priv;
717 mutex_lock(&buffer->lock);
719 mutex_unlock(&buffer->lock);
843 * Fastrpc payload buffer with metadata looks like:
1167 /* Send invoke buffer to remote dsp */
1881 dev_err(dev, "failed to allocate buffer\n");
1910 /* update the buffer to be able to deallocate the memory on the DSP */
2022 dev_err(dev, "failed to map buffer, fd = %d\n", req.fd);
2058 /* update the buffer to be able to deallocate the memory on the DSP */
2065 /* unmap the memory and release the buffer */
2428 * The DMA buffer associated with the context cannot be freed in