Searched refs:rt_mbox_chan (Results 1 – 3 of 3) sorted by relevance
| /components/drivers/include/drivers/ |
| A D | mailbox.h | 17 struct rt_mbox_chan; 30 struct rt_mbox_chan *chans; 35 rt_err_t (*request)(struct rt_mbox_chan *); 36 void (*release)(struct rt_mbox_chan *); 37 rt_err_t (*send)(struct rt_mbox_chan *, const void *data); 38 rt_bool_t (*peek)(struct rt_mbox_chan *); 42 struct rt_mbox_chan struct 69 void rt_mbox_send_done(struct rt_mbox_chan *chan, rt_err_t err); 70 rt_bool_t rt_mbox_peek(struct rt_mbox_chan *chan); 71 rt_err_t rt_mbox_recv(struct rt_mbox_chan *chan, void *data); [all …]
|
| /components/drivers/mailbox/ |
| A D | mailbox.c | 31 struct rt_mbox_chan *chan; in rt_mbox_controller_register() 39 ctrl->chans = rt_calloc(ctrl->num_chans, sizeof(struct rt_mbox_chan)); in rt_mbox_controller_register() 77 struct rt_mbox_chan *chan; in rt_mbox_controller_unregister() 103 rt_err_t rt_mbox_send(struct rt_mbox_chan *chan, const void *data, in rt_mbox_send() 158 void rt_mbox_send_done(struct rt_mbox_chan *chan, rt_err_t err) in rt_mbox_send_done() 181 struct rt_mbox_chan *chan = param; in mbox_chan_timeout() 191 rt_bool_t rt_mbox_peek(struct rt_mbox_chan *chan) in rt_mbox_peek() 201 rt_err_t rt_mbox_recv(struct rt_mbox_chan *chan, void *data) in rt_mbox_recv() 227 struct rt_mbox_chan *rt_mbox_request_by_index(struct rt_mbox_client *client, int index) in rt_mbox_request_by_index() 233 struct rt_mbox_chan *chan = RT_NULL; in rt_mbox_request_by_index() [all …]
|
| A D | mailbox-pic.c | 63 static rt_err_t pic_mbox_request(struct rt_mbox_chan *chan) in pic_mbox_request() 74 static void pic_mbox_release(struct rt_mbox_chan *chan) in pic_mbox_release() 82 static rt_err_t pic_mbox_send(struct rt_mbox_chan *chan, const void *data) in pic_mbox_send()
|
Completed in 6 milliseconds