Home
last modified time | relevance | path

Searched refs:adsp (Results 1 – 25 of 88) sorted by relevance

1234

/linux-6.1.9/drivers/remoteproc/
Dqcom_q6v5_adsp.c110 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
211 regmap_write(adsp->halt_map, adsp->halt_lpass + LPASS_HALTREQ_REG, 1); in qcom_wpss_shutdown()
[all …]
Dqcom_q6v5_pas.c93 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
172 ret = qcom_mdt_pas_init(adsp->dev, fw, rproc->firmware, adsp->pas_id, in adsp_load()
[all …]
/linux-6.1.9/sound/soc/sof/mediatek/mt8186/
Dmt8186.c129 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()
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()
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()
188 adsp->va_cfgreg = devm_ioremap_resource(dev, mmio); in platform_parse_resource()
189 if (IS_ERR(adsp->va_cfgreg)) in platform_parse_resource()
[all …]
/linux-6.1.9/sound/soc/sof/mediatek/mt8195/
Dmt8195.c130 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()
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()
179 (u32)adsp->pa_dram); in platform_parse_resource()
183 if (adsp->dramsize < TOTAL_SIZE_SHARED_DRAM_FROM_TAIL) { in platform_parse_resource()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/remoteproc/
Dqcom,adsp.yaml4 $id: http://devicetree.org/schemas/remoteproc/qcom,adsp.yaml#
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
36 - qcom,sdm660-adsp-pas
37 - qcom,sdm845-adsp-pas
[all …]
Dqcom,sdm845-adsp-pil.yaml4 $id: http://devicetree.org/schemas/remoteproc/qcom,sdm845-adsp-pil.yaml#
19 - qcom,sdm845-adsp-pil
124 compatible = "qcom,sdm845-adsp-pil";
/linux-6.1.9/Documentation/devicetree/bindings/mailbox/
Dmtk,adsp-mbox.yaml4 $id: http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml#
21 - mediatek,mt8195-adsp-mbox
22 - mediatek,mt8186-adsp-mbox
47 compatible = "mediatek,mt8195-adsp-mbox";
/linux-6.1.9/sound/soc/codecs/
Dcs47l24.c1090 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 …]
Dcs47l15.c1254 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 …]
Dcs47l35.c1520 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 …]
Dwm5102.c1928 return wm_adsp_compr_open(&priv->core.adsp[0], stream); in wm5102_open()
1937 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[0]); in wm5102_adsp2_irq()
1955 ret = wm_adsp2_component_probe(&priv->core.adsp[0], component); in wm5102_component_probe()
1977 wm_adsp2_component_remove(&priv->core.adsp[0], component); in wm5102_component_probe()
1986 wm_adsp2_component_remove(&priv->core.adsp[0], component); in wm5102_component_remove()
2060 wm5102->core.adsp[0].part = "wm5102"; in wm5102_probe()
2061 wm5102->core.adsp[0].cs_dsp.num = 1; in wm5102_probe()
2062 wm5102->core.adsp[0].cs_dsp.type = WMFW_ADSP2; in wm5102_probe()
2063 wm5102->core.adsp[0].cs_dsp.base = ARIZONA_DSP1_CONTROL_1; in wm5102_probe()
2064 wm5102->core.adsp[0].cs_dsp.dev = arizona->dev; in wm5102_probe()
[all …]
Dcs47l92.c1858 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 …]
Dcs47l90.c2381 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l90_open()
2394 ret = wm_adsp_compr_handle_irq(&priv->adsp[i]); in cs47l90_adsp2_irq()
2443 wm_adsp2_component_probe(&cs47l90->core.adsp[i], component); in cs47l90_component_probe()
2459 wm_adsp2_component_remove(&cs47l90->core.adsp[i], component); in cs47l90_component_remove()
2544 cs47l90->core.adsp[i].part = "cs47l90"; in cs47l90_probe()
2545 cs47l90->core.adsp[i].cs_dsp.num = i + 1; in cs47l90_probe()
2546 cs47l90->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in cs47l90_probe()
2547 cs47l90->core.adsp[i].cs_dsp.rev = 2; in cs47l90_probe()
2548 cs47l90->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l90_probe()
2549 cs47l90->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l90_probe()
[all …]
Dcs47l85.c2462 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l85_open()
2475 ret = wm_adsp_compr_handle_irq(&priv->adsp[i]); in cs47l85_adsp2_irq()
2524 wm_adsp2_component_probe(&cs47l85->core.adsp[i], component); in cs47l85_component_probe()
2540 wm_adsp2_component_remove(&cs47l85->core.adsp[i], component); in cs47l85_component_remove()
2633 cs47l85->core.adsp[i].part = "cs47l85"; in cs47l85_probe()
2634 cs47l85->core.adsp[i].cs_dsp.num = i + 1; in cs47l85_probe()
2635 cs47l85->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in cs47l85_probe()
2636 cs47l85->core.adsp[i].cs_dsp.rev = 1; in cs47l85_probe()
2637 cs47l85->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l85_probe()
2638 cs47l85->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l85_probe()
[all …]
Dwm5110.c2263 return wm_adsp_compr_open(&priv->core.adsp[n_adsp], stream); in wm5110_open()
2275 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); in wm5110_adsp2_irq()
2312 ret = wm_adsp2_component_probe(&priv->core.adsp[i], component); in wm5110_component_probe()
2329 wm_adsp2_component_remove(&priv->core.adsp[i], component); in wm5110_component_probe()
2340 wm_adsp2_component_remove(&priv->core.adsp[i], component); in wm5110_component_remove()
2414 wm5110->core.adsp[i].part = "wm5110"; in wm5110_probe()
2415 wm5110->core.adsp[i].cs_dsp.num = i + 1; in wm5110_probe()
2416 wm5110->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in wm5110_probe()
2417 wm5110->core.adsp[i].cs_dsp.dev = arizona->dev; in wm5110_probe()
2418 wm5110->core.adsp[i].cs_dsp.regmap = arizona->regmap; in wm5110_probe()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/soc/qcom/
Dqcom,apr.yaml147 "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-6.1.9/sound/soc/sof/mediatek/
DMakefile2 obj-$(CONFIG_SND_SOC_SOF_MTK_COMMON) += mtk-adsp-common.o
Dadsp_helper.h46 struct mtk_adsp_chip_info *adsp; member
/linux-6.1.9/arch/arm64/boot/dts/qcom/
Dsdm845-lg-judyp.dts29 firmware-name = "qcom/sdm845/judyp/adsp.mbn";
Dsdm845-lg-judyln.dts43 firmware-name = "qcom/sdm845/judyln/adsp.mbn";
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dqcom,q6adm-routing.yaml45 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dqcom,sc7280-lpasscorecc.yaml46 qcom,adsp-pil-mode:
187 qcom,adsp-pil-mode;
/linux-6.1.9/arch/arm/boot/dts/
Dqcom-msm8226.dtsi58 adsp_region: adsp@dc00000 {
117 smp2p-adsp {
541 adsp: remoteproc@fe200000 { label
542 compatible = "qcom,msm8226-adsp-pil";
/linux-6.1.9/drivers/firmware/
DMakefile18 obj-$(CONFIG_MTK_ADSP_IPC) += mtk-adsp-ipc.o
/linux-6.1.9/drivers/mailbox/
DMakefile52 obj-$(CONFIG_MTK_ADSP_MBOX) += mtk-adsp-mailbox.o

1234