Lines Matching full:cores
100 * @cores: list of R5 cores within the cluster
106 struct list_head cores; member
282 /* assert local reset on all applicable cores */ in k3_r5_lockstep_reset()
283 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
293 /* disable PSC modules on all applicable cores */ in k3_r5_lockstep_reset()
294 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
307 list_for_each_entry_continue_reverse(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
312 core = list_last_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_lockstep_reset()
314 list_for_each_entry_from_reverse(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
327 /* enable PSC modules on all applicable cores */ in k3_r5_lockstep_release()
328 list_for_each_entry_reverse(core, &cluster->cores, elem) { in k3_r5_lockstep_release()
339 /* deassert local reset on all applicable cores */ in k3_r5_lockstep_release()
340 list_for_each_entry_reverse(core, &cluster->cores, elem) { in k3_r5_lockstep_release()
352 list_for_each_entry_continue(core, &cluster->cores, elem) { in k3_r5_lockstep_release()
356 core = list_first_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_lockstep_release()
358 list_for_each_entry_from(core, &cluster->cores, elem) { in k3_r5_lockstep_release()
380 * The R5F cores have controls for both a reset and a halt/run. The code
383 * applicable cores to allow loading into the TCMs. The .prepare() ops is
385 * by the .start() ops after loading to actually let the R5 cores run.
388 * execute code, but combines the TCMs from both cores. The resets for both
389 * cores need to be released to make this possible, as the TCMs are in general
415 dev_err(dev, "unable to enable cores for TCM loading, ret = %d\n", in k3_r5_rproc_prepare()
448 * resets on all applicable cores for the rproc device (depending on LockStep
450 * cores. The cores themselves are only halted in the .stop() ops, and the
455 * both cores. The access is made possible only with releasing the resets for
456 * both cores, but with only Core0 unhalted. This function re-uses the same
473 dev_err(dev, "unable to disable cores, ret = %d\n", ret); in k3_r5_rproc_unprepare()
485 * unhalt both the cores to start the execution - Core1 needs to be unhalted
541 /* unhalt/run all applicable cores */ in k3_r5_rproc_start()
543 list_for_each_entry_reverse(core, &cluster->cores, elem) { in k3_r5_rproc_start()
557 list_for_each_entry_continue(core, &cluster->cores, elem) { in k3_r5_rproc_start()
571 * of cores the operations are performed are also in general reverse to that
596 /* halt all applicable cores */ in k3_r5_rproc_stop()
598 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_rproc_stop()
616 list_for_each_entry_from_reverse(core, &cluster->cores, elem) { in k3_r5_rproc_stop()
718 * the cores are halted before the .prepare() step.
729 * The function behavior is different based on the cluster mode. The R5F cores
734 * both the cores with the same settings, before reconfiguing again for
749 core0 = list_first_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_rproc_configure()
793 * permitted cores in k3_r5_rproc_configure()
827 * cores are programmed symmetrically in LockStep. LockStep in k3_r5_rproc_configure()
830 list_for_each_entry(temp, &cluster->cores, elem) { in k3_r5_rproc_configure()
920 * RAT is programmable only by the R5F cores. Support for RAT in k3_r5_reserved_mem_init()
968 * cores are usable in Split-mode, but only the Core0 TCMs can be used in
990 core0 = list_first_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_adjust_tcm_sizes()
1014 core1 = list_last_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_cluster_rproc_init()
1015 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_cluster_rproc_init()
1105 list_first_entry(&cluster->cores, struct k3_r5_core, elem) : in k3_r5_cluster_rproc_exit()
1106 list_last_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_cluster_rproc_exit()
1108 list_for_each_entry_from_reverse(core, &cluster->cores, elem) { in k3_r5_cluster_rproc_exit()
1168 * The R5F cores can place ATCM & BTCM anywhere in its address in k3_r5_core_of_get_internal_memories()
1411 list_for_each_entry_safe_reverse(core, temp, &cluster->cores, elem) { in k3_r5_cluster_of_exit()
1446 list_add_tail(&core->elem, &cluster->cores); in k3_r5_cluster_of_init()
1483 INIT_LIST_HEAD(&cluster->cores); in k3_r5_probe()
1494 dev_err(dev, "MCU cluster requires both R5F cores to be enabled, num_cores = %d\n", in k3_r5_probe()