Lines Matching refs:oproc
58 struct omap_rproc *oproc = container_of(client, struct omap_rproc, in omap_rproc_mbox_callback() local
60 struct device *dev = oproc->rproc->dev.parent; in omap_rproc_mbox_callback()
61 const char *name = oproc->rproc->name; in omap_rproc_mbox_callback()
76 if (rproc_vq_interrupt(oproc->rproc, msg) == IRQ_NONE) in omap_rproc_mbox_callback()
84 struct omap_rproc *oproc = rproc->priv; in omap_rproc_kick() local
89 ret = mbox_send_message(oproc->mbox, (void *)vqid); in omap_rproc_kick()
104 struct omap_rproc *oproc = rproc->priv; in omap_rproc_start() local
109 struct mbox_client *client = &oproc->client; in omap_rproc_start()
120 oproc->mbox = omap_mbox_request_channel(client, pdata->mbox_name); in omap_rproc_start()
121 if (IS_ERR(oproc->mbox)) { in omap_rproc_start()
124 PTR_ERR(oproc->mbox)); in omap_rproc_start()
135 ret = mbox_send_message(oproc->mbox, (void *)RP_MBOX_ECHO_REQUEST); in omap_rproc_start()
150 mbox_free_channel(oproc->mbox); in omap_rproc_start()
160 struct omap_rproc *oproc = rproc->priv; in omap_rproc_stop() local
167 mbox_free_channel(oproc->mbox); in omap_rproc_stop()
181 struct omap_rproc *oproc; in omap_rproc_probe() local
192 pdata->firmware, sizeof(*oproc)); in omap_rproc_probe()
196 oproc = rproc->priv; in omap_rproc_probe()
197 oproc->rproc = rproc; in omap_rproc_probe()