Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/firmware/imx/
Dimx-scu.c105 struct imx_sc_chan *sc_chan = container_of(c, struct imx_sc_chan, cl); in imx_scu_rx_callback() local
106 struct imx_sc_ipc *sc_ipc = sc_chan->sc_ipc; in imx_scu_rx_callback()
110 if (sc_chan->idx == 0) { in imx_scu_rx_callback()
119 sc_ipc->msg[sc_chan->idx] = *data; in imx_scu_rx_callback()
122 dev_dbg(sc_ipc->dev, "mu %u msg %u 0x%x\n", sc_chan->idx, in imx_scu_rx_callback()
132 struct imx_sc_chan *sc_chan; in imx_scu_ipc_write() local
145 sc_chan = &sc_ipc->chans[i % 4]; in imx_scu_ipc_write()
146 ret = mbox_send_message(sc_chan->ch, &data[i]); in imx_scu_ipc_write()
202 struct imx_sc_chan *sc_chan; in imx_scu_probe() local
221 sc_chan = &sc_ipc->chans[i]; in imx_scu_probe()
[all …]