Home
last modified time | relevance | path

Searched refs:mbox_msg_t (Results 1 – 5 of 5) sorted by relevance

/arch/arm/plat-omap/
Dmailbox.h34 static inline void mbox_seq_toggle(struct omap_mbox *mbox, mbox_msg_t * msg) in mbox_seq_toggle()
42 static inline int mbox_seq_test(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_seq_test()
44 mbox_msg_t seq = msg & (1 << 31); in mbox_seq_test()
54 static inline void mbox_seq_toggle(struct omap_mbox *mbox, mbox_msg_t * msg) in mbox_seq_toggle()
57 static inline int mbox_seq_test(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_seq_test()
64 static inline mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
68 static inline void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_fifo_write()
Dmailbox.c50 static int __mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg, void *arg) in __mbox_msg_send()
74 int omap_mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg, void* arg) in omap_mbox_msg_send()
112 ret = __mbox_msg_send(mbox, (mbox_msg_t) rq->data, rq->special); in mbox_tx_work()
135 mbox_msg_t msg; in mbox_rx_work()
150 msg = (mbox_msg_t) rq->data; in mbox_rx_work()
180 mbox_msg_t msg; in __mbox_rx_interrupt()
232 mbox_msg_t *p = (mbox_msg_t *)buf; in omap_mbox_write()
235 for (; count >= sizeof(mbox_msg_t); count -= sizeof(mbox_msg_t)) { in omap_mbox_write()
250 mbox_msg_t *p = (mbox_msg_t *) buf; in omap_mbox_read()
262 *p = (mbox_msg_t) rq->data; in omap_mbox_read()
/arch/arm/plat-omap/include/mach/
Dmailbox.h10 typedef u32 mbox_msg_t; typedef
11 typedef void (mbox_receiver_t)(mbox_msg_t msg);
27 mbox_msg_t (*fifo_read)(struct omap_mbox *mbox);
28 void (*fifo_write)(struct omap_mbox *mbox, mbox_msg_t msg);
54 mbox_msg_t seq_snd, seq_rcv;
64 int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg, void *);
/arch/arm/mach-omap1/
Dmailbox.c54 static mbox_msg_t omap1_mbox_fifo_read(struct omap_mbox *mbox) in omap1_mbox_fifo_read()
58 mbox_msg_t msg; in omap1_mbox_fifo_read()
61 msg |= ((mbox_msg_t) mbox_read_reg(fifo->cmd)) << 16; in omap1_mbox_fifo_read()
67 omap1_mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in omap1_mbox_fifo_write()
/arch/arm/mach-omap2/
Dmailbox.c115 static mbox_msg_t omap2_mbox_fifo_read(struct omap_mbox *mbox) in omap2_mbox_fifo_read()
119 return (mbox_msg_t) mbox_read_reg(fifo->msg); in omap2_mbox_fifo_read()
122 static void omap2_mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in omap2_mbox_fifo_write()