summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/gptimers.h
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-10-29 18:02:09 +0800
committerBryan Wu <bryan.wu@analog.com>2007-10-29 18:02:09 +0800
commit4ad1ec7154d7e26c1bd82c03c44690ba2b566f2f (patch)
treeb331892da1dc54c5868d574acf03bd525d622364 /include/asm-blackfin/gptimers.h
parent226eb1ef523a33c66193bc319a92c647e47311d4 (diff)
downloadop-kernel-dev-4ad1ec7154d7e26c1bd82c03c44690ba2b566f2f.zip
op-kernel-dev-4ad1ec7154d7e26c1bd82c03c44690ba2b566f2f.tar.gz
Blackfin arch: add support for checking/clearing overruns in generic purpose Timer API
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/gptimers.h')
-rw-r--r--include/asm-blackfin/gptimers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/gptimers.h b/include/asm-blackfin/gptimers.h
index c97ab03..8265ea4 100644
--- a/include/asm-blackfin/gptimers.h
+++ b/include/asm-blackfin/gptimers.h
@@ -197,6 +197,8 @@ uint32_t get_gptimer_period (int timer_id);
uint32_t get_gptimer_count (int timer_id);
uint16_t get_gptimer_intr (int timer_id);
void clear_gptimer_intr (int timer_id);
+uint16_t get_gptimer_over (int timer_id);
+void clear_gptimer_over (int timer_id);
void set_gptimer_config (int timer_id, uint16_t config);
uint16_t get_gptimer_config (int timer_id);
void set_gptimer_pulse_hi (int timer_id);
OpenPOWER on IntegriCloud