Searched refs:sc_ipc (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/firmware/imx/ |
D | imx-scu.c | 26 struct imx_sc_ipc *sc_ipc; member 115 struct imx_sc_ipc *sc_ipc = sc_chan->sc_ipc; in imx_scu_rx_callback() local 120 if (!sc_ipc->msg) { in imx_scu_rx_callback() 121 dev_warn(sc_ipc->dev, "unexpected rx idx %d 0x%08x, ignore!\n", in imx_scu_rx_callback() 126 if (sc_ipc->fast_ipc) { in imx_scu_rx_callback() 128 sc_ipc->rx_size = hdr->size; in imx_scu_rx_callback() 129 sc_ipc->msg[0] = *data++; in imx_scu_rx_callback() 131 for (i = 1; i < sc_ipc->rx_size; i++) in imx_scu_rx_callback() 132 sc_ipc->msg[i] = *data++; in imx_scu_rx_callback() 134 complete(&sc_ipc->done); in imx_scu_rx_callback() [all …]
|
/kernel/linux/linux-5.10/sound/soc/sof/imx/ |
D | imx8.c | 52 struct imx_sc_ipc *sc_ipc; member 155 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 162 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 169 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 177 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8x_run() 184 imx_sc_pm_cpu_start(dsp_priv->sc_ipc, IMX_SC_R_DSP, true, in imx8x_run() 195 ret = imx_sc_misc_set_control(dsp_priv->sc_ipc, IMX_SC_R_DSP, in imx8_run() 202 imx_sc_pm_cpu_start(dsp_priv->sc_ipc, IMX_SC_R_DSP, true, in imx8_run() 264 ret = imx_scu_get_handle(&priv->sc_ipc); in imx8_probe()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0018_linux_drivers_firmware.patch | 468 struct imx_sc_ipc *sc_ipc; 469 @@ -204,6 +208,7 @@ int imx_scu_call_rpc(struct imx_sc_ipc *sc_ipc, void *msg, bool have_resp) 476 if (WARN_ON(!sc_ipc || !msg)) 477 @@ -218,33 +223,45 @@ int imx_scu_call_rpc(struct imx_sc_ipc *sc_ipc, void *msg, bool have_resp) 480 sc_ipc->count = 0; 481 - ret = imx_scu_ipc_write(sc_ipc, msg); 483 - dev_err(sc_ipc->dev, "RPC send msg failed: %d\n", ret); 488 - if (!wait_for_completion_timeout(&sc_ipc->done, 490 - dev_err(sc_ipc->dev, "RPC send msg timeout\n"); 491 - mutex_unlock(&sc_ipc->lock); [all …]
|