- 26 Feb, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 20 Feb, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 18 Feb, 2014 2 commits
-
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
to not become crasy while grepping xx_exit or xx_init function (sorry...)
-
- 15 Feb, 2014 1 commit
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 31 Oct, 2013 7 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
This is meant to fire the FMCADC_EDISABLED error when reconfiguring and ongoing acquisition for which somebody is already waiting.
-
Alessandro Rubini authored
Every function that is sable to wait for a timeout now may return -1 with FMCADC_EDISABLED. The new zio commits support that by returning POLLERR when using poll(2) over a control file descriptor and the trigger is disabled. A non-zio driver may support something similar. Thus, an application may disable the trigger to unlock with error any thread waiting for an input block. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This adds a flushing option when the device is opened and when a new acquisition is requested.. The code uses poll(2) and allows for POLLERR to be returned, so it is prepared for the new zio semantics of poll(2) for control files. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 30 Oct, 2013 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 08 Oct, 2013 1 commit
-
-
Michel Arruat authored
-
- 19 Sep, 2013 1 commit
-
-
Juan David González Cobas authored
-
- 28 Aug, 2013 2 commits
-
-
Federico Vaga authored
Release invalid blocks on DMA error Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Juan David González Cobas authored
It is fair and necessary for peaceful coexistence of the driver with other peers like FD and TDC.
-
- 08 Aug, 2013 2 commits
-
-
Juan David González Cobas authored
This avoids page-split dma_items in a very dirty way
-
Juan David González Cobas authored
Debugging DMA error required to spot what next dma_item adresses were being communicated to the DMA core; the trace message has been deferred accordingly
-
- 06 Aug, 2013 1 commit
-
-
Juan David González Cobas authored
-
- 08 Jul, 2013 1 commit
-
-
Juan David González Cobas authored
-
- 05 Jul, 2013 16 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This set of commits completely reviews and simplifies the API, fixing the sequence of allocation/fill/deallocation for buffers.
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Federico Vaga authored
At open time, users are expected to pass the total number of samples they expect to need in their buffer, not the total number of bytes. The name now matches current use in fald-simple-acq. Signed-off-by: Federico Vaga <federico.vaga@gmail.com> Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
We need mapaddr and mapsize for munmap() at buffer_release time. And we need the device pointer (not drivername) in order to route the get_tstamp method. drivername, if needed, is in the device anyways. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> SQUASH proto Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The prototypes for buffer management so far were wrong. request_buffer() (which up to now both allocates and fille) is going to only allocate the buffer, so it doesn't need a timeout. fill_buffer() on the other hand can have a timeout -- although if you used ack_poll() or acq_start() with no timetout, the filling is expected to complete immediately. The current request_buffer(), which still fills is too, now uses NULL as a timeout, which isn't an argument any more. ./tools/fald-simple-acq works unchanged, as it already passed NULL as timeout. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This reverts commit b6b81e29. I don't now why, yet, but now multi-shot acquisition acquires a 1-sample error at each shot. So either hw documentation is wrong, or this patch is incomplete (for example, the hardware value is read back and used -- this is most likely but I have no time to check now).
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-