/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 …]
|
/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 74 local actual="$2" 87 mb=$(($kb / 1024)) 88 echo $mb 91 MB=$(get_machine_hugepage_size) 95 local cgroup_limit="$2" 101 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file 105 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file 117 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" 128 local size="$2" 130 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" [all …]
|
H A D | hugetlb_reparenting_test.sh | 44 mb=$(($kb / 1024)) 45 echo $mb 48 MB=$(get_machine_hugepage_size) 53 rm -rf "$MNT"/* 2>/dev/null 54 umount "$MNT" 2>/dev/null 55 rmdir "$MNT" 2>/dev/null 56 rmdir "$CGROUP_ROOT"/a/b 2>/dev/null 57 rmdir "$CGROUP_ROOT"/a 2>/dev/null 58 rmdir "$CGROUP_ROOT"/test1 2>/dev/null 65 local expected="$2" [all …]
|
/linux/Documentation/driver-api/cxl/ |
H A D | theory-of-operation.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 …]
|
/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 …]
|
/linux/arch/alpha/kernel/ |
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 …]
|
/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 …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | v3,v360epc-pci.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 33 maxItems: 2 35 The inbound ranges must be aligned to a 1MB boundary, and may be 1MB, 2MB, 36 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The 46 256MB (0x10000000) in size. The prefetchable memory window must be 65 #size-cells = <2>; 75 …dma-ranges = <0x02000000 0 0x20000000 0x20000000 0 0x20000000>, /* EBI: 512 MB @ LB 20000000 1:1 */ 81 <0x4800 0 0 2 &pic 14>, /* INT B on slot 9 is irq 14 */ 86 <0x5000 0 0 2 &pic 15>, /* INT B on slot 10 is irq 15 */ 91 <0x5800 0 0 2 &pic 16>, /* INT B on slot 11 is irq 16 */ [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/ |
H A D | tlb.json | 47 … "BriefDescription": "This event counts operations that cause a TLB access to the L1I in 2MB page." 52 …"BriefDescription": "This event counts operations that cause a TLB access to the L1I in 32MB page." 57 …BriefDescription": "This event counts operations that cause a TLB access to the L1I in 512MB page." 82 … "BriefDescription": "This event counts operations that cause a TLB access to the L1D in 2MB page." 87 …"BriefDescription": "This event counts operations that cause a TLB access to the L1D in 32MB page." 92 …BriefDescription": "This event counts operations that cause a TLB access to the L1D in 512MB page." 117 … "BriefDescription": "This event counts operations that cause a TLB refill of the L1I in 2MB page." 122 …"BriefDescription": "This event counts operations that cause a TLB refill of the L1I in 32MB page." 127 …BriefDescription": "This event counts operations that cause a TLB refill of the L1I in 512MB page." 152 … "BriefDescription": "This event counts operations that cause a TLB refill of the L1D in 2MB page." [all …]
|
/linux/Documentation/arch/x86/x86_64/ |
H A D | mm.rst | 20 from TB to GB and then MB/KB. 69 fffffc0000000000 | -4 TB | fffffdffffffffff | 2 TB | ... unused hole 71 fffffe0000000000 | -2 TB | fffffe7fffffffff | 0.5 TB | cpu_entry_area mapping 76 ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | ... unused hole 77 …ffffffff80000000 | -2 GB | ffffffff9fffffff | 512 MB | kernel text mapping, mapped to physic… 78 ffffffff80000000 |-2048 MB | | | 79 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 80 ffffffffff000000 | -16 MB | | | 81 …FIXADDR_START | ~-11 MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s… 82 ffffffffff600000 | -10 MB | ffffffffff600fff | 4 kB | legacy vsyscall ABI [all …]
|
/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
|
/linux/arch/arc/plat-axs10x/ |
H A D | axs10x.c | 44 * | snps,dw-apb-intc (MB)| in axs10x_enable_gpio_intc_wire() 55 * DT hardware topology - connect MB intc directly to cpu intc in axs10x_enable_gpio_intc_wire() 94 char mb[32]; in axs10x_early_init() local 100 mb_rev = 2; /* HT-2 (rev2.0) */ in axs10x_early_init() 104 scnprintf(mb, 32, "MainBoard v%d", mb_rev); in axs10x_early_init() 105 axs10x_print_board_ver(CREG_MB_VER, mb); in axs10x_early_init() 121 * Each AXI master has a 4GB memory map specified as 16 apertures of 256MB, each 122 * of which maps to a corresponding 256MB aperture in Target slave memory map. 127 * Access from cpu to MB controllers such as GMAC is setup using AXI Tunnel: 131 * MB AXI Tunnel Master, which also has a mem map setup [all …]
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl8365mb.c | 67 * In the same family of chips, some carry up to 8 user ports and up to 2 198 #define RTL8365MB_EXT_PORT_MODE_MII_MAC 2 216 (_extint) == 2 ? RTL8365MB_DIGITAL_INTERFACE_SELECT_REG1 : \ 219 (0xF << (((_extint) % 2))) 221 (((_extint) % 2) * 4) 223 /* External interface RGMII TX/RX delay configuration registers 0~2 */ 230 (_extint) == 2 ? RTL8365MB_EXT_RGMXF_REG2 : \ 238 #define RTL8365MB_PORT_SPEED_1000M 2 240 /* External interface force configuration registers 0~2 */ 247 (_extint) == 2 ? RTL8365MB_DIGITAL_INTERFACE_FORCE_REG2 : \ [all …]
|
/linux/drivers/net/ethernet/apple/ |
H A D | mace.c | 138 dummy_buf = kmalloc(RX_BUFLEN+2, GFP_KERNEL); in mace_probe() 188 mp->rx_dma = ioremap(macio_resource_start(mdev, 2), 0x1000); in mace_probe() 194 mp->rx_dma_intr = macio_irq(mdev, 2); in mace_probe() 200 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe() 256 free_irq(macio_irq(mdev, 2), dev); in mace_probe() 319 volatile struct mace __iomem *mb = mp->mace; in mace_reset() local 325 out_8(&mb->biucc, SWRST); in mace_reset() 326 if (in_8(&mb->biucc) & SWRST) { in mace_reset() 337 out_8(&mb->imr, 0xff); /* disable all intrs for now */ in mace_reset() 338 i = in_8(&mb->ir); in mace_reset() [all …]
|
/linux/Documentation/arch/xtensa/ |
H A D | mmu.rst | 28 After step 2, we jump to virtual address in the range 0x40000000..0x5fffffff 56 2. Only one (first) simple-bus node is considered 62 5. The parent-bus-address value is rounded down to the nearest 256MB boundary 64 6. The IO area covers the entire 256MB segment of parent-bus-address; the 83 | VMALLOC area | VMALLOC_START 0xc0000000 128MB - 64KB 90 | remap area 2 | 96 | | (4MB * DCACHE_N_COLORS) 104 | Cached KSEG | XCHAL_KSEG_CACHED_VADDR 0xd0000000 128MB 106 | Uncached KSEG | XCHAL_KSEG_BYPASS_VADDR 0xd8000000 128MB 108 | Cached KIO | XCHAL_KIO_CACHED_VADDR 0xe0000000 256MB [all …]
|
/linux/arch/alpha/include/asm/ |
H A D | spinlock.h | 26 mb(); in arch_spin_unlock() 36 " bne %0,2f\n" in arch_spin_lock() 39 " beq %0,2f\n" in arch_spin_lock() 40 " mb\n" in arch_spin_lock() 41 ".subsection 2\n" in arch_spin_lock() 42 "2: ldl %0,%1\n" in arch_spin_lock() 43 " bne %0,2b\n" in arch_spin_lock() 64 " subl %1,2,%1\n" in arch_read_lock() 67 " mb\n" in arch_read_lock() 68 ".subsection 2\n" in arch_read_lock() [all …]
|
/linux/tools/perf/tests/shell/common/ |
H A D | patterns.sh | 18 …MDD="[0-9]{4}-(?:(?:01|03|05|07|08|10|12)-(?:[0-2][0-9]|3[0-1])|02-[0-2][0-9]|(?:(?:04|06|09|11)-(… 28 export RE_TIME="(?:[0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]" 42 # Mon Mar 2 13:27:06 2020 167 export RE_LINE_RECORD2="^\[\s+perf\s+record:\s+Captured and wrote $RE_NUMBER\s*MB\s+(?:[\w\+\.-]*(?… 170 # [ perf record: Captured and wrote 0.405 MB perf.data (109 samples) ] 171 # [ perf record: Captured and wrote 0.405 MB perf.data (~109 samples) ] 172 # [ perf record: Captured and wrote 0.405 MB /some/temp/dir/perf.data (109 samples) ] 173 # [ perf record: Captured and wrote 0.405 MB ./perf.data (109 samples) ] 174 # [ perf record: Captured and wrote 0.405 MB ./perf.data.3 (109 samples) ] 177 export RE_LINE_RECORD2_TOLERANT="^\[\s+perf\s+record:\s+Captured and wrote $RE_NUMBER\s*MB\s+(?:[\w… [all …]
|
/linux/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 70 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb); 71 static void smt_to_llc(struct s_smc *smc, SMbuf *mb); 74 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb); 133 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb); 273 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init() 296 * Sets hardware modul specific values for the mode register 2 416 SMbuf *mb ; in init_fddi_driver() local 426 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver() 429 mb->sm_use_count = 1 ; in init_fddi_driver() 430 smt_free_mbuf(smc,mb) ; in init_fddi_driver() [all …]
|
H A D | smt.c | 26 #define m_fc(mb) ((mb)->sm_data[0]) argument 72 static void smt_add_frame_len(SMbuf *mb, int len); 113 && *(short *)(&addr->a[2]) == in is_my_addr() 114 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[2]) in is_my_addr() 122 *(u_short *)(&addr->a[2]) == 0xffff && in is_broadcast() 135 *(u_short *)(&addr1->a[2]) == *(u_short *)(&addr2->a[2]) && in is_equal() 170 smc->mib.fddiSMTManufacturerData[2] = in smt_agent_init() 171 smc->mib.fddiSMTStationId.sid_node.a[2] ; in smt_agent_init() 434 if (time - smc->sm.last_tok_time[i] > 2*TICKS_PER_SECOND ){ in smt_event() 460 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack() argument [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mbox.c | 12 * modify it under the terms of version 2 of the GNU General * 136 MAILBOX_t *mb; in lpfc_dump_static_vport() local 140 mb = &pmb->u.mb; in lpfc_dump_static_vport() 144 mb->mbxCommand = MBX_DUMP_MEMORY; in lpfc_dump_static_vport() 145 mb->un.varDmp.type = DMP_NV_PARAMS; in lpfc_dump_static_vport() 146 mb->un.varDmp.entry_index = offset; in lpfc_dump_static_vport() 147 mb->un.varDmp.region_id = DMP_REGION_VPORT; in lpfc_dump_static_vport() 148 mb->mbxOwner = OWN_HOST; in lpfc_dump_static_vport() 152 mb->un.varDmp.cv = 1; in lpfc_dump_static_vport() 153 mb->un.varDmp.word_cnt = DMP_RSP_SIZE/sizeof(uint32_t); in lpfc_dump_static_vport() [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | c293pcie.dts | 20 * Foundation, either version 2 of that License or (at your option) any 79 bank-width = <2>; 83 /* 1MB for DTB Image */ 89 /* 8 MB for Linux Kernel Image */ 95 /* 53MB for rootfs */ 101 /* 1MB for blob encrypted key */ 122 /* 1MB for u-boot Bootloader Image */ 129 /* 1MB for DTB Image */ 135 /* 16MB for Linux Kernel Image */ 141 /* 4078MB for Root file System Image */ [all …]
|
/linux/arch/arm/mach-qcom/ |
H A D | platsmp.c | 73 mb(); in scss_release_secondary() 109 udelay(2); in cortex_a7_release_secondary() 115 udelay(2); in cortex_a7_release_secondary() 119 udelay(2); in cortex_a7_release_secondary() 172 mb(); in kpssv1_release_secondary() 180 mb(); in kpssv1_release_secondary() 185 mb(); in kpssv1_release_secondary() 186 udelay(2); in kpssv1_release_secondary() 190 mb(); in kpssv1_release_secondary() 191 udelay(2); in kpssv1_release_secondary() [all …]
|