Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sof/
H A Dipc3-priv.h39 struct snd_sof_dsp_ops *dsp_ops = sdev->pdata->desc->ops; in sof_dtrace_host_init() local
41 if (dsp_ops->trace_init) in sof_dtrace_host_init()
42 return dsp_ops->trace_init(sdev, dmatb, dtrace_params); in sof_dtrace_host_init()
49 struct snd_sof_dsp_ops *dsp_ops = sdev->pdata->desc->ops; in sof_dtrace_host_release() local
51 if (dsp_ops->trace_release) in sof_dtrace_host_release()
52 return dsp_ops->trace_release(sdev); in sof_dtrace_host_release()
59 struct snd_sof_dsp_ops *dsp_ops = sdev->pdata->desc->ops; in sof_dtrace_host_trigger() local
61 if (dsp_ops->trace_trigger) in sof_dtrace_host_trigger()
62 return dsp_ops->trace_trigger(sdev, cmd); in sof_dtrace_host_trigger()
/openbmc/linux/sound/soc/intel/skylake/
H A Dbxt-sst.c60 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, in bxt_load_library()
72 ctx->dsp_ops.trigger(ctx->dev, true, stream_tag); in bxt_load_library()
78 ctx->dsp_ops.trigger(ctx->dev, false, stream_tag); in bxt_load_library()
79 ctx->dsp_ops.cleanup(ctx->dev, &dmab, stream_tag); in bxt_load_library()
106 ctx->dsp_ops.stream_tag = stream_tag; in sst_bxt_prepare_fw()
161 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag); in sst_bxt_prepare_fw()
171 ctx->dsp_ops.trigger(ctx->dev, true, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
175 ctx->dsp_ops.trigger(ctx->dev, false, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
176 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
545 const char *fw_name, struct skl_dsp_loader_ops dsp_ops, in bxt_sst_dsp_init() argument
[all …]
H A Dcnl-sst.c51 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw()
57 ctx->dsp_ops.stream_tag = stream_tag; in cnl_prepare_fw()
103 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag); in cnl_prepare_fw()
113 ctx->dsp_ops.trigger(ctx->dev, true, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
118 ctx->dsp_ops.trigger(ctx->dev, false, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
119 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
436 const char *fw_name, struct skl_dsp_loader_ops dsp_ops, in cnl_sst_dsp_init() argument
443 ret = skl_sst_ctx_init(dev, irq, fw_name, dsp_ops, dsp, &cnl_dev); in cnl_sst_dsp_init()
H A Dskl-sst-dsp.h226 const char *fw_name, struct skl_dsp_loader_ops dsp_ops,
229 const char *fw_name, struct skl_dsp_loader_ops dsp_ops,
249 struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp,
H A Dskl-sst-cldma.c161 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_cleanup()
162 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl); in skl_cldma_cleanup()
357 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_prepare()
H A Dskl-sst-utils.c358 struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp, in skl_sst_ctx_init() argument
375 sst->dsp_ops = dsp_ops; in skl_sst_ctx_init()
H A Dcnl-sst-dsp.h98 const char *fw_name, struct skl_dsp_loader_ops dsp_ops,
H A Dskl-messages.c170 static const struct skl_dsp_ops dsp_ops[] = { variable
241 for (i = 0; i < ARRAY_SIZE(dsp_ops); i++) { in skl_get_dsp_ops()
242 if (dsp_ops[i].id == pci_id) in skl_get_dsp_ops()
243 return &dsp_ops[i]; in skl_get_dsp_ops()
284 skl->dsp_ops = ops; in skl_init_dsp()
321 skl->dsp_ops->cleanup(bus->dev, skl); in skl_free_dsp()
H A Dskl.h131 const struct skl_dsp_ops *dsp_ops; member
H A Dskl-sst.c518 const char *fw_name, struct skl_dsp_loader_ops dsp_ops, in skl_sst_dsp_init() argument
525 ret = skl_sst_ctx_init(dev, irq, fw_name, dsp_ops, dsp, &skl_dev); in skl_sst_dsp_init()
/openbmc/linux/sound/soc/intel/common/
H A Dsst-dsp-priv.h92 struct skl_dsp_loader_ops dsp_ops; member
/openbmc/linux/sound/soc/sof/imx/
H A Dimx8ulp.c111 static struct imx_dsp_ops dsp_ops = { variable
207 priv->dsp_ipc->ops = &dsp_ops; in imx8ulp_probe()
H A Dimx8.c105 static struct imx_dsp_ops dsp_ops = { variable
267 priv->dsp_ipc->ops = &dsp_ops; in imx8_probe()
/openbmc/linux/sound/soc/intel/avs/
H A Davs.h65 ((adev)->spec->dsp_ops->op(adev, ## __VA_ARGS__))
80 const struct avs_dsp_ops *const dsp_ops; member
H A Dcore.c723 .dsp_ops = &skl_dsp_ops,
739 .dsp_ops = &apl_dsp_ops,
/openbmc/linux/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.c85 static struct mtk_adsp_ipc_ops dsp_ops = { variable
372 priv->dsp_ipc->ops = &dsp_ops; in mt8195_dsp_probe()
/openbmc/linux/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.c85 static struct mtk_adsp_ipc_ops dsp_ops = { variable
381 priv->dsp_ipc->ops = &dsp_ops; in mt8186_dsp_probe()