Lines Matching refs:omap_mbox

84 	struct omap_mbox	*mbox;
94 struct omap_mbox **mboxes;
111 struct omap_mbox { struct
132 static struct omap_mbox *mbox_chan_to_omap_mbox(struct mbox_chan *chan) in mbox_chan_to_omap_mbox() argument
137 return (struct omap_mbox *)chan->con_priv; in mbox_chan_to_omap_mbox()
153 static mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
159 static void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_fifo_write()
165 static int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty()
171 static int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full()
178 static void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq()
191 static int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq()
209 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_save_ctx()
231 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_restore_ctx()
248 static void _omap_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_enable_irq()
261 static void _omap_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_disable_irq()
280 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_enable_irq()
291 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_disable_irq()
327 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt()
334 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt()
361 struct omap_mbox *mbox = p; in mbox_interrupt()
372 static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, in mbox_queue_alloc()
403 static int omap_mbox_startup(struct omap_mbox *mbox) in omap_mbox_startup()
430 static void omap_mbox_fini(struct omap_mbox *mbox) in omap_mbox_fini()
438 static struct omap_mbox *omap_mbox_device_find(struct omap_mbox_device *mdev, in omap_mbox_device_find()
441 struct omap_mbox *_mbox, *mbox = NULL; in omap_mbox_device_find()
442 struct omap_mbox **mboxes = mdev->mboxes; in omap_mbox_device_find()
461 struct omap_mbox *mbox = NULL; in omap_mbox_request_channel()
513 struct omap_mbox **mboxes; in omap_mbox_register()
520 struct omap_mbox *mbox = mboxes[i]; in omap_mbox_register()
546 struct omap_mbox **mboxes; in omap_mbox_unregister()
565 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_startup()
580 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_shutdown()
591 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_send_data()
638 struct omap_mbox *mbox; in omap_mbox_of_xlate()
661 struct omap_mbox **list, *mbox, *mboxblk; in omap_mbox_probe()