Home
last modified time | relevance | path

Searched refs:ram (Results 1 – 25 of 198) sorted by relevance

12345678

/external/u-boot/test/lib/
Dlmb.c50 static int test_multi_alloc(struct unit_test_state *uts, const phys_addr_t ram, in test_multi_alloc() argument
55 const phys_addr_t ram_end = ram + ram_size; in test_multi_alloc()
63 ut_assert(ram_end == 0 || ram_end > ram); in test_multi_alloc()
66 ut_assert(alloc_64k_addr >= ram + 8); in test_multi_alloc()
76 ret = lmb_add(&lmb, ram, ram_size); in test_multi_alloc()
83 ut_asserteq(lmb.memory.region[1].base, ram); in test_multi_alloc()
87 ut_asserteq(lmb.memory.region[0].base, ram); in test_multi_alloc()
161 ut_asserteq(lmb.memory.region[1].base, ram); in test_multi_alloc()
165 ut_asserteq(lmb.memory.region[0].base, ram); in test_multi_alloc()
173 const phys_addr_t ram) in test_multi_alloc_512mb() argument
[all …]
/external/u-boot/arch/x86/cpu/qemu/
Ddram.c15 u32 ram; in qemu_get_low_memory_size() local
18 ram = ((u32)inb(CMOS_DATA_PORT)) << 14; in qemu_get_low_memory_size()
20 ram |= ((u32)inb(CMOS_DATA_PORT)) << 6; in qemu_get_low_memory_size()
21 ram += 16 * 1024; in qemu_get_low_memory_size()
23 return ram * 1024; in qemu_get_low_memory_size()
28 u64 ram; in qemu_get_high_memory_size() local
31 ram = ((u64)inb(CMOS_DATA_PORT)) << 22; in qemu_get_high_memory_size()
33 ram |= ((u64)inb(CMOS_DATA_PORT)) << 14; in qemu_get_high_memory_size()
35 ram |= ((u64)inb(CMOS_DATA_PORT)) << 6; in qemu_get_high_memory_size()
37 return ram * 1024; in qemu_get_high_memory_size()
/external/u-boot/arch/mips/mach-bmips/
Ddram.c15 struct ram_info ram; in dram_init() local
25 err = ram_get_info(dev, &ram); in dram_init()
31 debug("SDRAM base=%zx, size=%x\n", ram.base, ram.size); in dram_init()
33 gd->ram_size = ram.size; in dram_init()
/external/u-boot/arch/arm/mach-stm32mp/
Ddram_init.c14 struct ram_info ram; in dram_init() local
23 ret = ram_get_info(dev, &ram); in dram_init()
28 debug("RAM init base=%lx, size=%x\n", ram.base, ram.size); in dram_init()
30 gd->ram_size = ram.size; in dram_init()
/external/u-boot/arch/sh/cpu/
Du-boot.lds21 ram : ORIGIN = CONFIG_SYS_SDRAM_BASE, LENGTH = CONFIG_SYS_SDRAM_SIZE
47 } >ram =0xFF
53 } >ram
62 } >ram
70 } >ram
75 } >ram
87 } >ram
/external/u-boot/test/py/tests/
Dtest_tpm2.py141 ram = u_boot_utils.find_ram_base(u_boot_console)
163 ram = u_boot_utils.find_ram_base(u_boot_console)
171 read_cap = u_boot_console.run_command('tpm2 get_capability 0x6 0x20f 0x%x 3' % ram)
186 ram = u_boot_utils.find_ram_base(u_boot_console)
188 read_pcr = u_boot_console.run_command('tpm2 pcr_read 0 0x%x' % ram)
213 ram = u_boot_utils.find_ram_base(u_boot_console)
215 u_boot_console.run_command('tpm2 pcr_extend 0 0x%x' % ram)
219 read_pcr = u_boot_console.run_command('tpm2 pcr_read 0 0x%x' % ram)
/external/u-boot/drivers/dfu/
Ddfu_ram.c24 if (offset > dfu->data.ram.size) { in dfu_transfer_medium_ram()
30 memcpy(dfu->data.ram.start + offset, buf, *len); in dfu_transfer_medium_ram()
32 memcpy(buf, dfu->data.ram.start + offset, *len); in dfu_transfer_medium_ram()
45 *size = dfu->data.ram.size; in dfu_get_medium_size_ram()
76 dfu->data.ram.start = (void *)simple_strtoul(argv[1], NULL, 16); in dfu_fill_entity_ram()
77 dfu->data.ram.size = simple_strtoul(argv[2], NULL, 16); in dfu_fill_entity_ram()
/external/linux-kselftest/tools/testing/selftests/vm/
Dtranshuge-stress.c60 size_t ram, len; in main() local
67 ram = sysconf(_SC_PHYS_PAGES); in main()
68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main()
69 ram = SIZE_MAX / 4; in main()
71 ram *= sysconf(_SC_PAGESIZE); in main()
74 len = ram; in main()
98 map_len = ram >> (HPAGE_SHIFT - 1); in main()
/external/u-boot/arch/arm/mach-mediatek/mt7629/
Dinit.c97 struct ram_info ram; in dram_init() local
105 ret = ram_get_info(dev, &ram); in dram_init()
109 debug("RAM init base=%lx, size=%x\n", ram.base, ram.size); in dram_init()
111 gd->ram_size = ram.size; in dram_init()
/external/u-boot/drivers/ram/rockchip/
DKconfig6 This enables support for ram drivers Rockchip SoCs.
15 bool "Rockchip ram drivers debugging"
18 This enables debugging ram driver API's for the platforms
21 This is an option for developers to understand the ram drivers
/external/u-boot/arch/arm/mach-aspeed/
Dast2500-board.c64 struct ram_info ram; in dram_init() local
73 ret = ram_get_info(dev, &ram); in dram_init()
79 gd->ram_size = ram.size; in dram_init()
/external/autotest/client/site_tests/hardware_RamFio/
Dcontrol7 PURPOSE = 'test ram speed'
15 Create ram disk and use hardware_StorageFio to test for ram throughput
/external/u-boot/arch/arm/mach-rockchip/
Dsdram.c187 struct ram_info ram; in dram_init() local
196 ret = ram_get_info(dev, &ram); in dram_init()
201 gd->ram_size = ram.size; in dram_init()
203 (unsigned long)ram.base, (unsigned long)ram.size); in dram_init()
/external/u-boot/arch/x86/cpu/tangier/
Dsdram.c173 phys_size_t ram = 0; in sfi_get_ram_size() local
184 ram += mentry->pages << 12; in sfi_get_ram_size()
187 debug("sfi: RAM size %llu\n", ram); in sfi_get_ram_size()
188 return ram; in sfi_get_ram_size()
/external/u-boot/board/keymile/scripts/
DREADME8 run ramfs : setup environment to configure for rootfs in ram
25 This file defines variables for working with rootfs inside the ram for powerpc
31 ram.
/external/u-boot/board/CZ.NIC/turris_mox/
Dmox_sp.c108 int mbox_sp_get_board_info(u64 *sn, u8 *mac1, u8 *mac2, int *bv, int *ram) in mbox_sp_get_board_info() argument
126 if (ram) in mbox_sp_get_board_info()
127 *ram = out[3]; in mbox_sp_get_board_info()
Dmox_sp.h13 int *ram);
/external/u-boot/drivers/pci/
Dpci_rom.c237 struct pci_rom_header *rom = NULL, *ram = NULL; in dm_pci_run_vga_bios() local
256 ret = pci_rom_load(rom, &ram, &alloced); in dm_pci_run_vga_bios()
303 ret = biosemu_run(dev, (uchar *)ram, 1 << 16, info, in dm_pci_run_vga_bios()
312 bios_run_on_x86(dev, (unsigned long)ram, vesa_mode, in dm_pci_run_vga_bios()
321 free(ram); in dm_pci_run_vga_bios()
/external/u-boot/arch/arm/dts/
Dam3517.dtsi38 ti,davinci-ctrl-ram-offset = <0x20000>;
39 ti,davinci-ctrl-ram-size = <0x2000>;
87 reg-names = "hecc", "hecc-ram", "mbx";
Ddm816x.dtsi272 ti,davinci-ctrl-ram-offset = <0x2000>;
273 ti,davinci-ctrl-ram-size = <0x2000>;
286 ti,davinci-ctrl-ram-offset = <0x2000>;
287 ti,davinci-ctrl-ram-size = <0x2000>;
423 mentor,ram-bits = <12>;
463 mentor,ram-bits = <12>;
/external/autotest/client/site_tests/power_UiResume/
Dcontrol.SuspendToRam7 PURPOSE = "Measure the time it takes to resume from suspend-to-ram."
18 ram. It will then calculate how many seconds the system was suspended, and
/external/autotest/client/site_tests/power_Resume/
Dcontrol.SuspendToRam7 PURPOSE = "Measure the time it takes to resume from suspend-to-ram."
18 ram. It will then calculate how many seconds the system was suspended, and
/external/u-boot/doc/
DREADME.dfu102 "ram"
103 cmd: dfu 0 ram <dev>
106 <name> ram <offset> <size> raw access to ram
111 <name> ram <offset> <size> raw access to sf device
141 ram <dev>=<alt1>;....;<altN>
/external/ltp/testscripts/
Dltpfslvm.sh156 mount -v /dev/ram /test/growfiles/ramdisk
172 umount -v /dev/ram
/external/u-boot/drivers/ram/
Dram-uclass.c24 UCLASS_DRIVER(ram) = {

12345678