Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/sof/
Dipc3-priv.h37 struct snd_sof_dsp_ops *dsp_ops = sdev->pdata->desc->ops; in sof_dtrace_host_init() local
39 if (dsp_ops->trace_init) in sof_dtrace_host_init()
40 return dsp_ops->trace_init(sdev, dmatb, dtrace_params); in sof_dtrace_host_init()
47 struct snd_sof_dsp_ops *dsp_ops = sdev->pdata->desc->ops; in sof_dtrace_host_release() local
49 if (dsp_ops->trace_release) in sof_dtrace_host_release()
50 return dsp_ops->trace_release(sdev); in sof_dtrace_host_release()
57 struct snd_sof_dsp_ops *dsp_ops = sdev->pdata->desc->ops; in sof_dtrace_host_trigger() local
59 if (dsp_ops->trace_trigger) in sof_dtrace_host_trigger()
60 return dsp_ops->trace_trigger(sdev, cmd); in sof_dtrace_host_trigger()
/linux-5.19.10/sound/soc/intel/skylake/
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()
99 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in sst_bxt_prepare_fw()
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()
[all …]
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()
Dskl-sst-cldma.c156 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_cleanup()
157 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl); in skl_cldma_cleanup()
341 ret = ctx->dsp_ops.alloc_dma_buf(ctx->dev, in skl_cldma_prepare()
348 ret = ctx->dsp_ops.alloc_dma_buf(ctx->dev, in skl_cldma_prepare()
352 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_prepare()
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,
Dskl-sst-utils.c357 struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp, in skl_sst_ctx_init() argument
374 sst->dsp_ops = dsp_ops; in skl_sst_ctx_init()
Dcnl-sst-dsp.h98 const char *fw_name, struct skl_dsp_loader_ops dsp_ops,
Dskl-messages.c172 static const struct skl_dsp_ops dsp_ops[] = { variable
243 for (i = 0; i < ARRAY_SIZE(dsp_ops); i++) { in skl_get_dsp_ops()
244 if (dsp_ops[i].id == pci_id) in skl_get_dsp_ops()
245 return &dsp_ops[i]; in skl_get_dsp_ops()
286 skl->dsp_ops = ops; in skl_init_dsp()
323 skl->dsp_ops->cleanup(bus->dev, skl); in skl_free_dsp()
Dskl.h131 const struct skl_dsp_ops *dsp_ops; member
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()
/linux-5.19.10/sound/soc/intel/common/
Dsst-dsp-priv.h92 struct skl_dsp_loader_ops dsp_ops; member
/linux-5.19.10/sound/soc/intel/avs/
Davs.h57 ((adev)->spec->dsp_ops->op(adev, ## __VA_ARGS__))
72 const struct avs_dsp_ops *const dsp_ops; member
Dcore.c646 .dsp_ops = &skl_dsp_ops,
662 .dsp_ops = &apl_dsp_ops,
/linux-5.19.10/sound/soc/sof/mediatek/mt8186/
Dmt8186.c118 static struct mtk_adsp_ipc_ops dsp_ops = { variable
408 priv->dsp_ipc->ops = &dsp_ops; in mt8186_dsp_probe()
/linux-5.19.10/sound/soc/sof/imx/
Dimx8.c105 static struct imx_dsp_ops dsp_ops = { variable
267 priv->dsp_ipc->ops = &dsp_ops; in imx8_probe()
/linux-5.19.10/sound/soc/sof/mediatek/mt8195/
Dmt8195.c119 static struct mtk_adsp_ipc_ops dsp_ops = { variable
406 priv->dsp_ipc->ops = &dsp_ops; in mt8195_dsp_probe()