/Linux-v6.1/drivers/remoteproc/ |
D | qcom_q6v5_adsp.c | 3 * Qualcomm Technology Inc. ADSP Peripheral Image Loader for SDM845. 110 int (*shutdown)(struct qcom_adsp *adsp); 113 static int qcom_rproc_pds_attach(struct device *dev, struct qcom_adsp *adsp, in qcom_rproc_pds_attach() argument 116 struct device **devs = adsp->proxy_pds; in qcom_rproc_pds_attach() 134 if (num_pds > ARRAY_SIZE(adsp->proxy_pds)) in qcom_rproc_pds_attach() 154 static void qcom_rproc_pds_detach(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_detach() argument 157 struct device *dev = adsp->dev; in qcom_rproc_pds_detach() 170 static int qcom_rproc_pds_enable(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_enable() argument 196 static void qcom_rproc_pds_disable(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_disable() argument 207 static int qcom_wpss_shutdown(struct qcom_adsp *adsp) in qcom_wpss_shutdown() argument [all …]
|
D | qcom_q6v5_pas.c | 3 * Qualcomm ADSP/SLPI Peripheral Image Loader for MSM8974 and MSM8996 93 struct qcom_adsp *adsp = rproc->priv; in adsp_minidump() local 98 qcom_minidump(rproc, adsp->minidump_id); in adsp_minidump() 101 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument 128 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument 139 static int adsp_shutdown_poll_decrypt(struct qcom_adsp *adsp) in adsp_shutdown_poll_decrypt() argument 146 ret = qcom_scm_pas_shutdown(adsp->pas_id); in adsp_shutdown_poll_decrypt() 154 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_unprepare() local 162 qcom_scm_pas_metadata_release(&adsp->pas_metadata); in adsp_unprepare() 169 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_load() local [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,adsp.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/qcom,adsp.yaml# 7 title: Qualcomm ADSP Peripheral Image Loader binding 14 firmware on the Qualcomm ADSP Hexagon core. 19 - qcom,msm8226-adsp-pil 20 - qcom,msm8974-adsp-pil 21 - qcom,msm8996-adsp-pil 23 - qcom,msm8998-adsp-pas 25 - qcom,qcs404-adsp-pas 30 - qcom,sc8180x-adsp-pas 33 - qcom,sc8280xp-adsp-pas [all …]
|
D | qcom,sdm845-adsp-pil.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sdm845-adsp-pil.yaml# 7 title: Qualcomm SDM845 ADSP Peripheral Image Loader 14 on the Qualcomm Technology Inc. ADSP. 19 - qcom,sdm845-adsp-pil 124 compatible = "qcom,sdm845-adsp-pil";
|
/Linux-v6.1/sound/soc/sof/mediatek/mt8186/ |
D | mt8186.c | 129 struct mtk_adsp_chip_info *adsp = data; in platform_parse_resource() local 166 adsp->pa_dram = (phys_addr_t)res.start; in platform_parse_resource() 167 if (adsp->pa_dram & DRAM_REMAP_MASK) { in platform_parse_resource() 168 dev_err(dev, "adsp memory(%#x) is not 4K-aligned\n", in platform_parse_resource() 169 (u32)adsp->pa_dram); in platform_parse_resource() 173 adsp->dramsize = resource_size(&res); in platform_parse_resource() 174 if (adsp->dramsize < TOTAL_SIZE_SHARED_DRAM_FROM_TAIL) { in platform_parse_resource() 175 dev_err(dev, "adsp memory(%#x) is not enough for share\n", in platform_parse_resource() 176 adsp->dramsize); in platform_parse_resource() 180 dev_dbg(dev, "dram pbase=%pa size=%#x\n", &adsp->pa_dram, adsp->dramsize); in platform_parse_resource() [all …]
|
/Linux-v6.1/sound/soc/sof/mediatek/mt8195/ |
D | mt8195.c | 27 #include "../mtk-adsp-common.h" 130 struct mtk_adsp_chip_info *adsp = data; in platform_parse_resource() local 148 adsp->pa_shared_dram = (phys_addr_t)res.start; in platform_parse_resource() 149 adsp->shared_size = resource_size(&res); in platform_parse_resource() 150 if (adsp->pa_shared_dram & DRAM_REMAP_MASK) { in platform_parse_resource() 151 dev_err(dev, "adsp shared dma memory(%#x) is not 4K-aligned\n", in platform_parse_resource() 152 (u32)adsp->pa_shared_dram); in platform_parse_resource() 175 adsp->pa_dram = (phys_addr_t)res.start; in platform_parse_resource() 176 adsp->dramsize = resource_size(&res); in platform_parse_resource() 177 if (adsp->pa_dram & DRAM_REMAP_MASK) { in platform_parse_resource() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mailbox/ |
D | mtk,adsp-mbox.yaml | 4 $id: http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml# 7 title: Mediatek ADSP mailbox 13 The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC 14 to communicate with ADSP by passing messages through two mailbox channels. 15 The MTK ADSP mailbox IPC also provides the ability for one processor to 21 - mediatek,mt8195-adsp-mbox 22 - mediatek,mt8186-adsp-mbox 47 compatible = "mediatek,mt8195-adsp-mbox";
|
/Linux-v6.1/drivers/firmware/ |
D | mtk-adsp-ipc.c | 7 #include <linux/firmware/mediatek/mtk-adsp-ipc.h> 18 * mtk_adsp_ipc_send - send ipc cmd to MTK ADSP 20 * @ipc: ADSP IPC handle 45 * mtk_adsp_ipc_recv - recv callback used by MTK ADSP mailbox 50 * Users of ADSP IPC will need to privde handle_reply and handle_request 115 dev_dbg(dev, "MTK ADSP IPC initialized\n"); in mtk_adsp_ipc_probe() 136 .name = "mtk-adsp-ipc", 144 MODULE_DESCRIPTION("MTK ADSP IPC Driver");
|
D | Kconfig | 207 tristate "MTK ADSP IPC Protocol driver" 210 Say yes here to add support for the MediaTek ADSP IPC 211 between host AP (Linux) and the firmware running on ADSP. 212 ADSP exists on some mtk processors. 213 Client might use shared memory to exchange information with ADSP.
|
/Linux-v6.1/sound/soc/sof/mediatek/ |
D | adsp_helper.h | 10 #include <linux/firmware/mediatek/mtk-adsp-ipc.h> 13 * Global important adsp data structure. 17 phys_addr_t pa_dram; /* adsp dram physical base */ 18 phys_addr_t pa_shared_dram; /* adsp dram physical base */ 46 struct mtk_adsp_chip_info *adsp; member
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,apr.yaml | 34 4 = ADSP Domain 49 4 = ADSP Domain 147 "avs/audio", "msm/adsp/audio_pd". 149 "tms/servreg", "msm/adsp/audio_pd". 236 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 242 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 248 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 254 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 269 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
|
/Linux-v6.1/drivers/mailbox/ |
D | mtk-adsp-mailbox.c | 65 /* Clear ADSP mbox command */ in mtk_adsp_mbox_startup() 76 /* Clear ADSP mbox command */ in mtk_adsp_mbox_shutdown() 167 { .compatible = "mediatek,mt8186-adsp-mbox", .data = &mt8186_adsp_mbox_cfg }, 168 { .compatible = "mediatek,mt8195-adsp-mbox", .data = &mt8195_adsp_mbox_cfg }, 183 MODULE_DESCRIPTION("MTK ADSP Mailbox Controller");
|
/Linux-v6.1/sound/soc/codecs/ |
D | cs47l24.c | 1090 return wm_adsp_compr_open(&priv->core.adsp[n_adsp], stream); in cs47l24_open() 1102 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); in cs47l24_adsp2_irq() 1138 ret = wm_adsp2_component_probe(&priv->core.adsp[1], component); in cs47l24_component_probe() 1142 ret = wm_adsp2_component_probe(&priv->core.adsp[2], component); in cs47l24_component_probe() 1157 wm_adsp2_component_remove(&priv->core.adsp[1], component); in cs47l24_component_probe() 1158 wm_adsp2_component_remove(&priv->core.adsp[2], component); in cs47l24_component_probe() 1167 wm_adsp2_component_remove(&priv->core.adsp[1], component); in cs47l24_component_remove() 1168 wm_adsp2_component_remove(&priv->core.adsp[2], component); in cs47l24_component_remove() 1235 cs47l24->core.adsp[i].part = "cs47l24"; in cs47l24_probe() 1236 cs47l24->core.adsp[i].cs_dsp.num = i + 1; in cs47l24_probe() [all …]
|
D | cs47l15.c | 1254 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l15_open() 1264 ret = wm_adsp_compr_handle_irq(&priv->adsp[0]); in cs47l15_adsp2_irq() 1307 wm_adsp2_component_probe(&cs47l15->core.adsp[0], component); in cs47l15_component_probe() 1321 wm_adsp2_component_remove(&cs47l15->core.adsp[0], component); in cs47l15_component_remove() 1406 cs47l15->core.adsp[0].part = "cs47l15"; in cs47l15_probe() 1407 cs47l15->core.adsp[0].cs_dsp.num = 1; in cs47l15_probe() 1408 cs47l15->core.adsp[0].cs_dsp.type = WMFW_ADSP2; in cs47l15_probe() 1409 cs47l15->core.adsp[0].cs_dsp.rev = 2; in cs47l15_probe() 1410 cs47l15->core.adsp[0].cs_dsp.dev = madera->dev; in cs47l15_probe() 1411 cs47l15->core.adsp[0].cs_dsp.regmap = madera->regmap_32bit; in cs47l15_probe() [all …]
|
D | cs47l35.c | 1520 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l35_open() 1533 ret = wm_adsp_compr_handle_irq(&priv->adsp[i]); in cs47l35_adsp2_irq() 1587 wm_adsp2_component_probe(&cs47l35->core.adsp[i], component); in cs47l35_component_probe() 1603 wm_adsp2_component_remove(&cs47l35->core.adsp[i], component); in cs47l35_component_remove() 1687 cs47l35->core.adsp[i].part = "cs47l35"; in cs47l35_probe() 1688 cs47l35->core.adsp[i].cs_dsp.num = i + 1; in cs47l35_probe() 1689 cs47l35->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in cs47l35_probe() 1690 cs47l35->core.adsp[i].cs_dsp.rev = 1; in cs47l35_probe() 1691 cs47l35->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l35_probe() 1692 cs47l35->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l35_probe() [all …]
|
D | cs35l34.h | 22 #define CS35L34_ADSP_CLK_CTL 0x0A /* (ADSP) Clock Ctl */ 55 #define CS35L34_ADSP_I2S_CTL 0x50 /* ADSP I2S Ctl */ 56 #define CS35L34_ADSP_TDM_CTL 0x51 /* ADSP TDM Ctl */ 113 /* Tristate the ADSP SDOUT when in I2C mode */
|
D | cs47l92.c | 1858 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l92_open() 1868 ret = wm_adsp_compr_handle_irq(&priv->adsp[0]); in cs47l92_adsp2_irq() 1914 return wm_adsp2_component_probe(&cs47l92->core.adsp[0], component); in cs47l92_component_probe() 1926 wm_adsp2_component_remove(&cs47l92->core.adsp[0], component); in cs47l92_component_remove() 2009 cs47l92->core.adsp[0].part = "cs47l92"; in cs47l92_probe() 2010 cs47l92->core.adsp[0].cs_dsp.num = 1; in cs47l92_probe() 2011 cs47l92->core.adsp[0].cs_dsp.type = WMFW_ADSP2; in cs47l92_probe() 2012 cs47l92->core.adsp[0].cs_dsp.rev = 2; in cs47l92_probe() 2013 cs47l92->core.adsp[0].cs_dsp.dev = madera->dev; in cs47l92_probe() 2014 cs47l92->core.adsp[0].cs_dsp.regmap = madera->regmap_32bit; in cs47l92_probe() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | mt8195-mt6359.yaml | 38 mediatek,adsp: 40 description: The phandle of MT8195 ADSP platform.
|
D | qcom,lpass-rx-macro.yaml | 34 - items: #for ADSP based platforms 40 - items: #for ADSP bypass based platforms
|
D | mt8186-mt6366-da7219-max98357.yaml | 46 mediatek,adsp: 48 description: The phandle of MT8186 ADSP platform.
|
D | mt8186-mt6366-rt1019-rt5682s.yaml | 46 mediatek,adsp: 48 description: The phandle of MT8186 ADSP platform.
|
D | qcom,lpass-tx-macro.yaml | 34 - items: #for ADSP based platforms 40 - items: #for ADSP bypass based platforms
|
D | qcom,lpass-va-macro.yaml | 34 - items: #for ADSP based platforms 38 - items: #for ADSP bypass based platforms
|
/Linux-v6.1/sound/soc/qcom/qdsp6/ |
D | q6core.c | 140 dev_err(&adev->dev, "Message id from adsp core svc: 0x%x\n", in q6core_callback() 232 /* assume that the adsp is up if we not support this command */ in __q6core_is_adsp_ready() 297 * q6core_is_adsp_ready() - Get status of adsp 299 * Return: Will be an true if adsp is ready and false if not.
|
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | qcom,sc7280-lpass-lpi-pinctrl.yaml | 21 qcom,adsp-bypass-mode: 23 Tells ADSP is in bypass mode.
|