Home
last modified time | relevance | path

Searched +full:rs +full:- (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/openbmc/qemu/util/
H A Dreadline.c4 * Copyright (c) 2003-2004 Fabrice Bellard
35 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()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drv32-cargo-rustix-0.38.28-fix.patch4 therefore this patch is limited to rustix-0.38.19
5 once cargo/rust moves beyond rustix-0.38.19 as dependency
8 Upstream-Status: Inappropriate [Specific to rustix-0.38.19]
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 --- a/vendor/rustix-0.38.28/src/backend/libc/termios/syscalls.rs
13 +++ b/vendor/rustix-0.38.28/src/backend/libc/termios/syscalls.rs
14 @@ -138,7 +138,7 @@ pub(crate) fn tcsetattr(
18 - #[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
22 // linux-raw-sys' ioctl-generation script for sparc isn't working yet,
23 @@ -147,6 +147,10 @@ pub(crate) fn tcsetattr(
[all …]
H A Drv32-rustix-libc-backend.patch3 Upstream-Status: Pending
4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 --- a/vendor/rustix-0.38.32/src/backend/libc/c.rs
6 +++ b/vendor/rustix-0.38.32/src/backend/libc/c.rs
7 @@ -6,6 +6,8 @@
16 --- a/vendor/rustix-0.38.32/.cargo-checksum.json
17 +++ b/vendor/rustix-0.38.32/.cargo-checksum.json
18 @@ -1 +1 @@
19 -{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44",…
21-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WI…
[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]
10 Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
11 --- a/vendor/cc-1.0.97/src/command_helpers.rs
12 +++ b/vendor/cc-1.0.97/src/command_helpers.rs
13 @@ -257,6 +257,7 @@
15 pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
21 @@ -277,10 +278,29 @@
26 + fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
47 - hasher.write(dirname.to_string().as_bytes());
[all …]
H A Drust-oe-selftest.patch2 ignore them during rust oe-selftest.
4 Upstream-Status: Inappropriate [OE testing specific]
6 Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
7 ---
8 diff --git a/compiler/rustc_errors/src/markdown/tests/term.rs b/compiler/rustc_errors/src/markdown/…
9 --- a/compiler/rustc_errors/src/markdown/tests/term.rs
10 +++ b/compiler/rustc_errors/src/markdown/tests/term.rs
11 @@ -61,6 +61,7 @@ fn test_wrapping_write() {
17 // Capture `--bless` when run via ./x
19 diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-rockchip.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Addy Ke <addy.ke@rock-chips.com>
18 #define DRIVER_NAME "rockchip-spi"
158 * SPI_CTRLR1 is 16-bits, so we should support lengths of 0xffff + 1. However,
163 /* 2 for native cs, 2 for cs-gpio */
199 bool cs_high_supported; /* native CS supports active-high polarity */
204 static inline void spi_enable_chip(struct rockchip_spi *rs, bool enable) in spi_enable_chip() argument
206 writel_relaxed((enable ? 1U : 0U), rs->regs + ROCKCHIP_SPI_SSIENR); in spi_enable_chip()
209 static inline void wait_for_tx_idle(struct rockchip_spi *rs, bool target_mode) in wait_for_tx_idle() argument
215 if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_TARGET_TX_BUSY) && in wait_for_tx_idle()
[all …]
H A Dspi-mt7621.c1 // SPDX-License-Identifier: GPL-2.0
3 // spi-mt7621.c -- MediaTek MT7621 SPI controller driver
6 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org>
7 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name>
9 // Some parts are based on spi-orion.c:
11 // Copyright (C) 2007-2008 Marvell Ltd.
23 #define DRIVER_NAME "spi-mt7621"
65 return spi_controller_get_devdata(spi->master); in spidev_to_mt7621_spi()
68 static inline u32 mt7621_spi_read(struct mt7621_spi *rs, u32 reg) in mt7621_spi_read() argument
70 return ioread32(rs->base + reg); in mt7621_spi_read()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-raid.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2010-2011 Neil Brown
4 * Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved.
16 #include "md-bitmap.h"
18 #include <linux/device-mapper.h>
21 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */
36 * The following flags are used by dm-raid to set up the array state.
45 * ti->len and give more flexibility in altering size and
51 * |--------- Physical Device ---------|
52 * |- meta_dev -|------ data_dev ------|
[all …]
/openbmc/linux/net/rds/
H A Daf_rds.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
61 struct sock *sk = sock->sk; in rds_release()
62 struct rds_sock *rs; in rds_release() local
67 rs = rds_sk_to_rs(sk); in rds_release()
70 /* Note - rds_clear_recv_queue grabs rs_recv_lock, so in rds_release()
73 rds_clear_recv_queue(rs); in rds_release()
74 rds_cong_remove_socket(rs); in rds_release()
76 rds_remove_bound(rs); in rds_release()
78 rds_send_drop_to(rs, NULL); in rds_release()
[all …]
H A Dbind.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
70 * marked this socket and don't return a rs ref to the rx path.
76 struct rds_sock *rs; in rds_find_bound() local
80 rs = rhashtable_lookup(&bind_hash_table, key, ht_parms); in rds_find_bound()
81 if (rs && (sock_flag(rds_rs_to_sk(rs), SOCK_DEAD) || in rds_find_bound()
82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) in rds_find_bound()
83 rs = NULL; in rds_find_bound()
87 rdsdebug("returning rs %p for %pI6c:%u\n", rs, addr, in rds_find_bound()
90 return rs; in rds_find_bound()
[all …]
/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c1 // SPDX-License-Identifier: GPL-2.0
13 * encoding / decoding of RS codes.
16 * for the given rs parameters. The control struct is unique per instance.
52 /* This list holds all currently allocated rs codec structures */
58 * codec_init - Initialize a Reed-Solomon codec
59 * @symsize: symbol size, bits (1-8)
62 * @fcr: first root of RS code generator polynomial, index form
64 * @nroots: RS code generator polynomial degree (number of roots)
74 struct rs_codec *rs; in codec_init() local
76 rs = kzalloc(sizeof(*rs), gfp); in codec_init()
[all …]
/openbmc/linux/fs/jffs2/
H A Dcompr_rubin.c2 * JFFS2 -- Journalling Flash File System, Version 2.
4 * Copyright © 2001-2007 Red Hat, Inc.
5 * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
23 #define UPPER_BIT_RUBIN (((long) 1)<<(RUBIN_REG_SIZE-1))
24 #define LOWER_BITS_RUBIN ((((long) 1)<<(RUBIN_REG_SIZE-1))-1)
51 pp->buf = buf; in init_pushpull()
52 pp->buflen = buflen; in init_pushpull()
53 pp->ofs = ofs; in init_pushpull()
54 pp->reserve = reserve; in init_pushpull()
59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit()
[all …]
/openbmc/qemu/
H A Dreplication.c12 * See the COPYING file in the top-level directory.
23 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()
[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.c20 #include "disas/dis-asm.h"
36 uint32_t addr = ctx->addr; in decode_load_bytes()
38 g_assert(ctx->len == i); in decode_load_bytes()
39 g_assert(n <= ARRAY_SIZE(ctx->bytes)); in decode_load_bytes()
42 ctx->dis->read_memory_func(addr++, &ctx->bytes[i - 1], 1, ctx->dis); in decode_load_bytes()
43 insn |= ctx->bytes[i - 1] << (32 - i * 8); in decode_load_bytes()
45 ctx->addr = addr; in decode_load_bytes()
46 ctx->len = n; in decode_load_bytes()
53 uint32_t addr = ctx->addr; in li()
54 uintptr_t len = ctx->len; in li()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmt7621_spi.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Derived from the Linux driver version drivers/spi/spi-mt7621.c
7 * Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org>
8 * Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name>
48 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
58 debug("%s: cs#%d -> %s\n", __func__, cs, enable ? "enable" : "disable"); in mt7621_spi_set_cs()
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
[all …]
/openbmc/linux/arch/mips/mm/
H A Duasm-mips.c6 * A small micro-assembler. It is intentionally kept simple, does only
12 * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org)
31 /* This macro sets the non-variable bits of an instruction. */
40 /* This macro sets the non-variable bits of an R6 instruction. */
51 [insn_addiu] = {M(addiu_op, 0, 0, 0, 0, 0), RS | RT | SIMM},
52 [insn_addu] = {M(spec_op, 0, 0, 0, 0, addu_op), RS | RT | RD},
53 [insn_and] = {M(spec_op, 0, 0, 0, 0, and_op), RS | RT | RD},
54 [insn_andi] = {M(andi_op, 0, 0, 0, 0, 0), RS | RT | UIMM},
55 [insn_bbit0] = {M(lwc2_op, 0, 0, 0, 0, 0), RS | RT | BIMM},
56 [insn_bbit1] = {M(swc2_op, 0, 0, 0, 0, 0), RS | RT | BIMM},
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dtx79_translate.c2 * Toshiba TX79-specific instructions translation routines
5 * Copyright (c) 2021 Philippe Mathieu-Daudé
7 * SPDX-License-Identifier: GPL-2.0-or-later
12 #include "tcg/tcg-op-gvec.h"
14 /* Include the auto-generated decoder. */
15 #include "decode-tx79.c.inc"
18 * Overview of the TX79-specific instruction set
21 * The R5900 and the C790 have 128-bit wide GPRs, where the upper 64 bits
22 * are only used by the specific quadword (128-bit) LQ/SQ load/store
24 * configure the 128-bit data path as two 64-bit, four 32-bit, eight 16-bit
[all …]
/openbmc/linux/fs/isofs/
H A Drock.c1 // SPDX-License-Identifier: GPL-2.0
45 if (rr->u.SP.magic[0] != 0xbe) in check_sp()
46 return -1; in check_sp()
47 if (rr->u.SP.magic[1] != 0xef) in check_sp()
48 return -1; in check_sp()
49 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp()
54 struct inode *inode, struct rock_state *rs) in setup_rock_ridge() argument
56 rs->len = sizeof(struct iso_directory_record) + de->name_len[0]; in setup_rock_ridge()
57 if (rs->len & 1) in setup_rock_ridge()
58 (rs->len)++; in setup_rock_ridge()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Duasm.h8 * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org)
201 void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr);
202 void UASM_i_LA(u32 **buf, unsigned int rs, long addr);
212 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
213 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
214 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
215 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
216 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
219 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
220 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
[all …]
/openbmc/linux/include/linux/
H A Drslib.h1 // SPDX-License-Identifier: GPL-2.0
7 * RS code lifted from reed solomon library written by Phil Karn
18 * struct rs_codec - rs codec data
21 * @nn: Symbols per block (= (1<<mm)-1)
28 * @iprim: prim-th root of 1, index form
30 * @gffunc: Function to generate the field, if non-canonical representation
32 * @list: List entry for the rs codec list
51 * struct rs_control - rs control structure per instance
60 /* General purpose RS codec, 8-bit data width, symbol width 1-15 bit */
62 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par,
[all …]
/openbmc/linux/lib/
H A Dratelimit.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ratelimit.c - Do something with rate limit.
7 * 2008-05-01 rewrite the function and use a ratelimit_state data struct as
16 * __ratelimit - rate limiting
17 * @rs: ratelimit_state data
20 * This enforces a rate limit: not more than @rs->burst callbacks
21 * in every @rs->interval
27 int ___ratelimit(struct ratelimit_state *rs, const char *func) in ___ratelimit() argument
33 int interval = READ_ONCE(rs->interval); in ___ratelimit()
34 int burst = READ_ONCE(rs->burst); in ___ratelimit()
[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.patch3 Date: Sat, 8 Apr 2023 09:01:54 -0700
10 [1] https://git.musl-libc.org/cgit/musl/tree/include/fcntl.h#n48
12 Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/3191]
13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 ---
15 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 ---
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Dreap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2022-2023 Oracle. All Rights Reserved.
122 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1, in xreap_put_freelist()
128 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp); in xreap_put_freelist()
132 error = xfs_alloc_put_freelist(sc->sa.pag, sc->tp, sc->sa.agf_bp, in xreap_put_freelist()
136 xfs_extent_busy_insert(sc->tp, sc->sa.pag, agbno, 1, in xreap_put_freelist()
143 static inline bool xreap_dirty(const struct xreap_state *rs) in xreap_dirty() argument
145 if (rs->force_roll) in xreap_dirty()
147 if (rs->deferred) in xreap_dirty()
149 if (rs->invalidated) in xreap_dirty()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_rate.c1 // SPDX-License-Identifier: GPL-2.0-only
21 * send_rate = #pkts_delivered/(last_snd_time - first_snd_time)
22 * ack_rate = #pkts_delivered/(last_ack_time - first_ack_time)
28 * deliberately avoids using the inter-packet spacing approach because that
31 * TCP flows can often be application-limited in request/response workloads.
32 * The estimator marks a bandwidth sample as application-limited if there
46 * the full time the network needs to deliver all in-flight in tcp_rate_skb_sent()
53 * because the latter is a guess based on RTO and loss-marking in tcp_rate_skb_sent()
58 if (!tp->packets_out) { in tcp_rate_skb_sent()
61 tp->first_tx_mstamp = tstamp_us; in tcp_rate_skb_sent()
[all …]

12345678910>>...38