Searched refs:pthr (Results 1 – 1 of 1) sorted by relevance
772 struct perf_thread *pthr = data; in perf_dma_copy_callback() local774 atomic_dec(&pthr->dma_sync); in perf_dma_copy_callback()775 wake_up(&pthr->dma_wait); in perf_dma_copy_callback()778 static int perf_copy_chunk(struct perf_thread *pthr, in perf_copy_chunk() argument791 dma_dev = pthr->dma_chan->device->dev; in perf_copy_chunk()793 if (!is_dma_copy_aligned(pthr->dma_chan->device, offset_in_page(src), in perf_copy_chunk()819 tx = dmaengine_prep_dma_memcpy(pthr->dma_chan, unmap->addr[1], in perf_copy_chunk()831 tx->callback_param = pthr; in perf_copy_chunk()842 atomic_inc(&pthr->dma_sync); in perf_copy_chunk()843 dma_async_issue_pending(pthr->dma_chan); in perf_copy_chunk()[all …]