Searched refs:mbox_chan (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/include/linux/ |
D | mailbox_controller.h | 16 struct mbox_chan; 48 int (*send_data)(struct mbox_chan *chan, void *data); 49 int (*startup)(struct mbox_chan *chan); 50 void (*shutdown)(struct mbox_chan *chan); 51 bool (*last_tx_done)(struct mbox_chan *chan); 52 bool (*peek_data)(struct mbox_chan *chan); 76 struct mbox_chan *chans; 81 struct mbox_chan *(*of_xlate)(struct mbox_controller *mbox, 116 struct mbox_chan { struct 130 void mbox_chan_received_data(struct mbox_chan *chan, void *data); /* atomic */ argument [all …]
|
D | omap-mailbox.h | 18 struct mbox_chan; 21 struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl, 24 void omap_mbox_save_ctx(struct mbox_chan *chan); 25 void omap_mbox_restore_ctx(struct mbox_chan *chan); 26 void omap_mbox_enable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq); 27 void omap_mbox_disable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq);
|
D | mailbox_client.h | 16 struct mbox_chan; 43 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index); 44 int mbox_send_message(struct mbox_chan *chan, void *mssg); 45 void mbox_client_txdone(struct mbox_chan *chan, int r); /* atomic */ 46 bool mbox_client_peek_data(struct mbox_chan *chan); /* atomic */ 47 void mbox_free_channel(struct mbox_chan *chan); /* may sleep */
|
/linux-4.1.27/drivers/mailbox/ |
D | mailbox-altera.c | 62 static struct altera_mbox *mbox_chan_to_altera_mbox(struct mbox_chan *chan) in mbox_chan_to_altera_mbox() 127 static void altera_mbox_rx_data(struct mbox_chan *chan) in altera_mbox_rx_data() 143 struct mbox_chan *chan = (struct mbox_chan *)data; in altera_mbox_poll_rx() 154 struct mbox_chan *chan = (struct mbox_chan *)p; in altera_mbox_tx_interrupt() 165 struct mbox_chan *chan = (struct mbox_chan *)p; in altera_mbox_rx_interrupt() 171 static int altera_mbox_startup_sender(struct mbox_chan *chan) in altera_mbox_startup_sender() 190 static int altera_mbox_startup_receiver(struct mbox_chan *chan) in altera_mbox_startup_receiver() 217 static int altera_mbox_send_data(struct mbox_chan *chan, void *data) in altera_mbox_send_data() 244 static bool altera_mbox_last_tx_done(struct mbox_chan *chan) in altera_mbox_last_tx_done() 252 static bool altera_mbox_peek_data(struct mbox_chan *chan) in altera_mbox_peek_data() [all …]
|
D | mailbox.c | 31 static int add_to_rbuf(struct mbox_chan *chan, void *mssg) in add_to_rbuf() 58 static void msg_submit(struct mbox_chan *chan) in msg_submit() 94 static void tx_tick(struct mbox_chan *chan, int r) in tx_tick() 122 struct mbox_chan *chan = &mbox->chans[i]; in poll_txdone() 148 void mbox_chan_received_data(struct mbox_chan *chan, void *mssg) in mbox_chan_received_data() 166 void mbox_chan_txdone(struct mbox_chan *chan, int r) in mbox_chan_txdone() 187 void mbox_client_txdone(struct mbox_chan *chan, int r) in mbox_client_txdone() 213 bool mbox_client_peek_data(struct mbox_chan *chan) in mbox_client_peek_data() 246 int mbox_send_message(struct mbox_chan *chan, void *mssg) in mbox_send_message() 298 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index) in mbox_request_channel() [all …]
|
D | pcc.c | 71 static struct mbox_chan *pcc_mbox_channels; 82 static struct mbox_chan *get_pcc_channel(int id) in get_pcc_channel() 84 struct mbox_chan *pcc_chan; in get_pcc_channel() 89 pcc_chan = (struct mbox_chan *) in get_pcc_channel() 109 struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, in pcc_mbox_request_channel() 113 struct mbox_chan *chan; in pcc_mbox_request_channel() 152 void pcc_mbox_free_channel(struct mbox_chan *chan) in pcc_mbox_free_channel() 181 static int pcc_send_data(struct mbox_chan *chan, void *data) in pcc_send_data() 266 pcc_mbox_channels = kzalloc(sizeof(struct mbox_chan) * in acpi_pcc_probe()
|
D | arm_mhu.c | 47 struct mbox_chan chan[MHU_CHANS]; 53 struct mbox_chan *chan = p; in mhu_rx_interrupt() 68 static bool mhu_last_tx_done(struct mbox_chan *chan) in mhu_last_tx_done() 76 static int mhu_send_data(struct mbox_chan *chan, void *data) in mhu_send_data() 86 static int mhu_startup(struct mbox_chan *chan) in mhu_startup() 106 static void mhu_shutdown(struct mbox_chan *chan) in mhu_shutdown()
|
D | omap-mailbox.c | 121 struct mbox_chan *chan; 132 static struct omap_mbox *mbox_chan_to_omap_mbox(struct mbox_chan *chan) in mbox_chan_to_omap_mbox() 205 void omap_mbox_save_ctx(struct mbox_chan *chan) in omap_mbox_save_ctx() 227 void omap_mbox_restore_ctx(struct mbox_chan *chan) in omap_mbox_restore_ctx() 278 void omap_mbox_enable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq) in omap_mbox_enable_irq() 289 void omap_mbox_disable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq) in omap_mbox_disable_irq() 457 struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl, in omap_mbox_request_channel() 463 struct mbox_chan *chan; in omap_mbox_request_channel() 563 static int omap_mbox_chan_startup(struct mbox_chan *chan) in omap_mbox_chan_startup() 578 static void omap_mbox_chan_shutdown(struct mbox_chan *chan) in omap_mbox_chan_shutdown() [all …]
|
/linux-4.1.27/Documentation/ |
D | mailbox.txt | 23 Allocate mbox_controller and the array of mbox_chan. 42 struct mbox_chan *mbox;
|
/linux-4.1.27/drivers/remoteproc/ |
D | omap_remoteproc.c | 45 struct mbox_chan *mbox;
|