Lines Matching refs:omap_mbox

86 	struct omap_mbox	*mbox;
96 struct omap_mbox **mboxes;
114 struct omap_mbox { struct
136 static struct omap_mbox *mbox_chan_to_omap_mbox(struct mbox_chan *chan) in mbox_chan_to_omap_mbox() argument
141 return (struct omap_mbox *)chan->con_priv; in mbox_chan_to_omap_mbox()
157 static mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
163 static void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_fifo_write()
169 static int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty()
175 static int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full()
182 static void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq()
195 static int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq()
213 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_save_ctx()
235 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_restore_ctx()
252 static void _omap_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_enable_irq()
265 static void _omap_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_disable_irq()
284 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_enable_irq()
295 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_disable_irq()
331 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt()
338 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt()
365 struct omap_mbox *mbox = p; in mbox_interrupt()
376 static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, in mbox_queue_alloc()
407 static int omap_mbox_startup(struct omap_mbox *mbox) in omap_mbox_startup()
437 static void omap_mbox_fini(struct omap_mbox *mbox) in omap_mbox_fini()
445 static struct omap_mbox *omap_mbox_device_find(struct omap_mbox_device *mdev, in omap_mbox_device_find()
448 struct omap_mbox *_mbox, *mbox = NULL; in omap_mbox_device_find()
449 struct omap_mbox **mboxes = mdev->mboxes; in omap_mbox_device_find()
468 struct omap_mbox *mbox = NULL; in omap_mbox_request_channel()
520 struct omap_mbox **mboxes; in omap_mbox_register()
527 struct omap_mbox *mbox = mboxes[i]; in omap_mbox_register()
553 struct omap_mbox **mboxes; in omap_mbox_unregister()
572 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_startup()
587 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_shutdown()
596 static int omap_mbox_chan_send_noirq(struct omap_mbox *mbox, void *data) in omap_mbox_chan_send_noirq()
614 static int omap_mbox_chan_send(struct omap_mbox *mbox, void *data) in omap_mbox_chan_send()
630 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_send_data()
675 struct omap_mbox *mbox; in omap_mbox_of_xlate()
698 struct omap_mbox **list, *mbox, *mboxblk; in omap_mbox_probe()