#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include "../intr.h"
#include "../dev.h"
struct host1x_intr_irq_data { … };
static irqreturn_t syncpt_thresh_isr(int irq, void *dev_id)
{ … }
static void host1x_intr_disable_all_syncpt_intrs(struct host1x *host)
{ … }
static void intr_hw_init(struct host1x *host, u32 cpm)
{ … }
static int
host1x_intr_init_host_sync(struct host1x *host, u32 cpm)
{ … }
static void host1x_intr_set_syncpt_threshold(struct host1x *host,
unsigned int id,
u32 thresh)
{ … }
static void host1x_intr_enable_syncpt_intr(struct host1x *host,
unsigned int id)
{ … }
static void host1x_intr_disable_syncpt_intr(struct host1x *host,
unsigned int id)
{ … }
static const struct host1x_intr_ops host1x_intr_ops = …;