diff options
author | Qipan Li <[email protected]> | 2014-05-04 14:32:36 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-05-20 23:24:20 +0100 |
commit | 41148c3a728222a885bc2f3ba3ce66831de0b244 (patch) | |
tree | e98c1efb42481caa47f2c256b73aef131812e079 /tools/perf/util/trace-event-scripting.c | |
parent | c908ef345d2c314ec25cfac113a8f9bb2b6b3a25 (diff) |
spi: sirf: decrease the interrupt count and latency of PIO mode
current PIO tranfer method be described as follows:
1. fill as much as bytes but no more than 256 bytes(fifo size)
2. enable oflow/uflow/txfifo_empty interrupt
3. isr process 3 interrupt signal, do complete works.
4. after isr done, if there are left bytes go into 1 else go into 5
5. transfer end
by current PIO transfer method:
1. reduce interrupt counts in spi interrupt line.
2. reduce interrupt latency because no do data fill/fetch in isr.
Signed-off-by: Qipan Li <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions