Lines Matching defs:mbox
46 static inline mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
50 static inline void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_fifo_write()
54 static inline int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty()
58 static inline int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full()
64 static inline void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq()
69 static inline int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq()
77 static int __mbox_poll_for_space(struct omap_mbox *mbox) in __mbox_poll_for_space()
91 int omap_mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg) in omap_mbox_msg_send()
121 struct omap_mbox *mbox = (struct omap_mbox *)tx_data; in mbox_tx_tasklet() local
168 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt()
175 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt()
205 struct omap_mbox *mbox = p; in mbox_interrupt() local
216 static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, in mbox_queue_alloc()
248 static int omap_mbox_startup(struct omap_mbox *mbox) in omap_mbox_startup()
303 static void omap_mbox_fini(struct omap_mbox *mbox) in omap_mbox_fini()
325 struct omap_mbox *_mbox, *mbox = NULL; in omap_mbox_get() local
352 void omap_mbox_put(struct omap_mbox *mbox, struct notifier_block *nb) in omap_mbox_put()
371 struct omap_mbox *mbox = mboxes[i]; in omap_mbox_register() local