Home
last modified time | relevance | path

Searched refs:boot_addr (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/drivers/soc/renesas/
Drcar-rst.c23 static int (*rcar_rst_set_rproc_boot_addr_func)(u64 boot_addr);
43 static int rcar_rst_set_gen3_rproc_boot_addr(u64 boot_addr) in rcar_rst_set_gen3_rproc_boot_addr() argument
45 if (boot_addr & ~(u64)CR7BAR_MASK) { in rcar_rst_set_gen3_rproc_boot_addr()
46 pr_err("Invalid boot address got %llx\n", boot_addr); in rcar_rst_set_gen3_rproc_boot_addr()
50 iowrite32(boot_addr, rcar_rst_base + CR7BAR); in rcar_rst_set_gen3_rproc_boot_addr()
51 iowrite32(boot_addr | CR7BAREN, rcar_rst_base + CR7BAR); in rcar_rst_set_gen3_rproc_boot_addr()
59 int (*set_rproc_boot_addr)(u64 boot_addr);
177 int rcar_rst_set_rproc_boot_addr(u64 boot_addr) in rcar_rst_set_rproc_boot_addr() argument
182 return rcar_rst_set_rproc_boot_addr_func(boot_addr); in rcar_rst_set_rproc_boot_addr()
/linux-6.6.21/arch/arm/mach-exynos/
Dpm.c204 unsigned long boot_addr; in exynos_cpu0_enter_aftr() local
218 ret = exynos_get_boot_addr(1, &boot_addr); in exynos_cpu0_enter_aftr()
222 if (boot_addr == 0) in exynos_cpu0_enter_aftr()
234 unsigned long boot_addr = __pa_symbol(exynos_cpu_resume); in exynos_cpu0_enter_aftr() local
239 ret = exynos_set_boot_addr(1, boot_addr); in exynos_cpu0_enter_aftr()
267 ret = exynos_set_boot_addr(1, boot_addr); in exynos_cpu0_enter_aftr()
322 unsigned long boot_addr = __pa_symbol(exynos_cpu_resume); in exynos_pre_enter_aftr() local
324 (void)exynos_set_boot_addr(1, boot_addr); in exynos_pre_enter_aftr()
Dplatsmp.c267 int exynos_set_boot_addr(u32 core_id, unsigned long boot_addr) in exynos_set_boot_addr() argument
275 ret = call_firmware_op(set_cpu_boot_addr, core_id, boot_addr); in exynos_set_boot_addr()
285 writel_relaxed(boot_addr, boot_reg); in exynos_set_boot_addr()
292 int exynos_get_boot_addr(u32 core_id, unsigned long *boot_addr) in exynos_get_boot_addr() argument
300 ret = call_firmware_op(get_cpu_boot_addr, core_id, boot_addr); in exynos_get_boot_addr()
310 *boot_addr = readl_relaxed(boot_reg); in exynos_get_boot_addr()
370 unsigned long boot_addr; in exynos_boot_secondary() local
374 boot_addr = __pa_symbol(exynos4_secondary_startup); in exynos_boot_secondary()
376 ret = exynos_set_boot_addr(core_id, boot_addr); in exynos_boot_secondary()
Dfirmware.c82 static int exynos_set_cpu_boot_addr(int cpu, unsigned long boot_addr) in exynos_set_cpu_boot_addr() argument
99 writel_relaxed(boot_addr, boot_reg); in exynos_set_cpu_boot_addr()
103 static int exynos_get_cpu_boot_addr(int cpu, unsigned long *boot_addr) in exynos_get_cpu_boot_addr() argument
115 *boot_addr = readl_relaxed(boot_reg); in exynos_get_cpu_boot_addr()
Dcommon.h160 extern int exynos_set_boot_addr(u32 core_id, unsigned long boot_addr);
161 extern int exynos_get_boot_addr(u32 core_id, unsigned long *boot_addr);
/linux-6.6.21/include/linux/soc/renesas/
Drcar-rst.h7 int rcar_rst_set_rproc_boot_addr(u64 boot_addr);
10 static inline int rcar_rst_set_rproc_boot_addr(u64 boot_addr) { return -ENODEV; } in rcar_rst_set_rproc_boot_addr() argument
/linux-6.6.21/arch/arm/mach-mvebu/
Dcommon.h19 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
20 void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr);
Dsystem-controller.c145 void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr) in mvebu_system_controller_set_cpu_boot_addr() argument
153 writel(__pa_symbol(boot_addr), system_controller_base + in mvebu_system_controller_set_cpu_boot_addr()
Dplatsmp.c193 static int mv98dx3236_resume_set_cpu_boot_addr(int hw_cpu, void *boot_addr) in mv98dx3236_resume_set_cpu_boot_addr() argument
209 writel(__pa_symbol(boot_addr), base + MV98DX3236_CPU_RESUME_ADDR_REG); in mv98dx3236_resume_set_cpu_boot_addr()
/linux-6.6.21/arch/arm/include/asm/
Dfirmware.h32 int (*set_cpu_boot_addr)(int cpu, unsigned long boot_addr);
36 int (*get_cpu_boot_addr)(int cpu, unsigned long *boot_addr);
/linux-6.6.21/sound/soc/sof/mediatek/mt8186/
Dmt8186-loader.c14 void mt8186_sof_hifixdsp_boot_sequence(struct snd_sof_dev *sdev, u32 boot_addr) in mt8186_sof_hifixdsp_boot_sequence() argument
26 snd_sof_dsp_write(sdev, DSP_SECREG_BAR, ADSP_ALTVEC_C0, boot_addr); in mt8186_sof_hifixdsp_boot_sequence()
Dmt8186.h91 void mt8186_sof_hifixdsp_boot_sequence(struct snd_sof_dev *sdev, u32 boot_addr);
/linux-6.6.21/sound/soc/sof/mediatek/mt8195/
Dmt8195-loader.c13 void sof_hifixdsp_boot_sequence(struct snd_sof_dev *sdev, u32 boot_addr) in sof_hifixdsp_boot_sequence() argument
16 snd_sof_dsp_write(sdev, DSP_REG_BAR, DSP_ALTRESETVEC, boot_addr); in sof_hifixdsp_boot_sequence()
/linux-6.6.21/arch/riscv/kernel/
Dcpu_ops_sbi.c67 unsigned long boot_addr = __pa_symbol(secondary_start_sbi); in sbi_cpu_start() local
79 return sbi_hsm_hart_start(hartid, boot_addr, hsm_data); in sbi_cpu_start()
/linux-6.6.21/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c731 u8 *boot_addr, *cfe; in board_prom_init() local
746 boot_addr = (u8 *)KSEG1ADDR(val); in board_prom_init()
749 cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET; in board_prom_init()
771 bcm63xx_nvram_init(boot_addr + BCM963XX_NVRAM_OFFSET); in board_prom_init()
774 hcs = (struct bcm_hcs *)boot_addr; in board_prom_init()
/linux-6.6.21/drivers/firmware/
Dtrusted_foundations.c57 static int tf_set_cpu_boot_addr(int cpu, unsigned long boot_addr) in tf_set_cpu_boot_addr() argument
59 cpu_boot_addr = boot_addr; in tf_set_cpu_boot_addr()
/linux-6.6.21/drivers/remoteproc/
Dkeystone_remoteproc.c76 static int keystone_rproc_dsp_boot(struct keystone_rproc *ksproc, u32 boot_addr) in keystone_rproc_dsp_boot() argument
80 if (boot_addr & (SZ_1K - 1)) { in keystone_rproc_dsp_boot()
82 boot_addr); in keystone_rproc_dsp_boot()
86 ret = regmap_write(ksproc->dev_ctrl, ksproc->boot_offset, boot_addr); in keystone_rproc_dsp_boot()
Dti_k3_dsp_remoteproc.c315 u32 boot_addr; in k3_dsp_rproc_start() local
322 boot_addr = rproc->bootaddr; in k3_dsp_rproc_start()
323 if (boot_addr & (kproc->data->boot_align_addr - 1)) { in k3_dsp_rproc_start()
325 boot_addr, kproc->data->boot_align_addr); in k3_dsp_rproc_start()
330 dev_err(dev, "booting DSP core using boot addr = 0x%x\n", boot_addr); in k3_dsp_rproc_start()
331 ret = ti_sci_proc_set_config(kproc->tsp, boot_addr, 0, 0); in k3_dsp_rproc_start()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpmu.c85 info->boot_addr = data + 0x30; in nvbios_pmuRm()
90 info->code_addr = info->boot_addr + info->boot_size; in nvbios_pmuRm()
/linux-6.6.21/drivers/media/platform/amphion/
Dvpu_rpc.h26 unsigned long boot_addr; member
53 struct vpu_buffer *rpc, dma_addr_t boot_addr);
197 dma_addr_t boot_addr) in vpu_iface_init() argument
204 ops->init_rpc(shared, rpc, boot_addr); in vpu_iface_init()
Dvpu_windsor.c554 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_windsor_init_rpc() argument
564 if (rpc->phys < boot_addr) in vpu_windsor_init_rpc()
567 base_phy_addr = rpc->phys - boot_addr; in vpu_windsor_init_rpc()
570 shared->boot_addr = boot_addr; in vpu_windsor_init_rpc()
640 iface->log_buffer_desc.rptr = log->phys - shared->boot_addr; in vpu_windsor_set_log_buf()
845 res->virt = buf->phys - shared->boot_addr; in vpu_windsor_config_memory_resource()
Dvpu_windsor.h11 struct vpu_buffer *rpc, dma_addr_t boot_addr);
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpmu.h20 u32 boot_addr; member
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/falcon/
Dfw.c280 fw->boot_addr = desc->start_tag << 8; in nvkm_falcon_fw_ctor_hs()
287 fw->boot_addr = fw->nmem_base; in nvkm_falcon_fw_ctor_hs()
342 fw->boot_addr = lhdr->app[0].offset; in nvkm_falcon_fw_ctor_hs_v2()
/linux-6.6.21/arch/arm/mach-bcm/
Dplatsmp-brcmstb.c130 static void cpu_set_boot_addr(u32 cpu, unsigned long boot_addr) in cpu_set_boot_addr() argument
134 writel_relaxed(boot_addr, hif_cont_block + hif_cont_reg + 4 + reg_ofs); in cpu_set_boot_addr()

12