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 u32 mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
151 static void mbox_fifo_write(struct omap_mbox *mbox, u32 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()
281 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt()
288 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt()
315 struct omap_mbox *mbox = p; in mbox_interrupt()
326 static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, in mbox_queue_alloc()
357 static int omap_mbox_startup(struct omap_mbox *mbox) in omap_mbox_startup()
387 static void omap_mbox_fini(struct omap_mbox *mbox) in omap_mbox_fini()
395 static struct omap_mbox *omap_mbox_device_find(struct omap_mbox_device *mdev, in omap_mbox_device_find()
398 struct omap_mbox *_mbox, *mbox = NULL; in omap_mbox_device_find()
399 struct omap_mbox **mboxes = mdev->mboxes; in omap_mbox_device_find()
418 struct omap_mbox *mbox = NULL; in omap_mbox_request_channel()
456 struct omap_mbox **mboxes; in omap_mbox_register()
463 struct omap_mbox *mbox = mboxes[i]; in omap_mbox_register()
490 struct omap_mbox **mboxes; in omap_mbox_unregister()
507 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_startup()
522 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_shutdown()
531 static int omap_mbox_chan_send_noirq(struct omap_mbox *mbox, u32 msg) in omap_mbox_chan_send_noirq()
549 static int omap_mbox_chan_send(struct omap_mbox *mbox, u32 msg) in omap_mbox_chan_send()
565 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_chan_send_data()
668 struct omap_mbox *mbox; in omap_mbox_of_xlate()
690 struct omap_mbox **list, *mbox, *mboxblk; in omap_mbox_probe()