Home
last modified time | relevance | path

Searched refs:M (Results 1 – 25 of 2477) sorted by relevance

12345678910>>...100

/openbmc/u-boot/drivers/bios_emulator/x86emu/
H A Ddecode.c101 SAVE_IP_CS(M.x86.R_CS, M.x86.R_IP); in X86EMU_exec()
103 if (M.x86.intr) { in X86EMU_exec()
115 if (((M.x86.intr & INTR_SYNCH) && (M.x86.intno == 0 || M.x86.intno == 2)) || in X86EMU_exec()
120 op1 = (*sys_rdb)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP++)); in X86EMU_exec()
159 fetched = (*sys_rdb)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP++)); in fetch_decode_modrm()
203 fetched = (*sys_rdw)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP)); in fetch_word_imm()
225 fetched = (*sys_rdl)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP)); in fetch_long_imm()
914 return (M.x86.R_BX + M.x86.R_SI) & 0xffff; in decode_rm00_address()
917 return (M.x86.R_BX + M.x86.R_DI) & 0xffff; in decode_rm00_address()
921 return (M.x86.R_BP + M.x86.R_SI) & 0xffff; in decode_rm00_address()
[all …]
H A Ddebug.c60 printk("%04x:%04x ", M.x86.saved_cs, M.x86.saved_ip); in X86EMU_trace_regs()
61 print_encoded_bytes(M.x86.saved_cs, M.x86.saved_ip); in X86EMU_trace_regs()
79 printk("%04x:%04x ", M.x86.saved_cs, M.x86.saved_ip); in x86emu_just_disassemble()
80 print_encoded_bytes(M.x86.saved_cs, M.x86.saved_ip); in x86emu_just_disassemble()
113 tregs = M; in disassemble_forward()
133 op1 = (*sys_rdb) (((u32) M.x86.R_CS << 4) + (M.x86.R_IP++)); in disassemble_forward()
160 M.x86.enc_pos += x; in x86emu_inc_decoded_inst_len()
165 sprintf(M.x86.decoded_buf + M.x86.enc_str_pos, "%s", x); in x86emu_decode_printf()
173 sprintf(M.x86.decoded_buf + M.x86.enc_str_pos, "%s", temp); in x86emu_decode_printf2()
180 M.x86.enc_pos = 0; in x86emu_end_instr()
[all …]
H A Dops.c185 M.x86.R_CS, M.x86.R_IP-1,op1)); in x86emuOp_illegal_op()
586 M.x86.R_AL = daa_byte(M.x86.R_AL); in x86emuOp_daa()
614 M.x86.R_AL = das_byte(M.x86.R_AL); in x86emuOp_das()
642 M.x86.R_AX = aaa_word(M.x86.R_AX); in x86emuOp_aaa()
2407 M.x86.R_FLG |= M.x86.R_AH; in x86emuOp_sahf()
2762 store_data_byte_abs(M.x86.R_ES, M.x86.R_DI, M.x86.R_AL); in x86emuOp_stos_byte()
2768 store_data_byte_abs(M.x86.R_ES, M.x86.R_DI, M.x86.R_AL); in x86emuOp_stos_byte()
2809 store_data_long_abs(M.x86.R_ES, M.x86.R_DI, M.x86.R_EAX); in x86emuOp_stos_word()
2811 store_data_word_abs(M.x86.R_ES, M.x86.R_DI, M.x86.R_AX); in x86emuOp_stos_word()
3472 M.x86.R_SP = M.x86.R_BP; in x86emuOp_leave()
[all …]
H A Dprim_ops.c1953 imul_long_direct(&M.x86.R_EAX,&M.x86.R_EDX,M.x86.R_EAX,s); in imul_long()
2068 dvd = (((s32)M.x86.R_DX) << 16) | M.x86.R_AX; in idiv_word()
2193 dvd = (((u32)M.x86.R_DX) << 16) | M.x86.R_AX; in div_word()
2291 store_data_byte_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inb)(M.x86.R_DX)); in single_in()
2293 store_data_word_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inw)(M.x86.R_DX)); in single_in()
2295 store_data_long_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inl)(M.x86.R_DX)); in single_in()
2309 M.x86.R_ECX : M.x86.R_CX); in ins()
2334 (*sys_outb)(M.x86.R_DX,fetch_data_byte_abs(M.x86.R_ES, M.x86.R_SI)); in single_out()
2336 (*sys_outw)(M.x86.R_DX,fetch_data_word_abs(M.x86.R_ES, M.x86.R_SI)); in single_out()
2338 (*sys_outl)(M.x86.R_DX,fetch_data_long_abs(M.x86.R_ES, M.x86.R_SI)); in single_out()
[all …]
/openbmc/u-boot/drivers/bios_emulator/
H A Dbios.c77 if (M.x86.R_AH == 0x12 && M.x86.R_BL == 0x32) { in int42()
97 M.x86.R_AH, M.x86.R_AL, M.x86.R_BL); in int42()
203 if (M.x86.R_CL == interface && M.x86.R_CH == subclass
263 M.x86.R_DI, &M.x86.R_ECX);
266 M.x86.R_DI, &M.x86.R_ECX);
283 M.x86.R_DI, M.x86.R_CL);
286 M.x86.R_DI, M.x86.R_CL);
302 M.x86.R_DI, M.x86.R_CX);
305 M.x86.R_DI, M.x86.R_CX);
321 M.x86.R_DI, M.x86.R_ECX);
[all …]
H A Dbiosemu.c90 memset(&M, 0, sizeof(M)); in BE_init()
98 if (M.mem_base == NULL){ in BE_init()
102 M.mem_size = memSize; in BE_init()
230 free(M.mem_base); in BE_exit()
255 M.x86.R_DS = sregs->ds; in BE_callRealMode()
269 M.x86.R_SS = SEG(M.mem_size - 2); in BE_callRealMode()
270 M.x86.R_SP = OFF(M.mem_size - 2) + 2; in BE_callRealMode()
312 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86()
313 M.x86.R_SP = OFF(M.mem_size - 1) - 1; in BE_int86()
356 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86x()
[all …]
/openbmc/linux/arch/mips/mm/
H A Duasm-mips.c32 #define M(a, b, c, d, e, f) \ macro
61 [insn_bgtz] = {M(bgtz_op, 0, 0, 0, 0, 0), RS | BIMM},
62 [insn_blez] = {M(blez_op, 0, 0, 0, 0, 0), RS | BIMM},
81 [insn_di] = {M(cop0_op, mfmc0_op, 0, 12, 0, 0), RT},
112 [insn_j] = {M(j_op, 0, 0, 0, 0, 0), JIMM},
113 [insn_jal] = {M(jal_op, 0, 0, 0, 0, 0), JIMM},
116 [insn_jr] = {M(spec_op, 0, 0, 0, 0, jr_op), RS},
118 [insn_jr] = {M(spec_op, 0, 0, 0, 0, jalr_op), RS},
135 [insn_lui] = {M(lui_op, 0, 0, 0, 0, 0), RT | SIMM},
141 [insn_mfhi] = {M(spec_op, 0, 0, 0, 0, mfhi_op), RD},
[all …]
H A Duasm-micromips.c32 #define M(a, b, c, d, e, f) \ macro
46 [insn_andi] = {M(mm_andi32_op, 0, 0, 0, 0, 0), RT | RS | UIMM},
47 [insn_beq] = {M(mm_beq32_op, 0, 0, 0, 0, 0), RS | RT | BIMM},
53 [insn_bne] = {M(mm_bne32_op, 0, 0, 0, 0, 0), RT | RS | BIMM},
76 [insn_j] = {M(mm_j32_op, 0, 0, 0, 0, 0), JIMM},
77 [insn_jal] = {M(mm_jal32_op, 0, 0, 0, 0, 0), JIMM},
80 [insn_lb] = {M(mm_lb32_op, 0, 0, 0, 0, 0), RT | RS | SIMM},
82 [insn_lh] = {M(mm_lh32_op, 0, 0, 0, 0, 0), RT | RS | SIMM},
86 [insn_lw] = {M(mm_lw32_op, 0, 0, 0, 0, 0), RT | RS | SIMM},
112 [insn_sw] = {M(mm_sw32_op, 0, 0, 0, 0, 0), RT | RS | SIMM},
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dbios_interrupts.c42 M.x86.R_EAX &= 0x00ff; in int10_handler()
43 M.x86.R_ECX = 0x0607; in int10_handler()
62 M.x86.R_EBX &= 0x00ff; in int10_handler()
74 M.x86.R_EAX = 64 * 1024; in int12_handler()
127 M.x86.R_ECX = 0xff; in int1a_handler()
132 devid = M.x86.R_ECX; in int1a_handler()
166 reg = M.x86.R_EDI; in int1a_handler()
178 M.x86.R_ECX = byte; in int1a_handler()
182 M.x86.R_ECX = word; in int1a_handler()
189 byte = M.x86.R_ECX; in int1a_handler()
[all …]
H A Dbios.c60 .eax = M.x86.R_EAX, in int_exception_handler()
61 .ecx = M.x86.R_ECX, in int_exception_handler()
62 .edx = M.x86.R_EDX, in int_exception_handler()
63 .ebx = M.x86.R_EBX, in int_exception_handler()
64 .esp = M.x86.R_ESP, in int_exception_handler()
65 .ebp = M.x86.R_EBP, in int_exception_handler()
66 .esi = M.x86.R_ESI, in int_exception_handler()
71 .cs = M.x86.R_CS, in int_exception_handler()
85 M.x86.intno, M.x86.R_EAX); in int_unknown_handler()
321 M.x86.R_EIP = ip; in interrupt_handler()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dkmod-path.c47 #define M(path, c, e) \ macro
86 M("x.gz", PERF_RECORD_MISC_KERNEL, false); in test__kmod_path__parse()
87 M("x.gz", PERF_RECORD_MISC_USER, false); in test__kmod_path__parse()
95 M("x.ko.gz", PERF_RECORD_MISC_KERNEL, true); in test__kmod_path__parse()
96 M("x.ko.gz", PERF_RECORD_MISC_USER, false); in test__kmod_path__parse()
123 M("[vdso]", PERF_RECORD_MISC_KERNEL, false); in test__kmod_path__parse()
124 M("[vdso]", PERF_RECORD_MISC_USER, false); in test__kmod_path__parse()
131 M("[vdso32]", PERF_RECORD_MISC_KERNEL, false); in test__kmod_path__parse()
132 M("[vdso32]", PERF_RECORD_MISC_USER, false); in test__kmod_path__parse()
140 M("[vdsox32]", PERF_RECORD_MISC_USER, false); in test__kmod_path__parse()
[all …]
/openbmc/qemu/target/s390x/tcg/
H A Dinsn-format.h.inc7 F2(RI_c, M(1, 8), I(2,16,16))
22 F2(RR_b, M(1, 8), R(2,12))
27 F4(RRF_c, R(1,24), R(2,28), M(3,16), M(4,20))
28 F4(RRF_d, R(1,24), R(2,28), M(3,16), M(4,20))
29 F4(RRF_e, R(1,24), R(2,28), M(3,16), M(4,20))
61 F5(VRI_e, V(1,8), V(2,12), I(3,16,12), M(5,28), M(4,32))
66 F5(VRR_a, V(1,8), V(2,12), M(5,24), M(4,28), M(3,32))
67 F5(VRR_b, V(1,8), V(2,12), V(3,16), M(5,24), M(4,32))
68 F6(VRR_c, V(1,8), V(2,12), V(3,16), M(6,24), M(5,28), M(4,32))
69 F6(VRR_d, V(1,8), V(2,12), V(3,16), M(5,20), M(6,24), V(4,32))
[all …]
/openbmc/linux/include/linux/
H A Dpoll.h125 #define M(X) __MAP(v, (__force __u16)EPOLL##X, POLL##X) in mangle_poll() macro
126 return M(IN) | M(OUT) | M(PRI) | M(ERR) | M(NVAL) | in mangle_poll()
127 M(RDNORM) | M(RDBAND) | M(WRNORM) | M(WRBAND) | in mangle_poll()
128 M(HUP) | M(RDHUP) | M(MSG); in mangle_poll()
129 #undef M in mangle_poll()
134 #define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X) in demangle_poll() macro
135 return M(IN) | M(OUT) | M(PRI) | M(ERR) | M(NVAL) | in demangle_poll()
136 M(RDNORM) | M(RDBAND) | M(WRNORM) | M(WRBAND) | in demangle_poll()
137 M(HUP) | M(RDHUP) | M(MSG); in demangle_poll()
138 #undef M in demangle_poll()
/openbmc/qemu/chardev/
H A Dmsmouse.c39 #define M(c) (c - 0x20) macro
51 const uint8_t pnp_data[] = {M('('), 1, '$', M('Q'), M('M'), M('U'),
52 M('0'), M('0'), M('0'), M('1'),
53 M('\\'), M('\\'),
54 M('M'), M('O'), M('U'), M('S'), M('E'),
55 M('\\'), M('\\')};
187 const uint8_t hexchr[16] = {M('0'), M('1'), M('2'), M('3'), M('4'), M('5'), in msmouse_ioctl()
188 M('6'), M('7'), M('8'), M('9'), M('A'), M('B'), in msmouse_ioctl()
189 M('C'), M('D'), M('E'), M('F')}; in msmouse_ioctl()
208 c = M(')'); in msmouse_ioctl()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D20446 CLUSTER_SIZE=1M
47 size=128M
76 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
83 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
104 echo read -P 0 32M 32M
105 echo read -P 22 64M 13M
106 echo read -P 0 77M 29M
107 echo read -P 22 106M 4M
108 echo read -P 11 110M 18M
H A D17746 CLUSTER_SIZE=1M
47 size=128M
75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
82 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
106 echo read -P 0 32M 32M
107 echo read -P 22 64M 13M
108 echo read -P $discarded 77M 29M
109 echo read -P 22 106M 22M
H A D06074 _make_test_img 64M
108 _make_test_img 64M
134 _make_test_img 64M
188 _make_test_img 64M
197 _make_test_img 64M
205 _make_test_img 64M
213 _make_test_img 64M
221 _make_test_img 64M
230 _make_test_img 64M
237 _make_test_img 64M
[all …]
H A D04985 test_qemu_img create -f $IMGFMT -o size=10M "$TEST_IMG" 20M
93 test_qemu_img create -f $IMGFMT -o cluster_size=$s "$TEST_IMG" 64M
98 test_qemu_img create -f $IMGFMT -o compat=0.10 "$TEST_IMG" 64M
99 test_qemu_img create -f $IMGFMT -o compat=1.1 "$TEST_IMG" 64M
101 test_qemu_img create -f $IMGFMT -o compat=0.42 "$TEST_IMG" 64M
102 test_qemu_img create -f $IMGFMT -o compat=foobar "$TEST_IMG" 64M
106 test_qemu_img create -f $IMGFMT -o preallocation=off "$TEST_IMG" 64M
107 test_qemu_img create -f $IMGFMT -o preallocation=metadata "$TEST_IMG" 64M
108 test_qemu_img create -f $IMGFMT -o preallocation=1234 "$TEST_IMG" 64M
112 test_qemu_img create -f $IMGFMT -o encryption=off "$TEST_IMG" 64M
[all …]
H A D11259 _make_test_img -o "refcount_bits=0" 64M
61 _make_test_img -o "refcount_bits=-1" 64M
63 _make_test_img -o "refcount_bits=128" 64M
65 _make_test_img -o "refcount_bits=42" 64M
68 _make_test_img -o "refcount_bits=1" 64M
72 _make_test_img -o "refcount_bits=64" 64M
76 _make_test_img 64M
96 _make_test_img -o "refcount_bits=1" 64M
112 _make_test_img -o "refcount_bits=2" 64M
130 _make_test_img -o "refcount_bits=1" 64M
[all …]
H A D06160 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
100 _make_test_img -o "compat=1.1" 64M
111 _make_test_img -o "compat=0.10" 64M
122 _make_test_img -o "compat=0.10" 32M
125 $QEMU_IMG resize "$TEST_IMG" 64M &&
134 $QEMU_IMG resize --shrink "$TEST_IMG" 64M ||
170 _make_test_img -o "compat=1.1" 64M
184 _make_test_img -o "compat=0.10" 64M
206 _make_test_img -o "compat=1.1" 64M
220 _make_test_img -o "compat=1.1" 64M
[all …]
/openbmc/linux/drivers/gpu/drm/kmb/
H A Dkmb_regs.h400 #define HS_OFFSET(M) (((M) + 1) * 0x400) argument
403 #define MIPI_TXm_HS_CTRL(M) (MIPI_TX_HS_CTRL + HS_OFFSET(M)) argument
418 + HS_OFFSET(M))
547 (M) + (N))
562 HS_OFFSET(M))
564 MIPI_TX_HS_IRQ_STATUSm(M))
620 + HS_OFFSET(M))
627 #define TP_EN_VCm(M) (1 << ((M) * 0x04)) argument
628 #define TP_SEL_VCm(M, N) \ argument
629 ((N) << (((M) * 0x04) + 1))
[all …]
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/
H A Ddebug.h65 # define DEBUG_DECODE() (M.x86.debug & DEBUG_DECODE_F)
66 # define DEBUG_TRACE() (M.x86.debug & DEBUG_TRACE_F)
67 # define DEBUG_STEP() (M.x86.debug & DEBUG_STEP_F)
69 # define DEBUG_BREAK() (M.x86.debug & DEBUG_BREAK_F)
70 # define DEBUG_SVC() (M.x86.debug & DEBUG_SVC_F)
73 # define DEBUG_FS() (M.x86.debug & DEBUG_FS_F)
74 # define DEBUG_PROC() (M.x86.debug & DEBUG_PROC_F)
75 # define DEBUG_SYSINT() (M.x86.debug & DEBUG_SYSINT_F)
78 # define DEBUG_SYS() (M.x86.debug & DEBUG_SYS_F)
126 M.x86.saved_cs = x; \
[all …]
/openbmc/u-boot/board/sunxi/
H A DMAINTAINERS2 M: Hans de Goede <hdegoede@redhat.com>
110 M: Chen-Yu Tsai <wens@csie.org>
142 M: Chen-Yu Tsai <wens@csie.org>
148 M: Chen-Yu Tsai <wens@csie.org>
183 M: Chen-Yu Tsai <wens@csie.org>
188 M: Chen-Yu Tsai <wens@csie.org>
198 M: Priit Laes <plaes@plaes.org>
208 M: Chen-Yu Tsai <wens@csie.org>
213 M: Stefan Roese <sr@denx.de>
258 M: Adam Sampson <ats@offog.org>
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h134 M(READY, 0x001, ready, msg_req, ready_msg_rsp) \
139 M(VF_FLR, 0x006, vf_flr, msg_req, msg_rsp) \
140 M(PTP_OP, 0x007, ptp_op, ptp_req, ptp_rsp) \
187 M(NPA_LF_ALLOC, 0x400, npa_lf_alloc, \
240 M(NPC_GET_KEX_CFG, 0x600c, npc_get_kex_cfg, \
244 M(NPC_DELETE_FLOW, 0x600e, npc_delete_flow, \
263 M(NIX_LF_ALLOC, 0x8000, nix_lf_alloc, \
267 M(NIX_HWCTX_DISABLE, 0x8003, nix_hwctx_disable, \
269 M(NIX_TXSCH_ALLOC, 0x8004, nix_txsch_alloc, \
289 M(NIX_LSO_FORMAT_CFG, 0x8011, nix_lso_format_cfg, \
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dtraps_64.c1109 /*09*/M, 27, M, M, 99, M, M, 3, 114, M2, M2, 20, M2, M3, M3, M,
1115 /*0f*/M2, M3, M3, M, M3, M, M, M, 56, M4, M, M3, M4, M, M, M,
1117 /*11*/M, M, 100, M, 83, M, M2, 12, 87, M, M, 57, M2, M, M3, M,
1119 /*13*/94, M, M2, M3, M2, M, M3, M, M2, M, 79, M, 69, M, M4, M,
1120 /*14*/M2, 93, 92, M, 91, M, M2, 8, 90, M2, M2, M, M, M, M, M4,
1121 /*15*/89, M, M, M3, M2, M3, M3, M, M, M, M3, M2, M3, M2, M, M3,
1122 /*16*/86, M, M2, M3, M2, M, M3, M, M2, M, M3, M, M3, M, M, M3,
1125 /*19*/77, M, M, M, M2, M3, M, M, M2, M3, M3, M4, M3, M2, M, M,
1126 /*1a*/74, M, M2, M3, M, M, M3, M, M, M, M3, M, M3, M, M4, M3,
1129 /*1d*/M2, 115, 124, M, 75, M, M, M3, 61, M, M4, M, M4, M, M, M,
[all …]

12345678910>>...100