/linux/sound/soc/sof/mediatek/mt8186/ |
H A D | mt8186.c | 96 struct mtk_adsp_chip_info *adsp = data; in platform_parse_resource() local 118 adsp->pa_dram = (phys_addr_t)res.start; in platform_parse_resource() 119 if (adsp->pa_dram & DRAM_REMAP_MASK) { in platform_parse_resource() 121 (u32)adsp->pa_dram); in platform_parse_resource() 125 adsp->dramsize = resource_size(&res); in platform_parse_resource() 126 if (adsp->dramsize < TOTAL_SIZE_SHARED_DRAM_FROM_TAIL) { in platform_parse_resource() 128 adsp->dramsize); in platform_parse_resource() 132 dev_dbg(dev, "dram pbase=%pa size=%#x\n", &adsp->pa_dram, adsp->dramsize); in platform_parse_resource() 140 adsp->va_cfgreg = devm_ioremap_resource(dev, mmio); in platform_parse_resource() 141 if (IS_ERR(adsp->va_cfgreg)) in platform_parse_resource() [all …]
|
/linux/sound/soc/sof/mediatek/mt8195/ |
H A D | mt8195.c | 96 struct mtk_adsp_chip_info *adsp = data; in platform_parse_resource() local 118 adsp->pa_dram = (phys_addr_t)res.start; in platform_parse_resource() 119 adsp->dramsize = resource_size(&res); in platform_parse_resource() 120 if (adsp->pa_dram & DRAM_REMAP_MASK) { in platform_parse_resource() 122 (u32)adsp->pa_dram); in platform_parse_resource() 126 if (adsp->dramsize < TOTAL_SIZE_SHARED_DRAM_FROM_TAIL) { in platform_parse_resource() 128 adsp->dramsize); in platform_parse_resource() 133 &adsp->pa_dram, adsp->dramsize); in platform_parse_resource() 142 adsp->va_cfgreg = devm_ioremap_resource(dev, mmio); in platform_parse_resource() 143 if (IS_ERR(adsp->va_cfgreg)) in platform_parse_resource() [all …]
|
/linux/sound/soc/codecs/ |
H A D | cs47l24.c | 1094 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 D | cs47l15.c | 1258 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 D | cs47l35.c | 1524 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 D | wm5102.c | 1932 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 D | cs47l92.c | 1862 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 D | cs47l90.c | 2385 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 D | cs47l85.c | 2466 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 D | wm5110.c | 2267 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 …]
|
/linux/sound/soc/sof/mediatek/ |
H A D | Makefile | 2 obj-$(CONFIG_SND_SOC_SOF_MTK_COMMON) += mtk-adsp-common.o
|
H A D | adsp_helper.h | 42 struct mtk_adsp_chip_info *adsp; member
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8926-htc-memul.dts | 89 adsp_region: adsp@dc00000 { 129 &adsp { 130 firmware-name = "qcom/msm8926/memul/adsp.mbn";
|
H A D | qcom-apq8026-asus-sparrow.dts | 33 adsp_region: adsp@3900000 { 62 &adsp {
|
H A D | qcom-apq8026-huawei-sturgeon.dts | 37 adsp_region: adsp@3900000 { 68 &adsp {
|
H A D | qcom-apq8026-lg-lenok.dts | 41 adsp_region: adsp@3300000 { 85 &adsp {
|
H A D | qcom-msm8226-samsung-matisse-common.dtsi | 168 adsp_region: adsp@d900000 { 203 &adsp {
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-lg-judyp.dts | 29 firmware-name = "qcom/sdm845/judyp/adsp.mbn";
|
H A D | msm8996-oneplus3.dts | 19 firmware-name = "qcom/msm8996/oneplus3/adsp.mbn";
|
H A D | msm8996-oneplus3t.dts | 20 firmware-name = "qcom/msm8996/oneplus3t/adsp.mbn";
|
H A D | sdm845-lg-judyln.dts | 43 firmware-name = "qcom/sdm845/judyln/adsp.mbn";
|
H A D | sm8350-mtp.dts | 41 &adsp { 43 firmware-name = "qcom/sm8350/adsp.mbn";
|
H A D | sm8350-microsoft-surface-duo2.dts | 41 &adsp { 43 firmware-name = "qcom/sm8350/microsoft/adsp.mbn";
|
/linux/drivers/firmware/ |
H A D | Makefile | 16 obj-$(CONFIG_MTK_ADSP_IPC) += mtk-adsp-ipc.o
|
/linux/drivers/mailbox/ |
H A D | Makefile | 54 obj-$(CONFIG_MTK_ADSP_MBOX) += mtk-adsp-mailbox.o
|