- 24 Jun, 2013 2 commits
-
-
Alessandro Rubini authored
This commit redefines the calibration data structure. Mainly, it now is a single structure. This allows to turn a constant number into a sizeof and manage the whole structure as a single entity, preparing for better management (like checking it is valid and fix endianness). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit has very little technical effect, but makes stuff more readable: zfad_get_range(): renamed to zfad_convert_hw_range() zfad_convert_user_range(): new function, same as above by now zfad_calibration(): renamed to zfad_set_range() because this it is. This also changes some management of the range values, to hide hardware values as much as possible, and remove the magic numbers (they now live only within the zfad_hw_range[] array. As for the big switch of attribute settings, a comment now explains where setting happens. And for range settings avoid using the calibration values for RANGE_OPEN, as the code picked unpredicatable values, as RANGE_OPEN is out of array bounds. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 23 Jun, 2013 1 commit
-
-
Alessandro Rubini authored
The four channels are selected by bits 1..4 not 0..3. This commit defines them symbolically as well, in order to make the numbering explicit. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 21 Jun, 2013 4 commits
-
-
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>
-
- 20 Jun, 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>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This changes trigger selection: it is external by deafault and turned to internal by setting "-c". Also, it reorders the help message and simplifies some things (for example by memsetting the config structures to zero at the beginning. 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
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 19 Jun, 2013 3 commits
-
-
Alessandro Rubini authored
printfing dma_addr_t as %lli requires a cast, since it may be a 32-bit item, like it is on my computer. I got meaningless numbers on printk. 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>
-
- 30 Apr, 2013 10 commits
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.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>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.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>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.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>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
- 05 Apr, 2013 6 commits
-
-
Federico Vaga authored
Do not start acquisition if the trigger is not armed Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Federico Vaga authored
In ZIO commit 65b98d18b73dfc41c14b3c5ecac61968f1b94aea the return value of alloc_block() change. Fix allocation error detection: Signed-off-by: Federico Vaga <federico.vaga@gmail.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>
-
Federico Vaga authored
There is a little window of time where it happens that the acquisition_done interrupt come after reading the irq_status but before the irq acknowledgment. The result is that also acquisition_done is acked To solve the problem, the irq handler give the irq acknowledgment only after it handles all active interrupts. Then, it reads again for active interrupt and it handles them Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
- 30 Mar, 2013 2 commits
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
- 27 Mar, 2013 1 commit
-
-
Federico Vaga authored
In single-shot mode, the ADC use the DDR memory as a circular buffer and it continuously writes into the memory until the trigger fire occurs. When the trigger occur we know where our samples are stored thanks to the trigger_position register. Signed-off-by: Federico Vaga <federico.vaga@gmail.com> Signed-off-by: Michel Arruat <michel.arruat@cern.ch>
-
- 26 Mar, 2013 3 commits
-
-
Federico Vaga authored
Reset pre-samples, post-samples and nshots register on trigger instance destroy. This allow a software trigger to work with the ADC with a known configuration. The software trigger will be able to change only the post-samples register Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
Federico Vaga authored
-
Federico Vaga authored
The cset operations init() and exit() are removed from the ZIO framework Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
- 23 Mar, 2013 1 commit
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-