Searched refs:chans (Results 1 – 3 of 3) sorted by relevance
39 ctrl->chans = rt_calloc(ctrl->num_chans, sizeof(struct rt_mbox_chan)); in rt_mbox_controller_register()41 if (!ctrl->chans) in rt_mbox_controller_register()51 chan = &ctrl->chans[0]; in rt_mbox_controller_register()91 chan = &ctrl->chans[0]; in rt_mbox_controller_unregister()95 rt_mbox_release(&ctrl->chans[i]); in rt_mbox_controller_unregister()98 rt_free(ctrl->chans); in rt_mbox_controller_unregister()281 chan = &ctrl->chans[index]; in rt_mbox_request_by_index()
65 int index = chan - chan->ctrl->chans; in pic_mbox_request()76 int index = chan - chan->ctrl->chans; in pic_mbox_release()85 int index = chan - chan->ctrl->chans; in pic_mbox_send()138 rt_mbox_recv(&pic_mbox->parent.chans[idx], &msg); in pic_mbox_isr()
30 struct rt_mbox_chan *chans; member
Completed in 6 milliseconds