summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/bfin-global.h
diff options
context:
space:
mode:
authorMike Frysinger2007-10-21 16:59:49 +0200
committerBryan Wu2007-10-21 16:59:49 +0200
commit2f6cf7bfc64c44d760d53caf4b547e7729392e78 (patch)
treeecbd135d50cfc35f505f386cfbc9206b0e8cdfba /include/asm-blackfin/bfin-global.h
parentBlackfin arch: add assembly function for doing 64bit unsigned division (diff)
downloadkernel-qcow2-linux-2f6cf7bfc64c44d760d53caf4b547e7729392e78.tar.gz
kernel-qcow2-linux-2f6cf7bfc64c44d760d53caf4b547e7729392e78.tar.xz
kernel-qcow2-linux-2f6cf7bfc64c44d760d53caf4b547e7729392e78.zip
Blackfin arch: add functions for converting between sclks and usecs
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/bfin-global.h')
-rw-r--r--include/asm-blackfin/bfin-global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h
index a006353a4310..14cb8d35924e 100644
--- a/include/asm-blackfin/bfin-global.h
+++ b/include/asm-blackfin/bfin-global.h
@@ -47,6 +47,8 @@
extern unsigned long get_cclk(void);
extern unsigned long get_sclk(void);
+extern unsigned long sclk_to_usecs(unsigned long sclk);
+extern unsigned long usecs_to_sclk(unsigned long usecs);
extern void dump_thread(struct pt_regs *regs, struct user *dump);
extern void dump_bfin_regs(struct pt_regs *fp, void *retaddr);