Lines Matching refs:msg

55 	unsigned long msg;  member
148 return mbox_read_reg(mbox->parent, fifo->msg); in mbox_fifo_read()
151 static void mbox_fifo_write(struct omap_mbox *mbox, u32 msg) in mbox_fifo_write() argument
155 mbox_write_reg(mbox->parent, msg, fifo->msg); in mbox_fifo_write()
260 u32 msg; in mbox_rx_work() local
263 while (kfifo_len(&mq->fifo) >= sizeof(msg)) { in mbox_rx_work()
264 len = kfifo_out(&mq->fifo, (unsigned char *)&msg, sizeof(msg)); in mbox_rx_work()
265 WARN_ON(len != sizeof(msg)); in mbox_rx_work()
266 data = msg; in mbox_rx_work()
291 u32 msg; in __mbox_rx_interrupt() local
295 if (unlikely(kfifo_avail(&mq->fifo) < sizeof(msg))) { in __mbox_rx_interrupt()
301 msg = mbox_fifo_read(mbox); in __mbox_rx_interrupt()
303 len = kfifo_in(&mq->fifo, (unsigned char *)&msg, sizeof(msg)); in __mbox_rx_interrupt()
304 WARN_ON(len != sizeof(msg)); in __mbox_rx_interrupt()
531 static int omap_mbox_chan_send_noirq(struct omap_mbox *mbox, u32 msg) in omap_mbox_chan_send_noirq() argument
537 mbox_fifo_write(mbox, 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() argument
554 mbox_fifo_write(mbox, msg); in omap_mbox_chan_send()
567 u32 msg = omap_mbox_message(data); in omap_mbox_chan_send_data() local
573 ret = omap_mbox_chan_send_noirq(mbox, msg); in omap_mbox_chan_send_data()
575 ret = omap_mbox_chan_send(mbox, msg); in omap_mbox_chan_send_data()
792 fifo->msg = MAILBOX_MESSAGE(finfo->tx_id); in omap_mbox_probe()
800 fifo->msg = MAILBOX_MESSAGE(finfo->rx_id); in omap_mbox_probe()