lkml.org 
[lkml]   [2019]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 05/12] dmaengine: Add support for reporting DMA cached data amount
On 20-12-19, 10:49, Peter Ujfalusi wrote:

> >> +static inline void dma_set_in_flight_bytes(struct dma_tx_state *state,
> >> + u32 in_flight_bytes)
> >> +{
> >> + if (state)
> >> + state->in_flight_bytes = in_flight_bytes;
> >> +}
> >
> > This would be used by dmaengine drivers right, so lets move it to drivers/dma/dmaengine.h
> >
> > lets not expose this to users :)
>
> I have put it where the dma_set_residue() was.
> I can add a patch first to move dma_set_residue() then add

not sure I follow, but dma_set_residue() in already in drivers/dma/dmaengine.h

> dma_set_in_flight_bytes() there as well?

--
~Vinod

\
 
 \ /
  Last update: 2019-12-20 10:58    [W:0.048 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site