Searched refs:omap_mbox (Results 1 – 4 of 4) sorted by relevance
/arch/arm/plat-omap/include/plat/ |
D | mailbox.h | 13 struct omap_mbox; 25 int (*startup)(struct omap_mbox *mbox); 26 void (*shutdown)(struct omap_mbox *mbox); 28 mbox_msg_t (*fifo_read)(struct omap_mbox *mbox); 29 void (*fifo_write)(struct omap_mbox *mbox, mbox_msg_t msg); 30 int (*fifo_empty)(struct omap_mbox *mbox); 31 int (*fifo_full)(struct omap_mbox *mbox); 33 void (*enable_irq)(struct omap_mbox *mbox, 35 void (*disable_irq)(struct omap_mbox *mbox, 37 void (*ack_irq)(struct omap_mbox *mbox, omap_mbox_irq_t irq); [all …]
|
/arch/arm/mach-omap1/ |
D | mailbox.c | 52 static mbox_msg_t omap1_mbox_fifo_read(struct omap_mbox *mbox) in omap1_mbox_fifo_read() 65 omap1_mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in omap1_mbox_fifo_write() 74 static int omap1_mbox_fifo_empty(struct omap_mbox *mbox) in omap1_mbox_fifo_empty() 79 static int omap1_mbox_fifo_full(struct omap_mbox *mbox) in omap1_mbox_fifo_full() 89 omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) in omap1_mbox_enable_irq() 96 omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) in omap1_mbox_disable_irq() 103 omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) in omap1_mbox_is_irq() 137 static struct omap_mbox mbox_dsp_info = { 143 static struct omap_mbox *omap1_mboxes[] = { &mbox_dsp_info, NULL }; 149 struct omap_mbox **list; in omap1_mbox_probe()
|
/arch/arm/plat-omap/ |
D | mailbox.c | 36 static struct omap_mbox **mboxes; 46 static inline mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read() 50 static inline void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in mbox_fifo_write() 54 static inline int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty() 58 static inline int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full() 64 static inline void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq() 69 static inline int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq() 77 static int __mbox_poll_for_space(struct omap_mbox *mbox) in __mbox_poll_for_space() 91 int omap_mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg) in omap_mbox_msg_send() 121 struct omap_mbox *mbox = (struct omap_mbox *)tx_data; in mbox_tx_tasklet() [all …]
|
/arch/arm/mach-omap2/ |
D | mailbox.c | 62 static void omap2_mbox_enable_irq(struct omap_mbox *mbox, 76 static int omap2_mbox_startup(struct omap_mbox *mbox) in omap2_mbox_startup() 91 static void omap2_mbox_shutdown(struct omap_mbox *mbox) in omap2_mbox_shutdown() 98 static mbox_msg_t omap2_mbox_fifo_read(struct omap_mbox *mbox) in omap2_mbox_fifo_read() 105 static void omap2_mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t msg) in omap2_mbox_fifo_write() 112 static int omap2_mbox_fifo_empty(struct omap_mbox *mbox) in omap2_mbox_fifo_empty() 119 static int omap2_mbox_fifo_full(struct omap_mbox *mbox) in omap2_mbox_fifo_full() 127 static void omap2_mbox_enable_irq(struct omap_mbox *mbox, in omap2_mbox_enable_irq() 138 static void omap2_mbox_disable_irq(struct omap_mbox *mbox, in omap2_mbox_disable_irq() 150 static void omap2_mbox_ack_irq(struct omap_mbox *mbox, in omap2_mbox_ack_irq() [all …]
|