Lines Matching refs:omap_mbox
13 struct omap_mbox;
25 int (*startup)(struct omap_mbox *mbox);
26 void (*shutdown)(struct omap_mbox *mbox);
28 mbox_msg_t (*fifo_read)(struct omap_mbox *mbox);
29 void (*fifo_write)(struct omap_mbox *mbox, mbox_msg_t msg);
30 int (*fifo_empty)(struct omap_mbox *mbox);
31 int (*fifo_full)(struct omap_mbox *mbox);
33 void (*enable_irq)(struct omap_mbox *mbox,
35 void (*disable_irq)(struct omap_mbox *mbox,
37 void (*ack_irq)(struct omap_mbox *mbox, omap_mbox_irq_t irq);
38 int (*is_irq)(struct omap_mbox *mbox, omap_mbox_irq_t irq);
40 void (*save_ctx)(struct omap_mbox *mbox);
41 void (*restore_ctx)(struct omap_mbox *mbox);
50 struct omap_mbox *mbox;
53 struct omap_mbox {
62 int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg);
63 void omap_mbox_init_seq(struct omap_mbox *);
65 struct omap_mbox *omap_mbox_get(const char *);
66 void omap_mbox_put(struct omap_mbox *);
68 int omap_mbox_register(struct device *parent, struct omap_mbox **);
71 static inline void omap_mbox_save_ctx(struct omap_mbox *mbox)
81 static inline void omap_mbox_restore_ctx(struct omap_mbox *mbox)
91 static inline void omap_mbox_enable_irq(struct omap_mbox *mbox,
97 static inline void omap_mbox_disable_irq(struct omap_mbox *mbox,