Home
last modified time | relevance | path

Searched refs:rs (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/openbmc/qemu/util/
H A Dreadline.c35 void readline_show_prompt(ReadLineState *rs) in readline_show_prompt() argument
37 rs->printf_func(rs->opaque, "%s", rs->prompt); in readline_show_prompt()
38 rs->flush_func(rs->opaque); in readline_show_prompt()
39 rs->last_cmd_buf_index = 0; in readline_show_prompt()
40 rs->last_cmd_buf_size = 0; in readline_show_prompt()
41 rs->esc_state = IS_NORM; in readline_show_prompt()
45 static void readline_update(ReadLineState *rs) in readline_update() argument
49 if (rs->cmd_buf_size != rs->last_cmd_buf_size || in readline_update()
50 memcmp(rs->cmd_buf, rs->last_cmd_buf, rs->cmd_buf_size) != 0) { in readline_update()
51 for (i = 0; i < rs->last_cmd_buf_index; i++) { in readline_update()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A D0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch14 .../src/unix/linux_like/linux/arch/generic/mod.rs | 6 +++++-
16 .../src/unix/linux_like/linux/arch/generic/mod.rs | 4 +++-
18 .../src/unix/linux_like/linux/arch/generic/mod.rs | 4 +++-
26rs":"54387230fed8d16f1169a845e92a1c1a5d9227559acbf3bfa383c7901b2d1be8","rustfmt.toml":"eaa2ea84fc1…
28rs":"54387230fed8d16f1169a845e92a1c1a5d9227559acbf3bfa383c7901b2d1be8","rustfmt.toml":"eaa2ea84fc1…
29 …c/unix/linux_like/linux/arch/generic/mod.rs b/vendor/libc-0.2.158/src/unix/linux_like/linux/arch/g…
31 --- a/vendor/libc-0.2.158/src/unix/linux_like/linux/arch/generic/mod.rs
32 +++ b/vendor/libc-0.2.158/src/unix/linux_like/linux/arch/generic/mod.rs
58rs":"bcbe11dc711029460fcc4f7fd8e38c487006ad0860007915ae6718bd90fb891a","rustfmt.toml":"e9321ff9952…
60rs":"bcbe11dc711029460fcc4f7fd8e38c487006ad0860007915ae6718bd90fb891a","rustfmt.toml":"e9321ff9952…
[all …]
H A Drepro-issue-fix-with-cc-crate-hashmap.patch7 https://github.com/rust-lang/cc-rs/pull/1277
9 Upstream-Status: Submitted [https://github.com/rust-lang/cc-rs/pull/1277]
11 diff --git a/vendor/cc-1.2.0/src/command_helpers.rs b/vendor/cc-1.2.0/src/command_helpers.rs
13 --- a/vendor/cc-1.2.0/src/command_helpers.rs
14 +++ b/vendor/cc-1.2.0/src/command_helpers.rs
64rs":"b766a70e39b8ea7bb57afd288bcac205a23f6a26ac5619cb1d5b10f70c5dfdea","src/detect_compiler_family…
66rs":"174101852b2633a2478cef20d063fb9c2f1b092eac47913a6e708c85663b8404","src/detect_compiler_family…
67 diff --git a/vendor/cc-1.0.99/src/command_helpers.rs b/vendor/cc-1.0.99/src/command_helpers.rs
69 --- a/vendor/cc-1.0.99/src/command_helpers.rs
70 +++ b/vendor/cc-1.0.99/src/command_helpers.rs
[all …]
H A Drust-oe-selftest.patch8 …t a/compiler/rustc_errors/src/markdown/tests/term.rs b/compiler/rustc_errors/src/markdown/tests/te…
9 --- a/compiler/rustc_errors/src/markdown/tests/term.rs
10 +++ b/compiler/rustc_errors/src/markdown/tests/term.rs
19 diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
20 --- a/compiler/rustc_interface/src/tests.rs
21 +++ b/compiler/rustc_interface/src/tests.rs
46 …ff --git a/library/std/src/sync/poison/rwlock/tests.rs b/library/std/src/sync/poison/rwlock/tests.
48 --- a/library/std/src/sync/poison/rwlock/tests.rs
49 +++ b/library/std/src/sync/poison/rwlock/tests.rs
106 diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs
[all …]
/openbmc/qemu/
H A Dreplication.c23 ReplicationState *rs; in replication_new() local
26 rs = g_new0(ReplicationState, 1); in replication_new()
27 rs->opaque = opaque; in replication_new()
28 rs->ops = ops; in replication_new()
29 QLIST_INSERT_HEAD(&replication_states, rs, node); in replication_new()
31 return rs; in replication_new()
34 void replication_remove(ReplicationState *rs) in replication_remove() argument
36 if (rs) { in replication_remove()
37 QLIST_REMOVE(rs, node); in replication_remove()
38 g_free(rs); in replication_remove()
[all …]
/openbmc/qemu/target/rx/
H A Dinsns.decode23 &jreg rs
24 &rr rd rs
26 &rrr rd rs rs2
28 &rm rd rs ld mi
29 &mi rs ld mi imm
30 &mr rs ld mi rs2
43 @b2_rds .... .... .... rd:4 &rr rs=%b2_r_0
49 @b2_rd_ld_ub .... .. ld:2 rs:4 rd:4 &rm mi=4
50 @b2_ld_imm3 .... .. ld:2 rs:4 . imm:3 &mi mi=4
61 @b3_rd_rs .... .... .... .... rs:4 rd:4 &rr
[all …]
H A Ddisas.c173 int ld, int mi, int rs, int rd) in prt_ldmi() argument
180 prt("%s\t%s[r%d]%s, r%d", insn, dsp, rs, sizes[mi], rd); in prt_ldmi()
182 prt("%s\tr%d, r%d", insn, rs, rd); in prt_ldmi()
200 size[a->sz], a->rs, a->dsp << a->sz, a->rd); in trans_MOV_rm()
203 size[a->sz], a->rs, a->rd); in trans_MOV_rm()
213 size[a->sz], a->dsp << a->sz, a->rs, a->rd); in trans_MOV_mr()
216 size[a->sz], a->rs, a->rd); in trans_MOV_mr()
254 prt("mov.%c\tr%d, [r%d, r%d]", size[a->sz], a->rs, a->ri, a->rb); in trans_MOV_ra()
269 prt("mov.%c\tr%d, r%d", szc, a->rs, a->rd); in trans_MOV_mm()
272 prt("mov.%c\tr%d, %s[r%d]", szc, a->rs, dspd, a->rd); in trans_MOV_mm()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmt7621_spi.c48 static void mt7621_spi_reset(struct mt7621_spi *rs, int duplex) in mt7621_spi_reset() argument
50 setbits_le32(rs->base + MT7621_SPI_MASTER, in mt7621_spi_reset()
54 static void mt7621_spi_set_cs(struct mt7621_spi *rs, int cs, int enable) in mt7621_spi_set_cs() argument
61 iowrite32(val, rs->base + MT7621_SPI_POLAR); in mt7621_spi_set_cs()
66 struct mt7621_spi *rs = dev_get_priv(bus); in mt7621_spi_set_mode() local
70 reg = ioread32(rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_mode()
90 iowrite32(reg, rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_mode()
97 struct mt7621_spi *rs = dev_get_priv(bus); in mt7621_spi_set_speed() local
102 rate = DIV_ROUND_UP(rs->sys_freq, speed); in mt7621_spi_set_speed()
111 reg = ioread32(rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_speed()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Docteon.decode16 BBIT 11 set:1 . 10 rs:5 ..... offset:s16 p=%bbit_p
19 # BADDU rd, rs, rt
20 # DMUL rd, rs, rt
21 # EXTS rt, rs, p, lenm1
22 # EXTS32 rt, rs, p, lenm1
23 # CINS rt, rs, p, lenm1
24 # CINS32 rt, rs, p, lenm1
25 # DPOP rd, rs
26 # POP rd, rs
27 # SEQ rd, rs, rt
[all …]
/openbmc/u-boot/post/lib_powerpc/
H A Dcpu_asm.h117 #define ASM_11(opcode, rd, rs) ((opcode) + \ argument
119 ((rs) << 16))
123 #define ASM_11X(opcode, rd, rs) ((opcode) + \ argument
124 ((rs) << 21) + \
126 #define ASM_11I(opcode, rd, rs, simm) ((opcode) + \ argument
128 ((rs) << 16) + \
130 #define ASM_11IF(opcode, rd, rs, simm) ((opcode) + \ argument
132 ((rs) << 16) + \
134 #define ASM_11S(opcode, rd, rs, sh) ((opcode) + \ argument
135 ((rs) << 21) + \
[all …]
/openbmc/qemu/subprojects/packagefiles/bilge-impl-0.2-rs/
H A Dmeson.build1 project('bilge-impl-0.2-rs', 'rust',
7 subproject('itertools-0.11-rs', required: true)
8 subproject('proc-macro-error-attr-1-rs', required: true)
9 subproject('proc-macro-error-1-rs', required: true)
10 subproject('quote-1-rs', required: true)
11 subproject('syn-2-rs', required: true)
12 subproject('proc-macro2-1-rs', required: true)
14 itertools_dep = dependency('itertools-0.11-rs', native: true)
15 proc_macro_error_attr_dep = dependency('proc-macro-error-attr-1-rs', native: true)
16 proc_macro_error_dep = dependency('proc-macro-error-1-rs', native: true)
[all …]
/openbmc/qemu/qga/
H A Dchannel-win32.c41 GAChannelReadState *rs = &c->rstate; in ga_channel_prepare() local
50 if (!rs->ov_pending) { in ga_channel_prepare()
51 if (rs->cur + rs->pending >= rs->buf_size) { in ga_channel_prepare()
52 if (rs->cur) { in ga_channel_prepare()
53 memmove(rs->buf, rs->buf + rs->cur, rs->pending); in ga_channel_prepare()
54 rs->cur = 0; in ga_channel_prepare()
57 count_to_read = rs->buf_size - rs->cur - rs->pending; in ga_channel_prepare()
60 if (rs->ov_pending || count_to_read <= 0) { in ga_channel_prepare()
65 success = ReadFile(c->handle, rs->buf + rs->cur + rs->pending, in ga_channel_prepare()
66 count_to_read, &count_read, &rs->ov); in ga_channel_prepare()
[all …]
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/
H A Dtest_r5900_mult.c9 static int64_t mult(int32_t rs, int32_t rt) in mult() argument
19 : "r" (rs), "r" (rt)); in mult()
22 assert((int64_t)rs * rt == r); in mult()
28 static int64_t mult1(int32_t rs, int32_t rt) in mult1() argument
38 : "r" (rs), "r" (rt)); in mult1()
41 assert((int64_t)rs * rt == r); in mult1()
47 static int64_t mult_variants(int32_t rs, int32_t rt) in mult_variants() argument
49 int64_t rd = mult(rs, rt); in mult_variants()
50 int64_t rd1 = mult1(rs, rt); in mult_variants()
57 static void verify_mult_negations(int32_t rs, int32_t rt, int64_t expected) in verify_mult_negations() argument
[all …]
H A Dtest_r5900_madd.c9 int64_t madd(int64_t a, int32_t rs, int32_t rt) in madd() argument
23 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in madd()
26 assert(a + (int64_t)rs * rt == r); in madd()
32 int64_t madd1(int64_t a, int32_t rs, int32_t rt) in madd1() argument
46 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in madd1()
49 assert(a + (int64_t)rs * rt == r); in madd1()
55 static int64_t madd_variants(int64_t a, int32_t rs, int32_t rt) in madd_variants() argument
57 int64_t rd = madd(a, rs, rt); in madd_variants()
58 int64_t rd1 = madd1(a, rs, rt); in madd_variants()
65 static void verify_madd(int64_t a, int32_t rs, int32_t rt, int64_t expected) in verify_madd() argument
[all …]
H A Dtest_r5900_div1.c11 static struct quotient_remainder div1(int32_t rs, int32_t rt) in div1() argument
20 : "r" (rs), "r" (rt)); in div1()
22 assert(rs / rt == lo); in div1()
23 assert(rs % rt == hi); in div1()
28 static void verify_div1(int32_t rs, int32_t rt, in verify_div1() argument
32 struct quotient_remainder qr = div1(rs, rt); in verify_div1()
38 static void verify_div1_negations(int32_t rs, int32_t rt, in verify_div1_negations() argument
42 verify_div1(rs, rt, expected_quotient, expected_remainder); in verify_div1_negations()
43 verify_div1(rs, -rt, -expected_quotient, expected_remainder); in verify_div1_negations()
44 verify_div1(-rs, rt, -expected_quotient, -expected_remainder); in verify_div1_negations()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch15 src/unix/linux_like/linux/musl/b32/arm/mod.rs | 3 ---
16 src/unix/linux_like/linux/musl/b32/hexagon.rs | 3 ---
17 src/unix/linux_like/linux/musl/b32/mips/mod.rs | 3 ---
18 src/unix/linux_like/linux/musl/b32/powerpc.rs | 3 ---
19 src/unix/linux_like/linux/musl/b32/x86/mod.rs | 3 ---
20 src/unix/linux_like/linux/musl/b64/aarch64/mod.rs | 3 ---
21 src/unix/linux_like/linux/musl/b64/mips64.rs | 3 ---
22 src/unix/linux_like/linux/musl/mod.rs | 4 ++++
25 …--git a/src/unix/linux_like/linux/musl/b32/arm/mod.rs b/src/unix/linux_like/linux/musl/b32/arm/mod…
27 --- a/src/unix/linux_like/linux/musl/b32/arm/mod.rs
[all …]
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/
H A Dtest_dsp_r1_addq_s_ph.c6 int rd, rs, rt; in main() local
10 rs = 0xFFFFFFFF; in main()
16 : "r"(rs), "r"(rt) in main()
20 rs = 0x3712847D; in main()
26 : "r"(rs), "r"(rt) in main()
36 rs = 0x7fff847D; in main()
42 : "r"(rs), "r"(rt) in main()
52 rs = 0x8030847D; in main()
58 : "r"(rs), "r"(rt) in main()
H A Dtest_dsp_r1_dpaq_sa_l_w.c6 int rs, rt, dsp; in main() local
10 rs = 0x80000000; in main()
23 : "r"(rs), "r"(rt) in main()
32 rs = 0x80000000; in main()
46 : "r"(rs), "r"(rt) in main()
55 rs = 0x80000000; in main()
69 : "r"(rs), "r"(rt) in main()
78 rs = 0xC0000000; in main()
93 : "r"(rs), "r"(rt) in main()
102 rs = 0xE0000000; in main()
[all …]
H A Dtest_dsp_r1_subq_s_w.c6 int rd, rs, rt, dsp; in main() local
9 rs = 0x12345678; in main()
19 : "r"(rs), "r"(rt) in main()
25 rs = 0x66666; in main()
35 : "r"(rs), "r"(rt) in main()
41 rs = 0x0; in main()
51 : "r"(rs), "r"(rt) in main()
57 rs = 0x80000000; in main()
67 : "r"(rs), "r"(rt) in main()
H A Dtest_dsp_r1_extrv_s_h.c6 int rt, rs, ach, acl, dsp; in main() local
12 rs = 0x03; in main()
22 : "r"(rs), "r"(ach), "r"(acl) in main()
28 rs = 0x08; in main()
39 : "r"(rs), "r"(ach), "r"(acl) in main()
53 rs = 0x04; in main()
64 : "r"(rs), "r"(ach), "r"(acl) in main()
70 rs = 0x1C; in main()
81 : "r"(rs), "r"(ach), "r"(acl) in main()
H A Dtest_dsp_r1_addq_s_w.c7 int rd, rs, rt; in main() local
11 rs = 0x11111111; in main()
17 : "r"(rs), "r"(rt) in main()
22 rs = 0x81111111; in main()
28 : "r"(rs), "r"(rt) in main()
33 rs = 0x01111111; in main()
39 : "r"(rs), "r"(rt) in main()
H A Dtest_dsp_r1_addq_ph.c6 int rd, rs, rt; in main() local
10 rs = 0xFFFFFFFF; in main()
16 : "r"(rs), "r"(rt) in main()
20 rs = 0x3712847D; in main()
26 : "r"(rs), "r"(rt) in main()
30 rs = 0x7fff847D; in main()
36 : "r"(rs), "r"(rt) in main()
H A Dtest_dsp_r1_precrq_rs_ph_w.c6 int rd, rs, rt; in main() local
10 rs = 0x12345678; in main()
18 : "r"(rs), "r"(rt) in main()
22 rs = 0x7FFFC678; in main()
31 : "r"(rs), "r"(rt) in main()
36 rs = 0xBEEFFEED; in main()
45 : "r"(rs), "r"(rt) in main()
H A Dtest_dsp_r1_pick_ph.c6 int rd, rs, rt, dsp; in main() local
9 rs = 0x12345678; in main()
18 : "r"(rs), "r"(rt), "r"(dsp) in main()
22 rs = 0x12345678; in main()
31 : "r"(rs), "r"(rt), "r"(dsp) in main()
35 rs = 0x12345678; in main()
44 : "r"(rs), "r"(rt), "r"(dsp) in main()
/openbmc/qemu/subprojects/packagefiles/proc-macro-error-1-rs/
H A Dmeson.build1 project('proc-macro-error-1-rs', 'rust',
7 subproject('proc-macro-error-attr-1-rs', required: true)
8 subproject('quote-1-rs', required: true)
9 subproject('syn-2-rs', required: true)
10 subproject('proc-macro2-1-rs', required: true)
12 proc_macro_error_attr_dep = dependency('proc-macro-error-attr-1-rs', native: true)
13 proc_macro2_dep = dependency('proc-macro2-1-rs', native: true)
14 quote_dep = dependency('quote-1-rs', native: true)
15 syn_dep = dependency('syn-2-rs', native: true)
19 files('src/lib.rs'),
[all …]

12345678910>>...13