rt_err_t rt_mbox_controller_unregister(struct rt_mbox_controller *ctrl)
rt_err_t rt_mbox_controller_register(struct rt_mbox_controller *ctrl)
rt_err_t rt_mbox_release(struct rt_mbox_chan *chan)
rt_err_t rt_mbox_send(struct rt_mbox_chan *chan, const void *data, rt_uint32_t timeout_ms)
rt_bool_t rt_mbox_peek(struct rt_mbox_chan *chan)
void rt_mbox_send_done(struct rt_mbox_chan *chan, rt_err_t err)
struct rt_mbox_chan * rt_mbox_request_by_index(struct rt_mbox_client *client, int index)
rt_err_t rt_mbox_recv(struct rt_mbox_chan *chan, void *data)
struct rt_mbox_chan * rt_mbox_request_by_name(struct rt_mbox_client *client, char *name)
struct rt_list_node rt_list_t
struct rt_mbox_client * client
struct rt_mbox_controller * ctrl
void(* tx_done)(struct rt_mbox_client *, const void *data, rt_err_t err)
void(* tx_prepare)(struct rt_mbox_client *, const void *data)
void(* rx_callback)(struct rt_mbox_client *, void *data)
void(* release)(struct rt_mbox_chan *)
rt_bool_t(* peek)(struct rt_mbox_chan *)
int(* ofw_parse)(struct rt_mbox_controller *, struct rt_ofw_cell_args *)
rt_err_t(* send)(struct rt_mbox_chan *, const void *data)
rt_err_t(* request)(struct rt_mbox_chan *)
const struct rt_mbox_controller_ops * ops
struct rt_mbox_chan * chans