Searched refs:sc_ipc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/firmware/imx/ |
H A D | imx-scu.c | 27 struct imx_sc_ipc *sc_ipc; member 116 struct imx_sc_ipc *sc_ipc = sc_chan->sc_ipc; in imx_scu_rx_callback() local 121 if (!sc_ipc->msg) { in imx_scu_rx_callback() 122 dev_warn(sc_ipc->dev, "unexpected rx idx %d 0x%08x, ignore!\n", in imx_scu_rx_callback() 127 if (sc_ipc->fast_ipc) { in imx_scu_rx_callback() 129 sc_ipc->rx_size = hdr->size; in imx_scu_rx_callback() 130 sc_ipc->msg[0] = *data++; in imx_scu_rx_callback() 132 for (i = 1; i < sc_ipc->rx_size; i++) in imx_scu_rx_callback() 133 sc_ipc->msg[i] = *data++; in imx_scu_rx_callback() 135 complete(&sc_ipc->done); in imx_scu_rx_callback() [all …]
|
/openbmc/linux/sound/soc/sof/imx/ |
H A D | imx8.c | 60 struct imx_sc_ipc *sc_ipc; member 129 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 136 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 143 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 151 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 158 imx_sc_pm_cpu_start(dsp_priv->sc_ipc, IMX_SC_R_DSP, true, in imx8x_run() 169 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8_run() 176 imx_sc_pm_cpu_start(dsp_priv->sc_ipc, IMX_SC_R_DSP, true, in imx8_run() 243 ret = imx_scu_get_handle(&priv->sc_ipc); in imx8_probe()
|