Lines Matching +full:0 +full:x596e8000
36 …"There is no mailbox between cores, so ignore remote proc reply after start, default is 0 (off).");
38 #define REMOTE_IS_READY BIT(0)
49 #define IMX8M_DAP_DEBUG 0x28800000
51 #define IMX8M_DAP_PWRCTL (0x4000 + 0x3020)
55 #define IMX8M_AudioDSP_REG0 0x100
56 #define IMX8M_AudioDSP_REG1 0x104
57 #define IMX8M_AudioDSP_REG2 0x108
58 #define IMX8M_AudioDSP_REG3 0x10c
64 #define IMX8ULP_SIM_LPAV_REG_SYSCTRL0 0x8
73 #define IMX8ULP_SIP_HIFI_XRDC 0xc200000e
89 RP_MBOX_SUSPEND_SYSTEM = 0xFF11,
90 RP_MBOX_SUSPEND_ACK = 0xFF12,
91 RP_MBOX_RESUME_SYSTEM = 0xFF13,
92 RP_MBOX_RESUME_ACK = 0xFF14,
141 { 0x596e8000, 0x556e8000, 0x00008000, ATT_OWN },
142 { 0x596f0000, 0x556f0000, 0x00008000, ATT_OWN },
143 { 0x596f8000, 0x556f8000, 0x00000800, ATT_OWN | ATT_IRAM},
144 { 0x55700000, 0x55700000, 0x00070000, ATT_OWN },
146 { 0x80000000, 0x80000000, 0x60000000, 0},
151 { 0x596e8000, 0x596e8000, 0x00008000, ATT_OWN },
152 { 0x596f0000, 0x596f0000, 0x00008000, ATT_OWN },
153 { 0x596f8000, 0x596f8000, 0x00000800, ATT_OWN | ATT_IRAM},
154 { 0x59700000, 0x59700000, 0x00070000, ATT_OWN },
156 { 0x80000000, 0x80000000, 0x60000000, 0},
161 { 0x3b6e8000, 0x3b6e8000, 0x00008000, ATT_OWN },
162 { 0x3b6f0000, 0x3b6f0000, 0x00008000, ATT_OWN },
163 { 0x3b6f8000, 0x3b6f8000, 0x00000800, ATT_OWN | ATT_IRAM},
164 { 0x3b700000, 0x3b700000, 0x00040000, ATT_OWN },
166 { 0x40000000, 0x40000000, 0x80000000, 0},
171 { 0x21170000, 0x21170000, 0x00010000, ATT_OWN | ATT_IRAM},
172 { 0x21180000, 0x21180000, 0x00010000, ATT_OWN },
174 { 0x0c000000, 0x80000000, 0x10000000, 0},
175 { 0x30000000, 0x90000000, 0x10000000, 0},
205 return 0; in imx8mp_dsp_reset()
221 arm_smccc_smc(IMX8ULP_SIP_HIFI_XRDC, 0, 0, 0, 0, 0, 0, 0, &res); in imx8ulp_dsp_reset()
225 IMX8ULP_SYSCTRL0_DSP_RST, 0); in imx8ulp_dsp_reset()
227 IMX8ULP_SYSCTRL0_DSP_DBG_RST, 0); in imx8ulp_dsp_reset()
229 return 0; in imx8ulp_dsp_reset()
236 .src_start = 0,
252 .src_start = 0,
292 return 0; in imx_dsp_rproc_ready()
294 for (i = 0; i < REMOTE_READY_WAIT_MAX_RETRIES; i++) { in imx_dsp_rproc_ready()
296 return 0; in imx_dsp_rproc_ready()
354 int ret = 0; in imx_dsp_rproc_stop()
358 return 0; in imx_dsp_rproc_stop()
402 for (i = 0; i < dcfg->att_size; i++) { in imx_dsp_rproc_sys_to_da()
409 return 0; in imx_dsp_rproc_sys_to_da()
425 * but there is no need to check for these return values. The index 0
445 rproc_vq_interrupt(priv->rproc, 0); in imx_dsp_rproc_vq_work()
468 dev_dbg(dev, "mbox msg: 0x%x\n", message); in imx_dsp_rproc_rx_tx_callback()
513 return 0; in imx_dsp_rproc_mbox_alloc()
556 return 0; in imx_dsp_rproc_mbox_alloc()
570 * Always return 0
574 return 0; in imx_dsp_rproc_mbox_no_alloc()
606 for (a = 0; a < dcfg->att_size; a++) { in imx_dsp_rproc_add_carveout()
633 of_phandle_iterator_init(&it, np, "memory-region", NULL, 0); in imx_dsp_rproc_add_carveout()
634 while (of_phandle_iterator_next(&it) == 0) { in imx_dsp_rproc_add_carveout()
675 return 0; in imx_dsp_rproc_add_carveout()
700 memset(carveout->va, 0, carveout->len); in imx_dsp_rproc_prepare()
703 return 0; in imx_dsp_rproc_prepare()
711 return 0; in imx_dsp_rproc_unprepare()
734 if (err < 0) in imx_dsp_rproc_kick()
761 for (i = 0; i < q; i++) in imx_dsp_rproc_memcpy()
765 affected_mask = GENMASK(8 * r, 0); in imx_dsp_rproc_memcpy()
776 for (i = 0; i < r; i++) in imx_dsp_rproc_memcpy()
782 return 0; in imx_dsp_rproc_memcpy()
813 affected_mask = GENMASK(8 * r, 0); in imx_dsp_rproc_memset()
827 return 0; in imx_dsp_rproc_memset()
838 * Return: 0 on success and an appropriate error code otherwise
844 int i, ret = 0; in imx_dsp_rproc_elf_load_segments()
855 for (i = 0; i < phnum; i++, phdr += elf_phdr_get_size) { in imx_dsp_rproc_elf_load_segments()
866 dev_dbg(dev, "phdr: type %d da 0x%llx memsz 0x%llx filesz 0x%llx\n", in imx_dsp_rproc_elf_load_segments()
870 dev_err(dev, "bad phdr filesz 0x%llx memsz 0x%llx\n", in imx_dsp_rproc_elf_load_segments()
877 dev_err(dev, "truncated fw: need 0x%llx avail 0x%zx\n", in imx_dsp_rproc_elf_load_segments()
893 dev_err(dev, "bad phdr da 0x%llx mem 0x%llx\n", da, in imx_dsp_rproc_elf_load_segments()
903 dev_err(dev, "memory copy failed for da 0x%llx memsz 0x%llx\n", in imx_dsp_rproc_elf_load_segments()
911 ret = imx_dsp_rproc_memset(ptr + filesz, 0, memsz - filesz); in imx_dsp_rproc_elf_load_segments()
913 dev_err(dev, "memset failed for da 0x%llx memsz 0x%llx\n", in imx_dsp_rproc_elf_load_segments()
928 return 0; in imx_dsp_rproc_parse_fw()
958 return 0; in imx_dsp_attach_pm_domains()
961 return ret < 0 ? ret : 0; in imx_dsp_attach_pm_domains()
981 int ret = 0; in imx_dsp_rproc_detect_mode()
1017 for (i = 0; i < DSP_RPROC_CLK_MAX; i++) in imx_dsp_rproc_clk_get()
1036 ret = rproc_of_parse_firmware(dev, 0, &fw_name); in imx_dsp_rproc_probe()
1090 return 0; in imx_dsp_rproc_probe()
1138 return 0; in imx_dsp_runtime_resume()
1150 return 0; in imx_dsp_runtime_suspend()
1171 rproc->ops->kick(rproc, 0); in imx_dsp_load_firmware()
1191 if (ret < 0) { in imx_dsp_suspend()
1215 int ret = 0; in imx_dsp_resume()
1222 return 0; in imx_dsp_resume()
1232 if (ret < 0) { in imx_dsp_resume()
1237 return 0; in imx_dsp_resume()