Searched refs:pthr (Results 1 – 1 of 1) sorted by relevance
767 struct perf_thread *pthr = data; in perf_dma_copy_callback() local769 atomic_dec(&pthr->dma_sync); in perf_dma_copy_callback()770 wake_up(&pthr->dma_wait); in perf_dma_copy_callback()773 static int perf_copy_chunk(struct perf_thread *pthr, in perf_copy_chunk() argument786 dma_dev = pthr->dma_chan->device->dev; in perf_copy_chunk()788 if (!is_dma_copy_aligned(pthr->dma_chan->device, offset_in_page(src), in perf_copy_chunk()814 tx = dmaengine_prep_dma_memcpy(pthr->dma_chan, unmap->addr[1], in perf_copy_chunk()826 tx->callback_param = pthr; in perf_copy_chunk()837 atomic_inc(&pthr->dma_sync); in perf_copy_chunk()838 dma_async_issue_pending(pthr->dma_chan); in perf_copy_chunk()[all …]