Lines Matching refs:buffer
405 /* sort with lowest starting buffer first */
407 /* sort with highest ending buffer first */
551 struct fastrpc_buf *buffer = dmabuf->priv;
553 fastrpc_buf_free(buffer);
560 struct fastrpc_buf *buffer = dmabuf->priv;
567 ret = dma_get_sgtable(buffer->dev, &a->sgt, buffer->virt,
568 FASTRPC_PHYS(buffer->phys), buffer->size);
570 dev_err(buffer->dev, "failed to get scatterlist from DMA API\n");
579 mutex_lock(&buffer->lock);
580 list_add(&a->node, &buffer->attachments);
581 mutex_unlock(&buffer->lock);
590 struct fastrpc_buf *buffer = dmabuf->priv;
592 mutex_lock(&buffer->lock);
594 mutex_unlock(&buffer->lock);
687 * Fastrpc payload buffer with metadata looks like:
981 /* Send invoke buffer to remote dsp */
1435 dev_err(dev, "failed to allocate buffer\n");
1464 /* update the buffer to be able to deallocate the memory on the DSP */
1475 /* unmap the memory and release the buffer */
1731 * The DMA buffer associated with the context cannot be freed in