summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-10-29 11:02:09 +0100
committerBryan Wu <bryan.wu@analog.com>2007-10-29 11:02:09 +0100
commit4ad1ec7154d7e26c1bd82c03c44690ba2b566f2f (patch)
treeb331892da1dc54c5868d574acf03bd525d622364 /include/asm-blackfin
parentBlackfin arch: cleanup arch/blackfin/kernel/traps.c handling code. (diff)
downloadlinux-4ad1ec7154d7e26c1bd82c03c44690ba2b566f2f.tar.xz
linux-4ad1ec7154d7e26c1bd82c03c44690ba2b566f2f.zip
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')
-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 c97ab03e43a6..8265ea473d5b 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);