summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvhost_interrupt_syncpt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/nvhost_interrupt_syncpt.h b/include/linux/nvhost_interrupt_syncpt.h
new file mode 100644
index 000000000..ec258b57e
--- /dev/null
+++ b/include/linux/nvhost_interrupt_syncpt.h
@@ -0,0 +1,16 @@
1#ifndef NVHOST_INTERRUPT_SYNCPT_H
2#define NVHOST_INTERRUPT_SYNCPT_H
3
4#include <linux/of.h>
5
6struct nvhost_interrupt_syncpt;
7
8struct nvhost_interrupt_syncpt *nvhost_interrupt_syncpt_get(
9 struct device_node *np, void (*callback)(void *), void *private_data);
10u32 nvhost_interrupt_syncpt_get_syncpt_index(struct nvhost_interrupt_syncpt *is);
11phys_addr_t nvhost_interrupt_syncpt_get_syncpt_addr(
12 struct nvhost_interrupt_syncpt *is);
13void nvhost_interrupt_syncpt_free(struct nvhost_interrupt_syncpt *is);
14int nvhost_interrupt_syncpt_prime(struct nvhost_interrupt_syncpt *is);
15
16#endif