Home
last modified time | relevance | path

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

12345678910>>...47

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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()
383 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command()
[all …]
/kernel/linux/linux-6.6/drivers/accel/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 …]
/kernel/linux/linux-5.10/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()
172 !is_rom_cmd(mcp->mb[0])) { in qla2x00_mailbox_command()
175 mcp->mb[0]); in qla2x00_mailbox_command()
189 mcp->mb[0]); in qla2x00_mailbox_command()
204 "Prepare to issue mbox cmd=0x%x.\n", mcp->mb[0]); in qla2x00_mailbox_command()
224 iptr = mcp->mb; in qla2x00_mailbox_command()
225 command = mcp->mb[0]; in qla2x00_mailbox_command()
372 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command()
388 iptr2 = mcp->mb; in qla2x00_mailbox_command()
[all …]
/kernel/linux/linux-5.10/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()
46 mb(); in iowrite8()
52 mb(); in iowrite16()
58 mb(); in iowrite32()
81 return ioread32(ioport_map(port, 4)); in inl()
[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 …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dhead.S54 .align 4
102 ori r3, r0, (0x10000 - 4)
106 addik r11, r11, 4 /* increment counting */
108 addik r3, r3, -4 /* descrement loop */
140 ori r3, r0, (LMB_SIZE - 4)
144 addik r11, r11, 4 /* increment counting */
146 addik r3, r3, -4 /* descrement loop */
168 bri 4
189 bgei r11, GT16 /* size is greater than 16MB */
191 bgei r11, GT8 /* size is greater than 8MB */
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/Documentation/arch/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.txt29 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB,
30 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as
69 <0x4800 0 0 4 &pci_intc 3>,
73 <0x5000 0 0 4 &pci_intc 0>,
77 <0x5800 0 0 4 &pci_intc 1>,
81 <0x6000 0 0 4 &pci_intc 2>;
116 <0x4800 0 0 4 &pci_intc 3>,
120 <0x5000 0 0 4 &pci_intc 0>,
124 <0x5800 0 0 4 &pci_intc 1>,
128 <0x6000 0 0 4 &pci_intc 0>;
/kernel/linux/linux-6.6/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>;
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arc/plat-axs10x/
Daxs10x.c45 * | snps,dw-apb-intc (MB)| in axs10x_enable_gpio_intc_wire()
53 * https://lkml.org/lkml/2015/3/4/755 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.
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/arch/parisc/include/asm/
Dassembly.h22 #define REG_SZ 4
62 #define LDREGM ldd,mb
314 fldd,mb -8(\regs), %fr30
315 fldd,mb -8(\regs), %fr29
316 fldd,mb -8(\regs), %fr28
317 fldd,mb -8(\regs), %fr27
318 fldd,mb -8(\regs), %fr26
319 fldd,mb -8(\regs), %fr25
320 fldd,mb -8(\regs), %fr24
321 fldd,mb -8(\regs), %fr23
[all …]
/kernel/linux/linux-6.6/arch/arc/plat-axs10x/
Daxs10x.c44 * | 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()
78 unsigned int pad:11, y:12, m:4, d:5; in axs10x_print_board_ver()
80 unsigned int d:5, m:4, y:12, pad:11; in axs10x_print_board_ver()
94 char mb[32]; in axs10x_early_init() local
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:
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
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 …]

12345678910>>...47