/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 95 * mb[MAX_MAILBOX_REGISTER_COUNT] = returned mailbox data. 161 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() 171 !is_rom_cmd(mcp->mb[0])) || ha->flags.eeh_busy) { in qla2x00_mailbox_command() 174 mcp->mb[0]); in qla2x00_mailbox_command() 188 mcp->mb[0]); in qla2x00_mailbox_command() 198 ha->flags.purge_mbox, ha->flags.eeh_busy, mcp->mb[0]); in qla2x00_mailbox_command() 208 "Prepare to issue mbox cmd=0x%x.\n", mcp->mb[0]); in qla2x00_mailbox_command() 228 iptr = mcp->mb; in qla2x00_mailbox_command() 229 command = mcp->mb[0]; in qla2x00_mailbox_command() 383 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() [all …]
|
H A D | qla_isr.c | 144 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts() 148 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts() 151 fctl = ~(abts->f_ctl[2] | 0x7F) << 16 | in qla24xx_process_abts() 155 abts_rsp->f_ctl[2] = fctl >> 16 & 0xff; in qla24xx_process_abts() 326 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); in __qla_copy_purex_to_buffer() 349 uint16_t mb[8]; in qla2100_intr_handler() local 393 mb[0] = RD_MAILBOX_REG(ha, reg, 0); in qla2100_intr_handler() 394 if (mb[0] > 0x3fff && mb[0] < 0x8000) { in qla2100_intr_handler() 395 qla2x00_mbx_completion(vha, mb[0]); in qla2100_intr_handler() 397 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) { in qla2100_intr_handler() [all …]
|
/openbmc/u-boot/test/fs/ |
H A D | fs-test.sh | 41 # $SMALL_FILE is the name of the 1MB file in the file system image 42 SMALL_FILE="1MB.file" 54 # Full Path of the 1 MB file that shall be created in the fs image. 111 # 2nd parameter is the filesystem - fat16 ext4 etc 115 case "$2" in 153 # 2nd parameter is file system type - fat16/ext4/... 165 case "$2" in 180 echo "Unhandled filesystem $2. Exiting!" 233 # 1MB is 0x0010 0000 234 # Test Case 2a - size of small file [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 72 local actual="$2" 85 mb=$(($kb / 1024)) 86 echo $mb 89 MB=$(get_machine_hugepage_size) 93 local cgroup_limit="$2" 99 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file 103 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file 115 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" 126 local size="$2" 128 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" [all …]
|
H A D | hugetlb_reparenting_test.sh | 43 mb=$(($kb / 1024)) 44 echo $mb 47 MB=$(get_machine_hugepage_size) 52 rm -rf "$MNT"/* 2>/dev/null 53 umount "$MNT" 2>/dev/null 54 rmdir "$MNT" 2>/dev/null 55 rmdir "$CGROUP_ROOT"/a/b 2>/dev/null 56 rmdir "$CGROUP_ROOT"/a 2>/dev/null 57 rmdir "$CGROUP_ROOT"/test1 2>/dev/null 64 local expected_a_hugetlb="$2" [all …]
|
/openbmc/linux/Documentation/driver-api/cxl/ |
H A D | memory-devices.rst | 39 module generates an emulated CXL topology of 2 Host Bridges each with 2 Root 40 Ports. Each of those Root Ports are connected to 2-way switches with endpoints 61 "pmem_size":"256.00 MiB (268.44 MB)", 62 "ram_size":"256.00 MiB (268.44 MB)", 73 "pmem_size":"256.00 MiB (268.44 MB)", 74 "ram_size":"256.00 MiB (268.44 MB)", 91 "pmem_size":"256.00 MiB (268.44 MB)", 92 "ram_size":"256.00 MiB (268.44 MB)", 103 "pmem_size":"256.00 MiB (268.44 MB)", 104 "ram_size":"256.00 MiB (268.44 MB)", [all …]
|
/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_basic.py | 42 Test Case 2 - size command for a small file 45 with u_boot_console.log.section('Test Case 2a - size (small)'): 46 # 1MB is 0x0010 0000 47 # Test Case 2a - size of small file 55 with u_boot_console.log.section('Test Case 2b - size (/../<file>)'): 56 # Test Case 2b - size of small file via a path using '..' 80 Test Case 4 - load a small file, 1MB 84 # Test Case 4a - Read full 1MB of small file 91 # Test Case 4b - Read full 1MB of small file 99 Test Case 5 - load, reading first 1MB of 3GB file [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.b4860qds | 66 of memory in two ranks of 2 GB. 67 - DDRC2: Five separate DDR3 parts of 16-bit to support 72-bit (ECC) at 1866MT/s, ECC, 2 GB 71 - SerDes 2 multiplexing: Two Vitesse (transmit and receive path) cross-point 8x8 switch VSC3308 74 - A Vitesse dual SGMII phy VSC8662 links the B4860 SGMII lines to 2xRJ-45 copper connectors 75 for Stand-alone mode and to the 1000Base-X over AMC MicroTCA connector ports 0 and 2 for 90 - 2 KB internal memory space including 91 - IDT840NT4 clock synthesizer provides B4860 essential clocks : SYSCLK, DDRCLK1,2 and 108 1. Less e6500 cores: 1 cluster with 2 e6500 cores 109 2. Less SC3900 cores/clusters: 1 cluster with 2 SC3900 cores per cluster. 111 4. 2X 4 lane serdes [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | core_apecs.c | 31 * NOTE: Herein lie back-to-back mb instructions. They are magic. 59 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 60 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 67 * 7:2 Register number 71 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 72 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 81 * 7:2 register number 88 * doesn't get shifted by 2 bits as we want to "drop" the bottom two 140 mb(); in conf_read() 143 /* If Type1 access, must set HAE #2. */ in conf_read() [all …]
|
H A D | io.c | 20 mb(); in ioread8() 22 mb(); in ioread8() 29 mb(); in ioread16() 31 mb(); in ioread16() 38 mb(); in ioread32() 40 mb(); in ioread32() 47 mb(); in ioread64() 49 mb(); in ioread64() 55 mb(); in iowrite8() 61 mb(); in iowrite16() [all …]
|
H A D | core_t2.c | 37 * By default, we direct-map starting at 2GB, in order to allow the 38 * maximum size direct-map window (2GB) to match the maximum amount of 39 * memory (2GB) that can be present on SABLEs. But that limits the 40 * floppy to DMA only via the scatter/gather window set up for 8MB 41 * ISA DMA, since the maximum ISA DMA address is 2GB-1. 62 * NOTE: Herein lie back-to-back mb instructions. They are magic. 90 } window[2]; 107 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 108 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 115 * 7:2 Register number [all …]
|
H A D | core_mcpcia.c | 27 * NOTE: Herein lie back-to-back mb instructions. They are magic. 53 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 54 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 61 * 7:2 Register number 65 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 66 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 75 * 7:2 register number 82 * doesn't get shifted by 2 bits as we want to "drop" the bottom two 104 mb(); in conf_read() 108 mb(); in conf_read() [all …]
|
/openbmc/u-boot/lib/ |
H A D | membuff.c | 14 void membuff_purge(struct membuff *mb) in membuff_purge() argument 16 /* set mb->head and mb->tail so the buffers look empty */ in membuff_purge() 17 mb->head = mb->start; in membuff_purge() 18 mb->tail = mb->start; in membuff_purge() 21 static int membuff_putrawflex(struct membuff *mb, int maxlen, bool update, in membuff_putrawflex() argument 26 /* always write to 'mb->head' */ in membuff_putrawflex() 28 *data = &mb->start; in membuff_putrawflex() 29 *offsetp = mb->head - mb->start; in membuff_putrawflex() 32 if (!mb->start) in membuff_putrawflex() 39 if (mb->head >= mb->tail) { in membuff_putrawflex() [all …]
|
/openbmc/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2.h | 12 #define MSIX_BAR_ID 2 16 #define CFG_BAR_SIZE 0x10000000ull /* 256MB */ 21 #define CFG_SIZE 0x8000000ull /* 96MB CFG + 32MB DBG*/ 22 #define CFG_REGION_SIZE 0xC000000ull /* 192MB */ 24 #define STM_FLASH_BASE_ADDR 0x1000007FF4000000ull /* Not 256MB aligned */ 25 #define STM_FLASH_ALIGNED_OFF 0x4000000ull /* 256 MB alignment */ 26 #define STM_FLASH_SIZE 0x2000000ull /* 32MB */ 29 #define SPI_FLASH_SIZE 0x1000000ull /* 16MB */ 38 #define BAR0_RSRVD_SIZE 0x1000000ull /* 16MB */ 41 #define SRAM_SIZE 0x3000000ull /* 48MB */ [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-mailbox.c | 22 #define API_FAST (1 << 2) /* Short timeout */ 105 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() argument 113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb() 114 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); in dump_mb() 234 struct cx18_mailbox *mb; in epu_dma_done() local 240 mb = &order->mb; in epu_dma_done() 241 handle = mb->args[0]; in epu_dma_done() 248 "stale" : "good", mb->request); in epu_dma_done() 252 mdl_ack_count = mb->args[2]; in epu_dma_done() 281 mb->request); in epu_dma_done() [all …]
|
/openbmc/linux/Documentation/arch/x86/x86_64/ |
H A D | mm.rst | 20 from TB to GB and then MB/KB. 57 fffffc0000000000 | -4 TB | fffffdffffffffff | 2 TB | ... unused hole 59 fffffe0000000000 | -2 TB | fffffe7fffffffff | 0.5 TB | cpu_entry_area mapping 64 ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | ... unused hole 65 …ffffffff80000000 | -2 GB | ffffffff9fffffff | 512 MB | kernel text mapping, mapped to physic… 66 ffffffff80000000 |-2048 MB | | | 67 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 68 ffffffffff000000 | -16 MB | | | 69 …FIXADDR_START | ~-11 MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s… 70 ffffffffff600000 | -10 MB | ffffffffff600fff | 4 kB | legacy vsyscall ABI [all …]
|
/openbmc/u-boot/board/overo/ |
H A D | spl.c | 28 case REVISION_0: /* Micron 1286MB/256MB, 1/2 banks of 128MB */ in get_board_mem_timings() 34 case REVISION_1: /* Micron 256MB/512MB, 1/2 banks of 256MB */ in get_board_mem_timings() 41 case REVISION_2: /* Hynix 256MB/512MB, 1/2 banks of 256MB */ in get_board_mem_timings() 47 case REVISION_3: /* Micron 512MB/1024MB, 1/2 banks of 512MB */ in get_board_mem_timings()
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | v3-v360epc-pci.txt | 11 second the configuration area register space, 16MB 18 each be exactly 256MB (0x10000000) in size. 22 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 23 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked 36 #size-cells = <2>; 50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */ 57 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */ 62 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */ 67 0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */ 72 0x6000 0 0 2 &pic 13 /* INT B on slot 12 is irq 13 */
|
/openbmc/linux/drivers/power/supply/ |
H A D | ipaq_micro_battery.c | 51 struct micro_battery *mb = container_of(work, in micro_battery_work() local 61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work() 70 * byte 2: voltage LSB in micro_battery_work() 73 * byte 5-9: same for battery 2 in micro_battery_work() 75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work() 76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work() 77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work() 78 msg_battery.rx_data[2]) * 5000L) * 1000 / 1024; in micro_battery_work() 79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work() 85 ipaq_micro_tx_msg_sync(mb->micro, &msg_sensor); in micro_battery_work() [all …]
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | sdram.c | 240 /* Total Memory 2GB example: in sdram_find() 242 * 00000000 0000MB-1992MB 1992MB RAM (writeback) in sdram_find() 243 * 7c800000 1992MB-2000MB 8MB TSEG (SMRR) in sdram_find() 244 * 7d000000 2000MB-2002MB 2MB GFX GTT (uncached) in sdram_find() 245 * 7d200000 2002MB-2034MB 32MB GFX UMA (uncached) in sdram_find() 246 * 7f200000 2034MB TOLUD in sdram_find() 247 * 7f800000 2040MB MEBASE in sdram_find() 248 * 7f800000 2040MB-2048MB 8MB ME UMA (uncached) in sdram_find() 249 * 80000000 2048MB TOM in sdram_find() 250 * 100000000 4096MB-4102MB 6MB RAM (writeback) in sdram_find() [all …]
|
/openbmc/u-boot/board/freescale/m547xevb/ |
H A D | README | 77 CONFIG_SYS_UART_PORT -- define UART port number, start with 0, 1 and 2 132 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL 135 Flash: 0xFF800000-0xFFFFFFFF (8MB) 136 DDR: 0x00000000-0x3FFFFFFF (1024MB) 138 PCI: 0x70000000-0x8FFFFFFF (512MB) 139 IP: 0xF0000000-0xFFFFFFFF (256MB) 151 make M5475AFE_config, or - boot 2MB, RAM 64MB 152 make M5475BFE_config, or - boot 2MB, code 16MB, RAM 64MB 153 make M5475CFE_config, or - boot 2MB, code 16MB, Video, USB, RAM 64MB 154 make M5475DFE_config, or - boot 2MB, USB, RAM 64MB [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | free-space-tests.c | 382 * entry, we could end up with 2 entries representing a contiguous free space. 430 * Extent entry covering free space range [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent() 438 /* Bitmap entry covering free space range [128Mb + 512Kb, 256Mb[ */ in test_steal_space_from_bitmap_to_extent() 446 ret = check_num_extents_and_bitmaps(cache, 2, 1); in test_steal_space_from_bitmap_to_extent() 454 * [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent() 455 * [128Mb + 512Kb, 128Mb + 768Kb[ in test_steal_space_from_bitmap_to_extent() 465 /* Confirm that only those 2 ranges are marked as free. */ in test_steal_space_from_bitmap_to_extent() 476 * Confirm that the bitmap range [128Mb + 768Kb, 256Mb[ isn't marked in test_steal_space_from_bitmap_to_extent() 486 * Confirm that the region [128Mb + 256Kb, 128Mb + 512Kb[, which is in test_steal_space_from_bitmap_to_extent() 495 * Confirm that the region [128Mb, 128Mb + 256Kb[, which is covered in test_steal_space_from_bitmap_to_extent() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
H A D | update-results-script.patch | 16 2 files changed, 23 insertions(+), 25 deletions(-) 51 if [ X$MB = X ] 53 - MB=`../bin/$OS/memsize 4096` 54 + MB=`memsize 4096` 56 TOTAL_MEM=$MB 57 MB=`echo \( $MB \* 7 \) / 10 | bc 2>/dev/null` 59 # Certain machines tend to barf when you try and bcopy 8MB. 61 echo "Checking to see if you have $MB MB; please wait for a moment..." 62 -MB=`../bin/$OS/memsize $MB` 63 -MB=`../bin/$OS/memsize $MB` [all …]
|
/openbmc/u-boot/board/freescale/t1040qds/ |
H A D | README | 56 — PCI Express: supporting Gen 1 and Gen 2; 65 - NAND flash: 8-bit, async, up to 2GB. 66 - NOR: 8-bit or 16-bit, non-multiplexed, up to 512MB 101 0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16MB 104 0xF_F801_0000 0xF_F801_FFFF PCI Express 2 I/O Space 64KB 106 0xF_F600_0000 0xF_F7FF_FFFF Queue manager software portal 32MB 107 0xF_F400_0000 0xF_F5FF_FFFF Buffer manager software portal 32MB 108 0xF_E800_0000 0xF_EFFF_FFFF IFC - NOR Flash 128MB 109 0xF_E000_0000 0xF_E7FF_FFFF Promjet 128MB 110 0xF_0000_0000 0xF_003F_FFFF DCSR 4MB [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-iostat.txt | 18 - Inbound Read - I/O devices below root port read from the host memory, in MB 20 - Inbound Write - I/O devices below root port write to the host memory, in MB 22 - Outbound Read - CPU reads from I/O devices below root port, in MB 24 - Outbound Write - CPU writes to I/O devices below root port, in MB 40 1. List all PCIe root ports (example for 2-S platform): 52 2. Collect metrics for all PCIe root ports: 61 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB) 62 0000:00 1 0 2 3 80 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB) 82 0000:3a 3 2 0 0
|