/openbmc/linux/sound/soc/sof/ |
H A D | ipc3-priv.h | 39 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 D | bxt-sst.c | 60 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 D | cnl-sst.c | 51 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 D | skl-sst-dsp.h | 226 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 D | skl-sst-cldma.c | 161 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 D | skl-sst-utils.c | 358 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 D | cnl-sst-dsp.h | 98 const char *fw_name, struct skl_dsp_loader_ops dsp_ops,
|
H A D | skl-messages.c | 170 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 D | skl.h | 131 const struct skl_dsp_ops *dsp_ops; member
|
H A D | skl-sst.c | 518 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 D | sst-dsp-priv.h | 92 struct skl_dsp_loader_ops dsp_ops; member
|
/openbmc/linux/sound/soc/sof/imx/ |
H A D | imx8ulp.c | 111 static struct imx_dsp_ops dsp_ops = { variable 207 priv->dsp_ipc->ops = &dsp_ops; in imx8ulp_probe()
|
H A D | imx8.c | 105 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 D | avs.h | 65 ((adev)->spec->dsp_ops->op(adev, ## __VA_ARGS__)) 80 const struct avs_dsp_ops *const dsp_ops; member
|
H A D | core.c | 723 .dsp_ops = &skl_dsp_ops, 739 .dsp_ops = &apl_dsp_ops,
|
/openbmc/linux/sound/soc/sof/mediatek/mt8195/ |
H A D | mt8195.c | 85 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 D | mt8186.c | 85 static struct mtk_adsp_ipc_ops dsp_ops = { variable 381 priv->dsp_ipc->ops = &dsp_ops; in mt8186_dsp_probe()
|