Lines Matching +full:emc +full:- +full:mode +full:- +full:4

1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <asm/asm-offsets.h>
143 * Puts the current CPU in wait-for-event mode on the flow controller
144 * and powergates it -- flags (in R0) indicate the request type.
147 * corrupts r0-r4, r10-r12
173 moveq r4, #(1 << 4) @ wfe bitmap
218 * 4 more cachelines with nop
244 * CPU power-gating process, to avoid loading from SDRAM which
245 * are not supported once SDRAM is put into self-refresh.
247 * disabled before putting SDRAM into self-refresh to avoid
280 mov r0, #0 @ power mode flags (!hotplug)
307 * self-refresh, PLLC, PLLM and PLLP reenabled, CPU running on PLLX,
376 * enabled by the Tegra30 CLK driver on an as-needed basis, see
418 movweq r0, #:lower16:TEGRA_EMC_BASE @ r0 reserved for emc base
449 orreq r1, r1, #(1 << 27) @ set slave mode for channel 1
484 /* Issue a ZQ_CAL for dev0 - DDR3 */
494 /* Issue a ZQ_CAL for dev1 - DDR3 */
503 /* Issue a ZQ_CAL for dev0 - LPDDR2 */
513 /* Issue a ZQ_CAL for dev0 - LPDDR2 */
530 /* Tegra114 had dual EMC channel, now config the other one */
585 .word tegra30_sdram_pad_address_end - tegra30_sdram_pad_address
588 .word tegra114_sdram_pad_adress_end - tegra114_sdram_pad_address
592 .rept (tegra114_sdram_pad_adress_end - tegra114_sdram_pad_address) / 4
600 * puts memory in self-refresh for LP0 and LP1
756 add r9, r9, #4
764 ldreq r0, =TEGRA_EMC_BASE @ r0 reserved for emc base addr
796 tst r1, #4
808 bne emcself @ loop until DDR in self-refresh
810 /* Put VTTGEN in the lowest power mode */
823 /* Tegra114 had dual EMC channel, now config the other one */
837 * and COMP in the lowest power mode when LP1.