/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
H A D | rv32-rustix-libc-backend.patch | 5 --- a/vendor/rustix-0.38.32/src/backend/libc/c.rs 6 +++ b/vendor/rustix-0.38.32/src/backend/libc/c.rs 19 …rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe… 21 …rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe… 23 --- a/vendor/rustix-0.38.32/src/fs/ioctl.rs 24 +++ b/vendor/rustix-0.38.32/src/fs/ioctl.rs
|
H A D | rv32-cargo-rustix-0.38.28-fix.patch | 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 37 …rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe… 39 …rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe… 40 --- a/vendor/rustix-0.38.28/src/fs/ioctl.rs 41 +++ b/vendor/rustix-0.38.28/src/fs/ioctl.rs 60 --- a/vendor/rustix-0.38.28/src/backend/libc/c.rs 61 +++ b/vendor/rustix-0.38.28/src/backend/libc/c.rs
|
H A D | repro-issue-fix-with-cc-crate-hashmap.patch | 7 https://github.com/rust-lang/cc-rs/pull/1277 9 Upstream-Status: Submitted [https://github.com/rust-lang/cc-rs/pull/1277] 11 --- a/vendor/cc-1.0.97/src/command_helpers.rs 12 +++ b/vendor/cc-1.0.97/src/command_helpers.rs 55 …rs":"15afbc35930a5a53f00d74a8910cff35caeb5511c26642cffe5630377aced901","src/detect_compiler_family… 57 …rs":"c2a9981b1c9f5430ac2a41f2953064f2383e4064feb281dc76915e4972d52226","src/detect_compiler_family…
|
H A D | rust-oe-selftest.patch | 8 …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 diff --git a/library/test/src/stats/tests.rs b/library/test/src/stats/tests.rs 47 --- a/library/test/src/stats/tests.rs 48 +++ b/library/test/src/stats/tests.rs 57 diff --git a/library/std/src/io/buffered/tests.rs b/library/std/src/io/buffered/tests.rs [all …]
|
/openbmc/qemu/util/ |
H A D | readline.c | 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() 51 for (i = 0; i < rs->last_cmd_buf_index; i++) { in readline_update() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-rockchip.c | 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() 216 !((readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY))) in wait_for_tx_idle() 219 if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY)) in wait_for_tx_idle() 224 dev_warn(rs->dev, "spi controller is in busy state!\n"); in wait_for_tx_idle() 227 static u32 get_fifo_len(struct rockchip_spi *rs) in get_fifo_len() argument 231 ver = readl_relaxed(rs->regs + ROCKCHIP_SPI_VERSION); in get_fifo_len() 245 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_set_cs() local [all …]
|
H A D | spi-mt7621.c | 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() 73 static inline void mt7621_spi_write(struct mt7621_spi *rs, u32 reg, u32 val) in mt7621_spi_write() argument 75 iowrite32(val, rs->base + reg); in mt7621_spi_write() 80 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); in mt7621_spi_set_cs() local 90 master = mt7621_spi_read(rs, MT7621_SPI_MASTER); in mt7621_spi_set_cs() 93 mt7621_spi_write(rs, MT7621_SPI_MASTER, master); in mt7621_spi_set_cs() 95 rs->pending_write = 0; in mt7621_spi_set_cs() 99 mt7621_spi_write(rs, MT7621_SPI_POLAR, polar); in mt7621_spi_set_cs() 104 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); in mt7621_spi_prepare() local [all …]
|
/openbmc/qemu/target/rx/ |
H A D | insns.decode | 23 &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 D | disas.c | 173 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() 195 /* mov.[bwl] rs,dsp:[rd] */ 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() 208 /* mov.[bwl] dsp:[rs],rd */ 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() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-raid.c | 60 * Bits for establishing rs->ctr_flags 89 * Flags for rs->ctr_flags field. 200 * Flags for rs->runtime_flags field 260 static void rs_config_backup(struct raid_set *rs, struct rs_layout *l) in rs_config_backup() argument 262 struct mddev *mddev = &rs->md; in rs_config_backup() 269 static void rs_config_restore(struct raid_set *rs, struct rs_layout *l) in rs_config_restore() argument 271 struct mddev *mddev = &rs->md; in rs_config_restore() 399 /* Return true, if raid set in @rs is raid0 */ 400 static bool rs_is_raid0(struct raid_set *rs) in rs_is_raid0() argument 402 return !rs->md.level; in rs_is_raid0() [all …]
|
/openbmc/linux/net/rds/ |
H A D | af_rds.c | 62 struct rds_sock *rs; in rds_release() local 67 rs = rds_sk_to_rs(sk); 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() 79 rds_rdma_drop_keys(rs); in rds_release() 80 rds_notify_queue_get(rs, NULL); in rds_release() 81 rds_notify_msg_zcopy_purge(&rs->rs_zcookie_queue); in rds_release() 84 list_del_init(&rs->rs_item); in rds_release() [all …]
|
H A D | bind.c | 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() 94 static int rds_add_bound(struct rds_sock *rs, const struct in6_addr *addr, in rds_add_bound() argument 122 memcpy(rs->rs_bound_key, key, sizeof(rs->rs_bound_key)); in rds_add_bound() [all …]
|
/openbmc/linux/lib/reed_solomon/ |
H A D | reed_solomon.c | 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 */ 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() 77 if (!rs) in codec_init() 80 INIT_LIST_HEAD(&rs->list); in codec_init() 82 rs->mm = symsize; in codec_init() [all …]
|
/openbmc/qemu/ |
H A D | replication.c | 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() 38 g_free(rs); in replication_remove() [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | compr_rubin.c | 88 static void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin() argument 92 rs->q = 0; in init_rubin() 93 rs->p = (long) (2 * UPPER_BIT_RUBIN); in init_rubin() 94 rs->bit_number = (long) 0; in init_rubin() 95 rs->bit_divider = div; in init_rubin() 98 rs->bits[c] = bits[c]; in init_rubin() 102 static int encode(struct rubin_state *rs, long A, long B, int symbol) in encode() argument 108 while ((rs->q >= UPPER_BIT_RUBIN) || in encode() 109 ((rs->p + rs->q) <= UPPER_BIT_RUBIN)) { in encode() 110 rs->bit_number++; in encode() [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | mt7621_spi.c | 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 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/linux/arch/mips/mm/ |
H A D | uasm-mips.c | 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}, 57 [insn_beq] = {M(beq_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 58 [insn_beql] = {M(beql_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 59 [insn_bgez] = {M(bcond_op, 0, bgez_op, 0, 0, 0), RS | BIMM}, 60 [insn_bgezl] = {M(bcond_op, 0, bgezl_op, 0, 0, 0), RS | BIMM}, [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | uasm.h | 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 221 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | tx79_translate.c | 44 * MADD [rd,] rs, rt Multiply/Add 45 * MADDU [rd,] rs, rt Multiply/Add Unsigned 46 * MULT [rd,] rs, rt Multiply (3-operand) 47 * MULTU [rd,] rs, rt Multiply Unsigned (3-operand) 53 * MULT1 [rd,] rs, rt Multiply Pipeline 1 54 * MULTU1 [rd,] rs, rt Multiply Unsigned Pipeline 1 55 * DIV1 rs, rt Divide Pipeline 1 56 * DIVU1 rs, rt Divide Unsigned Pipeline 1 57 * MADD1 [rd,] rs, rt Multiply-Add Pipeline 1 58 * MADDU1 [rd,] rs, rt Multiply-Add Unsigned Pipeline 1 [all …]
|
/openbmc/linux/fs/isofs/ |
H A D | rock.c | 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() 59 rs->chr = (unsigned char *)de + rs->len; in setup_rock_ridge() 60 rs->len = *((unsigned char *)de) - rs->len; in setup_rock_ridge() 61 if (rs->len < 0) in setup_rock_ridge() 62 rs->len = 0; in setup_rock_ridge() 65 rs->len -= ISOFS_SB(inode->i_sb)->s_rock_offset; in setup_rock_ridge() 66 rs->chr += ISOFS_SB(inode->i_sb)->s_rock_offset; in setup_rock_ridge() [all …]
|
/openbmc/linux/include/linux/ |
H A D | rslib.h | 7 * RS code lifted from reed solomon library written by Phil Karn 18 * struct rs_codec - rs codec data 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, 66 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len, 71 /* General purpose RS codec, 16-bit data width, symbol width 1-15 bit */ 73 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, 77 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len, [all …]
|
/openbmc/linux/lib/ |
H A D | ratelimit.c | 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() 47 if (!raw_spin_trylock_irqsave(&rs->lock, flags)) in ___ratelimit() 50 if (!rs->begin) in ___ratelimit() 51 rs->begin = jiffies; in ___ratelimit() 53 if (time_is_before_jiffies(rs->begin + interval)) { in ___ratelimit() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/ |
H A D | 0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch | 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 --- 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/linux/fs/xfs/scrub/ |
H A D | reap.c | 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() 151 if (rs->total_deferred) in xreap_dirty() 164 static inline bool xreap_want_roll(const struct xreap_state *rs) in xreap_want_roll() argument 166 if (rs->force_roll) in xreap_want_roll() 168 if (rs->deferred > XREP_MAX_ITRUNCATE_EFIS) in xreap_want_roll() 170 if (rs->invalidated > XREAP_MAX_BINVAL) in xreap_want_roll() 175 static inline void xreap_reset(struct xreap_state *rs) in xreap_reset() argument [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_rate.c | 81 struct rate_sample *rs) in tcp_rate_skb_delivered() argument 91 if (!rs->prior_delivered || in tcp_rate_skb_delivered() 93 scb->end_seq, rs->last_end_seq)) { in tcp_rate_skb_delivered() 94 rs->prior_delivered_ce = scb->tx.delivered_ce; in tcp_rate_skb_delivered() 95 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered() 96 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered() 97 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered() 98 rs->is_retrans = scb->sacked & TCPCB_RETRANS; in tcp_rate_skb_delivered() 99 rs->last_end_seq = scb->end_seq; in tcp_rate_skb_delivered() 104 rs->interval_us = tcp_stamp_us_delta(tp->first_tx_mstamp, in tcp_rate_skb_delivered() [all …]
|