/external/u-boot/test/lib/ |
D | lmb.c | 50 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/ |
D | dram.c | 15 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/ |
D | dram.c | 15 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/ |
D | dram_init.c | 14 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/ |
D | u-boot.lds | 21 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/ |
D | test_tpm2.py | 141 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/ |
D | dfu_ram.c | 24 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/ |
D | transhuge-stress.c | 60 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/ |
D | init.c | 97 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/ |
D | Kconfig | 6 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/ |
D | ast2500-board.c | 64 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/ |
D | control | 7 PURPOSE = 'test ram speed' 15 Create ram disk and use hardware_StorageFio to test for ram throughput
|
/external/u-boot/arch/arm/mach-rockchip/ |
D | sdram.c | 187 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/ |
D | sdram.c | 173 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/ |
D | README | 8 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/ |
D | mox_sp.c | 108 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()
|
D | mox_sp.h | 13 int *ram);
|
/external/u-boot/drivers/pci/ |
D | pci_rom.c | 237 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/ |
D | am3517.dtsi | 38 ti,davinci-ctrl-ram-offset = <0x20000>; 39 ti,davinci-ctrl-ram-size = <0x2000>; 87 reg-names = "hecc", "hecc-ram", "mbx";
|
D | dm816x.dtsi | 272 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/ |
D | control.SuspendToRam | 7 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/ |
D | control.SuspendToRam | 7 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/ |
D | README.dfu | 102 "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/ |
D | ltpfslvm.sh | 156 mount -v /dev/ram /test/growfiles/ramdisk 172 umount -v /dev/ram
|
/external/u-boot/drivers/ram/ |
D | ram-uclass.c | 24 UCLASS_DRIVER(ram) = {
|