Home
last modified time | relevance | path

Searched refs:MBOX_MAX (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/remoteproc/
H A Dst_remoteproc.c35 #define MBOX_MAX 2 macro
51 struct mbox_chan *mbox_chan[ST_RPROC_MAX_VRING * MBOX_MAX];
86 ret = mbox_send_message(ddata->mbox_chan[vqid * MBOX_MAX + MBOX_TX], in st_rproc_kick()
408 ddata->mbox_chan[ST_RPROC_VQ0 * MBOX_MAX + MBOX_RX] = chan; in st_rproc_probe()
416 ddata->mbox_chan[ST_RPROC_VQ0 * MBOX_MAX + MBOX_TX] = chan; in st_rproc_probe()
424 ddata->mbox_chan[ST_RPROC_VQ1 * MBOX_MAX + MBOX_RX] = chan; in st_rproc_probe()
432 ddata->mbox_chan[ST_RPROC_VQ1 * MBOX_MAX + MBOX_TX] = chan; in st_rproc_probe()
442 for (i = 0; i < ST_RPROC_MAX_VRING * MBOX_MAX; i++) in st_rproc_probe()
461 for (i = 0; i < ST_RPROC_MAX_VRING * MBOX_MAX; i++) in st_rproc_remove()