Home
last modified time | relevance | path

Searched +full:4 +full:mb (Results 1 – 25 of 1086) sorted by relevance

12345678910>>...44

/Linux-v6.1/arch/alpha/kernel/
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_cia.c34 * NOTE: Herein lie back-to-back mb instructions. They are magic.
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
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
118 mb(); in conf_read()
125 mb(); in conf_read()
129 mb(); in conf_read()
133 mb(); in conf_read()
137 mb(); in conf_read()
138 mb(); /* magic */ in conf_read()
142 mb(); in conf_read()
[all …]
Dcore_apecs.c31 * NOTE: Herein lie back-to-back mb instructions. They are magic.
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
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
140 mb(); in conf_read()
146 mb(); in conf_read()
154 mb(); in conf_read()
159 asm volatile("ldl %0,%1; mb; mb" : "=r"(value) : "m"(*(vuip)addr) in conf_read()
165 mb(); in conf_read()
168 mb(); in conf_read()
192 mb(); in conf_read()
[all …]
Dcore_mcpcia.c27 * NOTE: Herein lie back-to-back mb instructions. They are magic.
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
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
104 mb(); in conf_read()
108 mb(); in conf_read()
113 mb(); in conf_read()
117 mb(); in conf_read()
118 mb(); /* magic */ in conf_read()
123 mb(); in conf_read()
126 mb(); in conf_read()
[all …]
/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 …]
/Linux-v6.1/drivers/misc/habanalabs/include/gaudi2/
Dgaudi2.h13 #define DRAM_BAR_ID 4
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/arch/microblaze/kernel/
Dhead.S51 .align 4
99 ori r3, r0, (0x10000 - 4)
103 addik r11, r11, 4 /* increment counting */
105 addik r3, r3, -4 /* descrement loop */
135 ori r3, r0, (LMB_SIZE - 4)
139 addik r11, r11, 4 /* increment counting */
141 addik r3, r3, -4 /* descrement loop */
163 bri 4
184 bgei r11, GT16 /* size is greater than 16MB */
186 bgei r11, GT8 /* size is greater than 8MB */
[all …]
/Linux-v6.1/sound/isa/gus/
Dgus_io.c17 mb(); in snd_gf1_delay()
36 mb(); in __snd_gf1_ctrl_stop()
38 mb(); in __snd_gf1_ctrl_stop()
40 mb(); in __snd_gf1_ctrl_stop()
42 mb(); in __snd_gf1_ctrl_stop()
50 mb(); in __snd_gf1_write8()
52 mb(); in __snd_gf1_write8()
59 mb(); in __snd_gf1_look8()
67 mb(); in __snd_gf1_write16()
69 mb(); in __snd_gf1_write16()
[all …]
/Linux-v6.1/Documentation/x86/x86_64/
Dmm.rst7 Complete virtual memory map with 4-level page tables
20 from TB to GB and then MB/KB.
57 fffffc0000000000 | -4 TB | fffffdffffffffff | 2 TB | ... unused hole
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
50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */
59 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
64 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
69 0x5800 0 0 4 &pic 14 /* INT D on slot 11 is irq 14 */
74 0x6000 0 0 4 &pic 15 /* INT D on slot 12 is irq 15 */
Dfaraday,ftpci100.yaml39 <0x4800 0 0 4 &pci_intc 3>,
43 <0x5000 0 0 4 &pci_intc 0>,
47 <0x5800 0 0 4 &pci_intc 1>,
51 <0x6000 0 0 4 &pci_intc 2>;
84 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB,
85 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as
154 <0x4800 0 0 4 &pci_intc 3>,
158 <0x5000 0 0 4 &pci_intc 0>,
162 <0x5800 0 0 4 &pci_intc 1>,
166 <0x6000 0 0 4 &pci_intc 0>;
/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()
62 if (msg_battery.rx_len < 4) in micro_battery_work()
72 * byte 4: flags 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()
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()
86 mb->temperature = msg_sensor.rx_data[1] << 8 | msg_sensor.rx_data[0]; in micro_battery_work()
[all …]
/Linux-v6.1/arch/mips/include/asm/dec/
Dkn05.h5 * DECstation/DECsystem 5000/260 (4max+ or KN05), 5000/150 (4min
6 * or KN04-BA), Personal DECstation/DECsystem 5000/50 (4maxine or
7 * KN04-CA) and DECsystem 5900/260 (KN05) R4k CPU card MB ASIC
23 * The oncard MB (Memory Buffer) ASIC provides an additional address
34 #define KN4K_MB_INT (4*IOASIC_SLOT_SIZE) /* MB interrupt register */
35 #define KN4K_MB_EA (5*IOASIC_SLOT_SIZE) /* MB error address? */
36 #define KN4K_MB_EC (6*IOASIC_SLOT_SIZE) /* MB error ??? */
37 #define KN4K_MB_CSR (7*IOASIC_SLOT_SIZE) /* MB control & status */
48 * MB ASIC interrupt bits.
50 #define KN4K_MB_INR_MB 4 /* ??? */
[all …]
/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()
79 unsigned int pad:11, y:12, m:4, d:5; in axs10x_print_board_ver()
81 unsigned int d:5, m:4, y:12, pad:11; in axs10x_print_board_ver()
95 char mb[32]; in axs10x_early_init() local
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:
[all …]
/Linux-v6.1/tools/testing/selftests/vm/
Dhugetlb_reparenting_test.sh4 # Kselftest framework requirement - SKIP code is 4.
5 ksft_skip=4
43 mb=$(($kb / 1024))
44 echo $mb
47 MB=$(get_machine_hugepage_size)
68 if [ ! -z ${3:-} ] && [ ! -z ${4:-} ]; then
70 expected_b_hugetlb="$4"
78 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
79 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
87 actual_a_hugetlb="$(cat "$CGROUP_ROOT"/a/hugetlb.${MB}MB.$usage_file)"
[all …]
Dcharge_reserved_hugetlb.sh4 # Kselftest framework requirement - SKIP code is 4.
5 ksft_skip=4
85 mb=$(($kb / 1024))
86 echo $mb
89 MB=$(get_machine_hugepage_size)
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"
128 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
141 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file"
[all …]
/Linux-v6.1/arch/x86/kernel/cpu/
Dcacheinfo.c6 * Venkatesh Pallipadi : Adding cache identification through cpuid(4)
29 #define LVL_3 4
44 #define MB(x) ((x) * 1024) macro
51 { 0x06, LVL_1_INST, 8 }, /* 4-way set assoc, 32 byte line size */
52 { 0x08, LVL_1_INST, 16 }, /* 4-way set assoc, 32 byte line size */
53 { 0x09, LVL_1_INST, 32 }, /* 4-way set assoc, 64 byte line size */
55 { 0x0c, LVL_1_DATA, 16 }, /* 4-way set assoc, 32 byte line size */
56 { 0x0d, LVL_1_DATA, 16 }, /* 4-way set assoc, 64 byte line size */
59 { 0x22, LVL_3, 512 }, /* 4-way set assoc, sectored cache, 64 byte line size */
60 { 0x23, LVL_3, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */
[all …]
/Linux-v6.1/arch/parisc/include/asm/
Dassembly.h22 #define REG_SZ 4
62 #define LDREGM ldd,mb
316 fldd,mb -8(\regs), %fr30
317 fldd,mb -8(\regs), %fr29
318 fldd,mb -8(\regs), %fr28
319 fldd,mb -8(\regs), %fr27
320 fldd,mb -8(\regs), %fr26
321 fldd,mb -8(\regs), %fr25
322 fldd,mb -8(\regs), %fr24
323 fldd,mb -8(\regs), %fr23
[all …]
/Linux-v6.1/arch/x86/kernel/
Dearly-quirks.c243 #define MB(x) (KB (KB (x))) macro
253 return MB(1); in i830_tseg_size()
268 case I845_TSEG_SIZE_1M: return MB(1); in i845_tseg_size()
282 return MB(1); in i85x_tseg_size()
287 return read_pci_config_byte(0, 0, 0, I830_DRB3) * MB(32); in i830_mem_size()
292 return read_pci_config_byte(0, 0, 1, I85X_DRB3) * MB(32); in i85x_mem_size()
364 case I830_GMCH_GMS_STOLEN_1024: return MB(1); in i830_stolen_size()
365 case I830_GMCH_GMS_STOLEN_8192: return MB(8); in i830_stolen_size()
384 case I855_GMCH_GMS_STOLEN_1M: return MB(1); in gen3_stolen_size()
385 case I855_GMCH_GMS_STOLEN_4M: return MB(4); in gen3_stolen_size()
[all …]
/Linux-v6.1/Documentation/xtensa/
Dmmu.rst31 in this code. After step 4, we jump to intended (linked) address of this code.
60 4. Only the first triplet in the "ranges" property 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
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
110 | Uncached KIO | XCHAL_KIO_BYPASS_VADDR 0xf0000000 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()
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()
431 mb++ ; in init_fddi_driver()
[all …]
/Linux-v6.1/arch/hexagon/kernel/
Dhead.S49 * Done in 4MB chunks.
74 r1 = add(r1, r3); /* + (4M-1) */
75 r26 = lsr(r1, #22); /* / 4M = # of entries */
79 r2.l = #0x0000; /* round back down to 4MB boundary */
81 r2 = lsr(r1, #22) /* 4MB page number */
82 r2 = asl(r2, #2) /* times sizeof(PTE) (4bytes) */
85 r1 = add(r1,r2) /* r1 = 4MB PTE for the first entry */
87 r2.l = #0x0000 /* 4MB increments */
90 memw(r0 ++ #4) = r1
94 /* PAGE_OFFSET >> (4MB shift - 4 bytes per entry shift) */
[all …]
/Linux-v6.1/arch/arm/mach-footbridge/include/mach/
Dhardware.h13 * 0xff800000 0x40000000 1MB X-Bus
14 * 0xff000000 0x7c000000 1MB PCI I/O space
15 * 0xfe000000 0x42000000 1MB CSR
16 * 0xfd000000 0x78000000 1MB Outbound write flush (not supported)
17 * 0xfc000000 0x79000000 1MB PCI IACK/special space
18 * 0xfb000000 0x7a000000 16MB PCI Config type 1
19 * 0xfa000000 0x7b000000 16MB PCI Config type 0
20 * 0xf9000000 0x50000000 1MB Cache flush
21 * 0xf0000000 0x80000000 16MB ISA memory
49 #define XBUS_SWITCH_J17_13 ((*XBUS_SWITCH) & (1 << 4))
[all …]
/Linux-v6.1/Documentation/fb/
Dmatroxfb.rst48 4 0x12 0x102
63 4 0x104 0x106
99 head, not even talking about second). Running XFree86 4.x accelerated mga
128 memory usable for on-screen display (i.e. max. 8 MB).
165 - 0 -> 2x128Kx32 chips, 2MB onboard, probably sgram
166 - 1 -> 2x128Kx32 chips, 4MB onboard, probably sgram
167 - 2 -> 2x256Kx32 chips, 4MB onboard, probably sgram
168 - 3 -> 2x256Kx32 chips, 8MB onboard, probably sgram
169 - 4 -> 2x512Kx16 chips, 8/16MB onboard, probably sdram only
171 - 6 -> 4x128Kx32 chips, 4MB onboard, probably sgram
[all …]
/Linux-v6.1/arch/powerpc/boot/dts/fsl/
Dp1024rdb.dtsi59 /* 3.5 MB for Linux Kernel Image */
65 /* 11MB for JFFS2 based Root file System */
89 /* 1MB for u-boot Bootloader Image */
96 /* 1MB for DTB Image */
102 /* 4MB for Linux Kernel Image */
108 /* 4MB for Compressed Root file System Image */
114 /* 15MB for JFFS2 based Root file System */
120 /* 7MB for User Writable Area */
150 /* 4MB for Linux Kernel Image */
156 /* 4MB for Compressed RFS Image */
[all …]

12345678910>>...44