Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/remoteproc/
H A Dqcom_q6v5_adsp.c120 int (*shutdown)(struct qcom_adsp *adsp);
123 static int qcom_rproc_pds_attach(struct device *dev, struct qcom_adsp *adsp, in qcom_rproc_pds_attach() argument
126 struct device **devs = adsp->proxy_pds; in qcom_rproc_pds_attach()
144 if (num_pds > ARRAY_SIZE(adsp->proxy_pds)) in qcom_rproc_pds_attach()
164 static void qcom_rproc_pds_detach(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_detach() argument
167 struct device *dev = adsp->dev; in qcom_rproc_pds_detach()
180 static int qcom_rproc_pds_enable(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_enable() argument
206 static void qcom_rproc_pds_disable(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_disable() argument
217 static int qcom_wpss_shutdown(struct qcom_adsp *adsp) in qcom_wpss_shutdown() argument
221 regmap_write(adsp->halt_map, adsp->halt_lpass + LPASS_HALTREQ_REG, 1); in qcom_wpss_shutdown()
[all …]
H A Dqcom_q6v5_pas.c112 struct qcom_adsp *adsp = rproc->priv; in adsp_segment_dump() local
115 total_offset = segment->da + segment->offset + offset - adsp->mem_phys; in adsp_segment_dump()
116 if (total_offset < 0 || total_offset + size > adsp->mem_size) { in adsp_segment_dump()
117 dev_err(adsp->dev, in adsp_segment_dump()
124 memcpy_fromio(dest, adsp->mem_region + total_offset, size); in adsp_segment_dump()
129 struct qcom_adsp *adsp = rproc->priv; in adsp_minidump() local
134 qcom_minidump(rproc, adsp->minidump_id, adsp_segment_dump); in adsp_minidump()
137 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument
164 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument
175 static int adsp_shutdown_poll_decrypt(struct qcom_adsp *adsp) in adsp_shutdown_poll_decrypt() argument
[all …]
/openbmc/linux/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.c96 struct mtk_adsp_chip_info *adsp = data; in platform_parse_resource() local
114 adsp->pa_shared_dram = (phys_addr_t)res.start; in platform_parse_resource()
115 adsp->shared_size = resource_size(&res); in platform_parse_resource()
116 if (adsp->pa_shared_dram & DRAM_REMAP_MASK) { in platform_parse_resource()
118 (u32)adsp->pa_shared_dram); in platform_parse_resource()
141 adsp->pa_dram = (phys_addr_t)res.start; in platform_parse_resource()
142 if (adsp->pa_dram & DRAM_REMAP_MASK) { in platform_parse_resource()
144 (u32)adsp->pa_dram); in platform_parse_resource()
148 adsp->dramsize = resource_size(&res); in platform_parse_resource()
149 if (adsp->dramsize < TOTAL_SIZE_SHARED_DRAM_FROM_TAIL) { in platform_parse_resource()
[all …]
/openbmc/linux/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.c96 struct mtk_adsp_chip_info *adsp = data; in platform_parse_resource() local
114 adsp->pa_shared_dram = (phys_addr_t)res.start; in platform_parse_resource()
115 adsp->shared_size = resource_size(&res); in platform_parse_resource()
116 if (adsp->pa_shared_dram & DRAM_REMAP_MASK) { in platform_parse_resource()
118 (u32)adsp->pa_shared_dram); in platform_parse_resource()
141 adsp->pa_dram = (phys_addr_t)res.start; in platform_parse_resource()
142 adsp->dramsize = resource_size(&res); in platform_parse_resource()
143 if (adsp->pa_dram & DRAM_REMAP_MASK) { in platform_parse_resource()
145 (u32)adsp->pa_dram); in platform_parse_resource()
149 if (adsp->dramsize < TOTAL_SIZE_SHARED_DRAM_FROM_TAIL) { in platform_parse_resource()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dcs47l24.c1094 return wm_adsp_compr_open(&priv->core.adsp[n_adsp], stream); in cs47l24_open()
1106 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); in cs47l24_adsp2_irq()
1142 ret = wm_adsp2_component_probe(&priv->core.adsp[1], component); in cs47l24_component_probe()
1146 ret = wm_adsp2_component_probe(&priv->core.adsp[2], component); in cs47l24_component_probe()
1161 wm_adsp2_component_remove(&priv->core.adsp[1], component); in cs47l24_component_probe()
1162 wm_adsp2_component_remove(&priv->core.adsp[2], component); in cs47l24_component_probe()
1171 wm_adsp2_component_remove(&priv->core.adsp[1], component); in cs47l24_component_remove()
1172 wm_adsp2_component_remove(&priv->core.adsp[2], component); in cs47l24_component_remove()
1239 cs47l24->core.adsp[i].part = "cs47l24"; in cs47l24_probe()
1240 cs47l24->core.adsp[i].cs_dsp.num = i + 1; in cs47l24_probe()
[all …]
H A Dcs47l15.c1258 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l15_open()
1268 ret = wm_adsp_compr_handle_irq(&priv->adsp[0]); in cs47l15_adsp2_irq()
1311 wm_adsp2_component_probe(&cs47l15->core.adsp[0], component); in cs47l15_component_probe()
1325 wm_adsp2_component_remove(&cs47l15->core.adsp[0], component); in cs47l15_component_remove()
1410 cs47l15->core.adsp[0].part = "cs47l15"; in cs47l15_probe()
1411 cs47l15->core.adsp[0].cs_dsp.num = 1; in cs47l15_probe()
1412 cs47l15->core.adsp[0].cs_dsp.type = WMFW_ADSP2; in cs47l15_probe()
1413 cs47l15->core.adsp[0].cs_dsp.rev = 2; in cs47l15_probe()
1414 cs47l15->core.adsp[0].cs_dsp.dev = madera->dev; in cs47l15_probe()
1415 cs47l15->core.adsp[0].cs_dsp.regmap = madera->regmap_32bit; in cs47l15_probe()
[all …]
H A Dcs47l35.c1524 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l35_open()
1537 ret = wm_adsp_compr_handle_irq(&priv->adsp[i]); in cs47l35_adsp2_irq()
1591 wm_adsp2_component_probe(&cs47l35->core.adsp[i], component); in cs47l35_component_probe()
1607 wm_adsp2_component_remove(&cs47l35->core.adsp[i], component); in cs47l35_component_remove()
1691 cs47l35->core.adsp[i].part = "cs47l35"; in cs47l35_probe()
1692 cs47l35->core.adsp[i].cs_dsp.num = i + 1; in cs47l35_probe()
1693 cs47l35->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in cs47l35_probe()
1694 cs47l35->core.adsp[i].cs_dsp.rev = 1; in cs47l35_probe()
1695 cs47l35->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l35_probe()
1696 cs47l35->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l35_probe()
[all …]
H A Dwm5102.c1932 return wm_adsp_compr_open(&priv->core.adsp[0], stream); in wm5102_open()
1941 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[0]); in wm5102_adsp2_irq()
1959 ret = wm_adsp2_component_probe(&priv->core.adsp[0], component); in wm5102_component_probe()
1981 wm_adsp2_component_remove(&priv->core.adsp[0], component); in wm5102_component_probe()
1990 wm_adsp2_component_remove(&priv->core.adsp[0], component); in wm5102_component_remove()
2064 wm5102->core.adsp[0].part = "wm5102"; in wm5102_probe()
2065 wm5102->core.adsp[0].cs_dsp.num = 1; in wm5102_probe()
2066 wm5102->core.adsp[0].cs_dsp.type = WMFW_ADSP2; in wm5102_probe()
2067 wm5102->core.adsp[0].cs_dsp.base = ARIZONA_DSP1_CONTROL_1; in wm5102_probe()
2068 wm5102->core.adsp[0].cs_dsp.dev = arizona->dev; in wm5102_probe()
[all …]
H A Dcs47l92.c1862 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l92_open()
1872 ret = wm_adsp_compr_handle_irq(&priv->adsp[0]); in cs47l92_adsp2_irq()
1918 return wm_adsp2_component_probe(&cs47l92->core.adsp[0], component); in cs47l92_component_probe()
1930 wm_adsp2_component_remove(&cs47l92->core.adsp[0], component); in cs47l92_component_remove()
2013 cs47l92->core.adsp[0].part = "cs47l92"; in cs47l92_probe()
2014 cs47l92->core.adsp[0].cs_dsp.num = 1; in cs47l92_probe()
2015 cs47l92->core.adsp[0].cs_dsp.type = WMFW_ADSP2; in cs47l92_probe()
2016 cs47l92->core.adsp[0].cs_dsp.rev = 2; in cs47l92_probe()
2017 cs47l92->core.adsp[0].cs_dsp.dev = madera->dev; in cs47l92_probe()
2018 cs47l92->core.adsp[0].cs_dsp.regmap = madera->regmap_32bit; in cs47l92_probe()
[all …]
H A Dcs47l90.c2385 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l90_open()
2398 ret = wm_adsp_compr_handle_irq(&priv->adsp[i]); in cs47l90_adsp2_irq()
2447 wm_adsp2_component_probe(&cs47l90->core.adsp[i], component); in cs47l90_component_probe()
2463 wm_adsp2_component_remove(&cs47l90->core.adsp[i], component); in cs47l90_component_remove()
2548 cs47l90->core.adsp[i].part = "cs47l90"; in cs47l90_probe()
2549 cs47l90->core.adsp[i].cs_dsp.num = i + 1; in cs47l90_probe()
2550 cs47l90->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in cs47l90_probe()
2551 cs47l90->core.adsp[i].cs_dsp.rev = 2; in cs47l90_probe()
2552 cs47l90->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l90_probe()
2553 cs47l90->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l90_probe()
[all …]
H A Dcs47l85.c2466 return wm_adsp_compr_open(&priv->adsp[n_adsp], stream); in cs47l85_open()
2479 ret = wm_adsp_compr_handle_irq(&priv->adsp[i]); in cs47l85_adsp2_irq()
2528 wm_adsp2_component_probe(&cs47l85->core.adsp[i], component); in cs47l85_component_probe()
2544 wm_adsp2_component_remove(&cs47l85->core.adsp[i], component); in cs47l85_component_remove()
2637 cs47l85->core.adsp[i].part = "cs47l85"; in cs47l85_probe()
2638 cs47l85->core.adsp[i].cs_dsp.num = i + 1; in cs47l85_probe()
2639 cs47l85->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in cs47l85_probe()
2640 cs47l85->core.adsp[i].cs_dsp.rev = 1; in cs47l85_probe()
2641 cs47l85->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l85_probe()
2642 cs47l85->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l85_probe()
[all …]
H A Dwm5110.c2267 return wm_adsp_compr_open(&priv->core.adsp[n_adsp], stream); in wm5110_open()
2279 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); in wm5110_adsp2_irq()
2316 ret = wm_adsp2_component_probe(&priv->core.adsp[i], component); in wm5110_component_probe()
2333 wm_adsp2_component_remove(&priv->core.adsp[i], component); in wm5110_component_probe()
2344 wm_adsp2_component_remove(&priv->core.adsp[i], component); in wm5110_component_remove()
2418 wm5110->core.adsp[i].part = "wm5110"; in wm5110_probe()
2419 wm5110->core.adsp[i].cs_dsp.num = i + 1; in wm5110_probe()
2420 wm5110->core.adsp[i].cs_dsp.type = WMFW_ADSP2; in wm5110_probe()
2421 wm5110->core.adsp[i].cs_dsp.dev = arizona->dev; in wm5110_probe()
2422 wm5110->core.adsp[i].cs_dsp.regmap = arizona->regmap; in wm5110_probe()
[all …]
/openbmc/linux/sound/soc/sof/mediatek/
H A DMakefile2 obj-$(CONFIG_SND_SOC_SOF_MTK_COMMON) += mtk-adsp-common.o
H A Dadsp_helper.h46 struct mtk_adsp_chip_info *adsp; member
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A DMakefile5 obj-y += adsp.o
/openbmc/u-boot/arch/x86/dts/
H A Dchromebook_samus.dts497 adsp@13,0 {
499 compatible = "intel,wildcatpoint-adsp";
500 intel,adsp-d3-pg-enable = <0>;
501 intel,adsp-sram-pg-enable = <0>;
/openbmc/u-boot/drivers/sound/
H A Dbroadwell_i2s.c238 struct udevice *adsp = dev_get_parent(dev); in broadwell_i2s_probe() local
242 bar0 = dm_pci_read_bar32(adsp, 0); in broadwell_i2s_probe()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-lg-judyp.dts29 firmware-name = "qcom/sdm845/judyp/adsp.mbn";
H A Dmsm8996-oneplus3.dts19 firmware-name = "qcom/msm8996/oneplus3/adsp.mbn";
H A Dmsm8996-oneplus3t.dts20 firmware-name = "qcom/msm8996/oneplus3t/adsp.mbn";
H A Dsdm845-lg-judyln.dts43 firmware-name = "qcom/sdm845/judyln/adsp.mbn";
/openbmc/linux/drivers/firmware/
H A DMakefile18 obj-$(CONFIG_MTK_ADSP_IPC) += mtk-adsp-ipc.o
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8026-asus-sparrow.dts33 adsp_region: adsp@3900000 {
62 &adsp {
H A Dqcom-apq8026-lg-lenok.dts40 adsp_region: adsp@3300000 {
61 &adsp {
/openbmc/linux/drivers/mailbox/
H A DMakefile52 obj-$(CONFIG_MTK_ADSP_MBOX) += mtk-adsp-mailbox.o

12345