Lines Matching refs:omap_mbox

68 	struct omap_mbox	*mbox;
84 struct omap_mbox **mboxes;
102 struct omap_mbox { struct
123 static struct omap_mbox *mbox_chan_to_omap_mbox(struct mbox_chan *chan) in mbox_chan_to_omap_mbox() argument
128 return (struct omap_mbox *)chan->con_priv; in mbox_chan_to_omap_mbox()
144 static mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
151 static void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_fifo_write()
158 static int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty()
165 static int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full()
173 static void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq()
186 static int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq()
200 static void _omap_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_enable_irq()
213 static void _omap_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_disable_irq()
232 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_enable_irq()
243 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_disable_irq()
279 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt()
286 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt()
313 struct omap_mbox *mbox = p; in mbox_interrupt()
324 static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, in mbox_queue_alloc()
355 static int omap_mbox_startup(struct omap_mbox *mbox) in omap_mbox_startup()
385 static void omap_mbox_fini(struct omap_mbox *mbox) in omap_mbox_fini()
393 static struct omap_mbox *omap_mbox_device_find(struct omap_mbox_device *mdev, in omap_mbox_device_find()
396 struct omap_mbox *_mbox, *mbox = NULL; in omap_mbox_device_find()
397 struct omap_mbox **mboxes = mdev->mboxes; in omap_mbox_device_find()
416 struct omap_mbox *mbox = NULL; in omap_mbox_request_channel()
468 struct omap_mbox **mboxes; in omap_mbox_register()
475 struct omap_mbox *mbox = mboxes[i]; in omap_mbox_register()
502 struct omap_mbox **mboxes; in omap_mbox_unregister()
521 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_startup()
536 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_shutdown()
545 static int omap_mbox_chan_send_noirq(struct omap_mbox *mbox, void *data) in omap_mbox_chan_send_noirq()
563 static int omap_mbox_chan_send(struct omap_mbox *mbox, void *data) in omap_mbox_chan_send()
579 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_send_data()
673 struct omap_mbox *mbox; in omap_mbox_of_xlate()
696 struct omap_mbox **list, *mbox, *mboxblk; in omap_mbox_probe()