Searched refs:omap_mbox (Results 1 – 5 of 5) sorted by relevance
/arch/arm/plat-omap/include/mach/ |
D | mailbox.h | 12 struct omap_mbox; 24 int (*startup)(struct omap_mbox *mbox); 25 void (*shutdown)(struct omap_mbox *mbox); 27 mbox_msg_t (*fifo_read)(struct omap_mbox *mbox); 28 void (*fifo_write)(struct omap_mbox *mbox, mbox_msg_t msg); 29 int (*fifo_empty)(struct omap_mbox *mbox); 30 int (*fifo_full)(struct omap_mbox *mbox); 32 void (*enable_irq)(struct omap_mbox *mbox, omap_mbox_irq_t irq); 33 void (*disable_irq)(struct omap_mbox *mbox, omap_mbox_irq_t irq); 34 void (*ack_irq)(struct omap_mbox *mbox, omap_mbox_irq_t irq); [all …]
|
/arch/arm/plat-omap/ |
D | mailbox.h | 28 static inline void mbox_seq_init(struct omap_mbox *mbox) in mbox_seq_init() 34 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() 51 static inline void mbox_seq_init(struct omap_mbox *mbox) in mbox_seq_init() 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() 72 static inline int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty() 76 static inline int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full() [all …]
|
D | mailbox.c | 37 static struct omap_mbox *mboxes; 41 void omap_mbox_init_seq(struct omap_mbox *mbox) in omap_mbox_init_seq() 50 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() 101 struct omap_mbox *mbox = mq->queue->queuedata; in mbox_tx_work() 132 struct omap_mbox *mbox = mq->queue->queuedata; in mbox_rx_work() 170 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt() 177 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt() 213 struct omap_mbox *mbox = p; in mbox_interrupt() 233 struct omap_mbox *mbox = dev_get_drvdata(dev); in omap_mbox_write() [all …]
|
/arch/arm/mach-omap2/ |
D | mailbox.c | 73 static void omap2_mbox_enable_irq(struct omap_mbox *mbox, 87 static int omap2_mbox_startup(struct omap_mbox *mbox) in omap2_mbox_startup() 108 static void omap2_mbox_shutdown(struct omap_mbox *mbox) in omap2_mbox_shutdown() 115 static mbox_msg_t omap2_mbox_fifo_read(struct omap_mbox *mbox) 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() 129 static int omap2_mbox_fifo_empty(struct omap_mbox *mbox) in omap2_mbox_fifo_empty() 136 static int omap2_mbox_fifo_full(struct omap_mbox *mbox) in omap2_mbox_fifo_full() 144 static void omap2_mbox_enable_irq(struct omap_mbox *mbox, in omap2_mbox_enable_irq() 155 static void omap2_mbox_disable_irq(struct omap_mbox *mbox, in omap2_mbox_disable_irq() 166 static void omap2_mbox_ack_irq(struct omap_mbox *mbox, in omap2_mbox_ack_irq() [all …]
|
/arch/arm/mach-omap1/ |
D | mailbox.c | 54 static mbox_msg_t omap1_mbox_fifo_read(struct omap_mbox *mbox) in omap1_mbox_fifo_read() 67 omap1_mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in omap1_mbox_fifo_write() 76 static int omap1_mbox_fifo_empty(struct omap_mbox *mbox) in omap1_mbox_fifo_empty() 81 static int omap1_mbox_fifo_full(struct omap_mbox *mbox) in omap1_mbox_fifo_full() 91 omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) in omap1_mbox_enable_irq() 98 omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) in omap1_mbox_disable_irq() 105 omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) in omap1_mbox_is_irq() 139 struct omap_mbox mbox_dsp_info = {
|