Home
last modified time | relevance | path

Searched +full:2 +full:mb (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_mbx.c95 * 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()
387 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command()
[all …]
Dqla_isr.c128 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts()
132 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts()
135 fctl = ~(abts->f_ctl[2] | 0x7F) << 16 | in qla24xx_process_abts()
139 abts_rsp->f_ctl[2] = fctl >> 16 & 0xff; in qla24xx_process_abts()
310 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); in __qla_copy_purex_to_buffer()
333 uint16_t mb[8]; in qla2100_intr_handler() local
377 mb[0] = RD_MAILBOX_REG(ha, reg, 0); in qla2100_intr_handler()
378 if (mb[0] > 0x3fff && mb[0] < 0x8000) { in qla2100_intr_handler()
379 qla2x00_mbx_completion(vha, mb[0]); in qla2100_intr_handler()
381 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) { in qla2100_intr_handler()
[all …]
/Linux-v6.1/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh72 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 …]
Dhugetlb_reparenting_test.sh43 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 …]
/Linux-v6.1/Documentation/driver-api/cxl/
Dmemory-devices.rst39 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-v6.1/arch/alpha/kernel/
Dcore_apecs.c31 * 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 …]
Dio.c20 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 …]
Dcore_t2.c37 * 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 …]
Dcore_mcpcia.c27 * 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 …]
Dcore_cia.c34 * NOTE: Herein lie back-to-back mb instructions. They are magic.
56 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
57 * 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
64 * 7:2 Register number
68 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
69 * 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
78 * 7:2 register number
85 * doesn't get shifted by 2 bits as we want to "drop" the bottom two
118 mb(); in conf_read()
125 mb(); in conf_read()
[all …]
/Linux-v6.1/drivers/misc/habanalabs/include/gaudi2/
Dgaudi2.h12 #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-v6.1/drivers/power/supply/
Dipaq_micro_battery.c51 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 …]
/Linux-v6.1/drivers/media/pci/cx18/
Dcx18-mailbox.c22 #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()
233 struct cx18_mailbox *mb; in epu_dma_done() local
239 mb = &order->mb; in epu_dma_done()
240 handle = mb->args[0]; in epu_dma_done()
247 "stale" : "good", mb->request); in epu_dma_done()
251 mdl_ack_count = mb->args[2]; in epu_dma_done()
280 mb->request); in epu_dma_done()
[all …]
/Linux-v6.1/Documentation/x86/x86_64/
Dmm.rst20 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 …]
/Linux-v6.1/Documentation/devicetree/bindings/pci/
Dv3-v360epc-pci.txt11 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 */
Dfaraday,ftpci100.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
37 <0x4800 0 0 2 &pci_intc 1>,
38 <0x4800 0 0 3 &pci_intc 2>,
41 <0x5000 0 0 2 &pci_intc 2>,
44 <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
45 <0x5800 0 0 2 &pci_intc 3>,
49 <0x6000 0 0 2 &pci_intc 0>,
51 <0x6000 0 0 4 &pci_intc 2>;
78 minItems: 2
84 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB,
[all …]
/Linux-v6.1/fs/btrfs/tests/
Dfree-space-tests.c382 * 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-v6.1/tools/perf/Documentation/
Dperf-iostat.txt18 - 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-v6.1/arch/arc/plat-axs10x/
Daxs10x.c45 * | snps,dw-apb-intc (MB)| in axs10x_enable_gpio_intc_wire()
56 * DT hardware topology - connect MB intc directly to cpu intc in axs10x_enable_gpio_intc_wire()
95 char mb[32]; in axs10x_early_init() local
101 mb_rev = 2; /* HT-2 (rev2.0) */ in axs10x_early_init()
105 scnprintf(mb, 32, "MainBoard v%d", mb_rev); in axs10x_early_init()
106 axs10x_print_board_ver(CREG_MB_VER, mb); in axs10x_early_init()
122 * Each AXI master has a 4GB memory map specified as 16 apertures of 256MB, each
123 * of which maps to a corresponding 256MB aperture in Target slave memory map.
128 * Access from cpu to MB controllers such as GMAC is setup using AXI Tunnel:
132 * MB AXI Tunnel Master, which also has a mem map setup
[all …]
/Linux-v6.1/drivers/scsi/
Dqla1280.c34 Rev 3.24.2 January 19, 2004, James Bottomley & Andrew Vasquez
205 Rev 3.23.2 Beta August 6, 2001, Jes Sorensen
377 #define NVRAM_DELAY() udelay(500) /* 2 microseconds */
510 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},
533 {"qlogic/12160.bin", NULL}, /* image 2 */
538 {.name = "QLA12160", .numPorts = 2, .fw_index = 2},
541 {.name = "QLA1240" , .numPorts = 2, .fw_index = 1},
542 {.name = "QLA1280" , .numPorts = 2, .fw_index = 1},
543 {.name = "QLA10160", .numPorts = 1, .fw_index = 2},
596 dprintk(2, "Invalid nvram ID or version!\n"); in qla1280_read_nvram()
[all …]
/Linux-v6.1/drivers/net/dsa/realtek/
Drtl8365mb.c67 * In the same family of chips, some carry up to 8 user ports and up to 2
194 #define RTL8365MB_EXT_PORT_MODE_MII_MAC 2
212 (_extint) == 2 ? RTL8365MB_DIGITAL_INTERFACE_SELECT_REG1 : \
215 (0xF << (((_extint) % 2)))
217 (((_extint) % 2) * 4)
219 /* External interface RGMII TX/RX delay configuration registers 0~2 */
226 (_extint) == 2 ? RTL8365MB_EXT_RGMXF_REG2 : \
234 #define RTL8365MB_PORT_SPEED_1000M 2
236 /* External interface force configuration registers 0~2 */
243 (_extint) == 2 ? RTL8365MB_DIGITAL_INTERFACE_FORCE_REG2 : \
[all …]
/Linux-v6.1/arch/alpha/include/asm/
Dspinlock.h26 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-v6.1/drivers/net/ethernet/apple/
Dmace.c138 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()
321 volatile struct mace __iomem *mb = mp->mace; in mace_reset() local
327 out_8(&mb->biucc, SWRST); in mace_reset()
328 if (in_8(&mb->biucc) & SWRST) { in mace_reset()
339 out_8(&mb->imr, 0xff); /* disable all intrs for now */ in mace_reset()
340 i = in_8(&mb->ir); in mace_reset()
[all …]
/Linux-v6.1/Documentation/xtensa/
Dmmu.rst28 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-v6.1/drivers/net/fddi/skfp/
Dhwmtm.c70 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 …]

12345678910>>...44