/linux-master/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) argument 33 int interval = READ_ONCE(rs->interval); 34 int burst = READ_ONCE(rs->burst); 47 if (!raw_spin_trylock_irqsave(&rs->lock, flags)) 50 if (!rs->begin) 51 rs->begin = jiffies; 53 if (time_is_before_jiffies(rs [all...] |
/linux-master/lib/reed_solomon/ |
H A D | reed_solomon.c | 16 * for the given rs parameters. The control struct is unique per instance. 52 /* This list holds all currently allocated rs codec structures */ 74 struct rs_codec *rs; local 76 rs = kzalloc(sizeof(*rs), gfp); 77 if (!rs) 80 INIT_LIST_HEAD(&rs->list); 82 rs->mm = symsize; 83 rs->nn = (1 << symsize) - 1; 84 rs 176 free_rs(struct rs_control *rs) argument 218 struct rs_control *rs; local [all...] |
H A D | encode_rs.c | 13 struct rs_codec *rs = rsc->codec; variable in typeref:struct:rs_codec 15 int nn = rs->nn; 16 int nroots = rs->nroots; 17 uint16_t *alpha_to = rs->alpha_to; 18 uint16_t *index_of = rs->index_of; 19 uint16_t *genpoly = rs->genpoly; 21 uint16_t msk = (uint16_t) rs->nn; 33 par[j] ^= alpha_to[rs_modnn(rs, fb + 40 par[nroots - 1] = alpha_to[rs_modnn(rs,
|
H A D | test_rslib.c | 108 static struct wspace *alloc_ws(struct rs_codec *rs) argument 110 int nroots = rs->nroots; 112 int nn = rs->nn; 151 static int get_rcw_we(struct rs_control *rs, struct wspace *ws, argument 154 int nroots = rs->codec->nroots; 158 int nn = rs->codec->nn; 170 encode_rs16(rs, c, dlen, c + dlen, 0); 232 struct rs_codec *rs = rsc->codec; local 233 uint16_t *alpha_to = rs->alpha_to; 234 uint16_t *index_of = rs 260 test_uc(struct rs_control *rs, int len, int errs, int eras, int trials, struct estat *stat, struct wspace *ws, int method) argument 313 ex_rs_helper(struct rs_control *rs, struct wspace *ws, int len, int trials, int method) argument 349 exercise_rs(struct rs_control *rs, struct wspace *ws, int len, int trials) argument 366 test_bc(struct rs_control *rs, int len, int errs, int eras, int trials, struct bcstat *stat, struct wspace *ws) argument 407 exercise_rs_bc(struct rs_control *rs, struct wspace *ws, int len, int trials) argument [all...] |
H A D | decode_rs.c | 13 struct rs_codec *rs = rsc->codec; variable in typeref:struct:rs_codec 16 int nn = rs->nn; 17 int nroots = rs->nroots; 18 int fcr = rs->fcr; 19 int prim = rs->prim; 20 int iprim = rs->iprim; 21 uint16_t *alpha_to = rs->alpha_to; 22 uint16_t *index_of = rs->index_of; 26 uint16_t msk = (uint16_t) rs->nn; 29 * The decoder buffers are in the rs contro [all...] |
/linux-master/include/linux/ |
H A D | ratelimit.h | 9 static inline void ratelimit_state_init(struct ratelimit_state *rs, argument 12 memset(rs, 0, sizeof(*rs)); 14 raw_spin_lock_init(&rs->lock); 15 rs->interval = interval; 16 rs->burst = burst; 19 static inline void ratelimit_default_init(struct ratelimit_state *rs) argument 21 return ratelimit_state_init(rs, DEFAULT_RATELIMIT_INTERVAL, 25 static inline void ratelimit_state_exit(struct ratelimit_state *rs) argument 27 if (!(rs 38 ratelimit_set_flags(struct ratelimit_state *rs, unsigned long flags) argument [all...] |
H A D | rslib.h | 17 * struct rs_codec - rs codec data 31 * @list: List entry for the rs codec list 50 * struct rs_control - rs control structure per instance 61 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, 65 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len, 72 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, 76 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len, 90 * @fcr: the first consecutive root of the rs code generator polynomial 106 /* Release a rs control structure */ 107 void free_rs(struct rs_control *rs); 121 rs_modnn(struct rs_codec *rs, int x) argument [all...] |
/linux-master/fs/jffs2/ |
H A D | compr_rubin.c | 88 static void init_rubin(struct rubin_state *rs, int div, int *bits) argument 92 rs->q = 0; 93 rs->p = (long) (2 * UPPER_BIT_RUBIN); 94 rs->bit_number = (long) 0; 95 rs->bit_divider = div; 98 rs->bits[c] = bits[c]; 102 static int encode(struct rubin_state *rs, long A, long B, int symbol) argument 108 while ((rs->q >= UPPER_BIT_RUBIN) || 109 ((rs->p + rs 138 end_rubin(struct rubin_state *rs) argument 151 init_decode(struct rubin_state *rs, int div, int *bits) argument 163 __do_decode(struct rubin_state *rs, unsigned long p, unsigned long q) argument 200 decode(struct rubin_state *rs, long A, long B) argument 230 out_byte(struct rubin_state *rs, unsigned char byte) argument 249 in_byte(struct rubin_state *rs) argument 268 struct rubin_state rs; local 374 struct rubin_state rs; local [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_rate.c | 81 struct rate_sample *rs) 91 if (!rs->prior_delivered || 93 scb->end_seq, rs->last_end_seq)) { 94 rs->prior_delivered_ce = scb->tx.delivered_ce; 95 rs->prior_delivered = scb->tx.delivered; 96 rs->prior_mstamp = scb->tx.delivered_mstamp; 97 rs->is_app_limited = scb->tx.is_app_limited; 98 rs->is_retrans = scb->sacked & TCPCB_RETRANS; 99 rs->last_end_seq = scb->end_seq; 104 rs 80 tcp_rate_skb_delivered(struct sock *sk, struct sk_buff *skb, struct rate_sample *rs) argument 117 tcp_rate_gen(struct sock *sk, u32 delivered, u32 lost, bool is_sack_reneg, struct rate_sample *rs) argument [all...] |
/linux-master/drivers/spi/ |
H A D | spi-rockchip.c | 201 static inline void spi_enable_chip(struct rockchip_spi *rs, bool enable) argument 203 writel_relaxed((enable ? 1U : 0U), rs->regs + ROCKCHIP_SPI_SSIENR); 206 static inline void wait_for_tx_idle(struct rockchip_spi *rs, bool target_mode) argument 212 if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_TARGET_TX_BUSY) && 213 !((readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY))) 216 if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY)) 221 dev_warn(rs->dev, "spi controller is in busy state!\n"); 224 static u32 get_fifo_len(struct rockchip_spi *rs) argument 228 ver = readl_relaxed(rs->regs + ROCKCHIP_SPI_VERSION); 242 struct rockchip_spi *rs local 269 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 287 rockchip_spi_pio_writer(struct rockchip_spi *rs) argument 306 rockchip_spi_pio_reader(struct rockchip_spi *rs) argument 343 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 368 rockchip_spi_prepare_irq(struct rockchip_spi *rs, struct spi_controller *ctlr, struct spi_transfer *xfer) argument 396 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 412 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 438 rockchip_spi_prepare_dma(struct rockchip_spi *rs, struct spi_controller *ctlr, struct spi_transfer *xfer) argument 517 rockchip_spi_config(struct rockchip_spi *rs, struct spi_device *spi, struct spi_transfer *xfer, bool use_dma, bool target_mode) argument 610 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 664 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 705 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 717 struct rockchip_spi *rs = spi_controller_get_devdata(spi->controller); local 746 struct rockchip_spi *rs; local 948 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 966 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 992 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local 1004 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); local [all...] |
H A D | spi-mt7621.c | 68 static inline u32 mt7621_spi_read(struct mt7621_spi *rs, u32 reg) argument 70 return ioread32(rs->base + reg); 73 static inline void mt7621_spi_write(struct mt7621_spi *rs, u32 reg, u32 val) argument 75 iowrite32(val, rs->base + reg); 80 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); local 90 host = mt7621_spi_read(rs, MT7621_SPI_MASTER); 93 mt7621_spi_write(rs, MT7621_SPI_MASTER, host); 95 rs->pending_write = 0; 99 mt7621_spi_write(rs, MT7621_SPI_POLAR, polar); 104 struct mt7621_spi *rs local 140 mt7621_spi_wait_till_ready(struct mt7621_spi *rs) argument 157 mt7621_spi_read_half_duplex(struct mt7621_spi *rs, int rx_len, u8 *buf) argument 199 mt7621_spi_flush(struct mt7621_spi *rs) argument 204 mt7621_spi_write_half_duplex(struct mt7621_spi *rs, int tx_len, const u8 *buf) argument 251 struct mt7621_spi *rs = spi_controller_get_devdata(host); local 304 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); local 329 struct mt7621_spi *rs; local [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | dfs.h | 27 * @rs: RX status after processing descriptor 38 struct ath_rx_status *rs, u64 mactime); 42 struct ath_rx_status *rs, u64 mactime) { } 41 ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, struct ath_rx_status *rs, u64 mactime) argument
|
/linux-master/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 261 static void rs_config_backup(struct raid_set *rs, struct rs_layout *l) argument 263 struct mddev *mddev = &rs->md; 270 static void rs_config_restore(struct raid_set *rs, struct rs_layout *l) argument 272 struct mddev *mddev = &rs->md; 400 /* Return true, if raid set in @rs is raid0 */ 401 static bool rs_is_raid0(struct raid_set *rs) argument 403 return !rs 407 rs_is_raid1(struct raid_set *rs) argument 413 rs_is_raid10(struct raid_set *rs) argument 419 rs_is_raid6(struct raid_set *rs) argument 425 rs_is_raid456(struct raid_set *rs) argument 432 rs_is_reshapable(struct raid_set *rs) argument 439 rs_is_recovering(struct raid_set *rs) argument 445 rs_is_reshaping(struct raid_set *rs) argument 492 __valid_flags(struct raid_set *rs) argument 513 rs_check_for_valid_flags(struct raid_set *rs) argument 600 raid10_format_to_md_layout(struct raid_set *rs, unsigned int algorithm, unsigned int copies) argument 684 rs_set_rdev_sectors(struct raid_set *rs) argument 701 rs_set_capacity(struct raid_set *rs) argument 712 rs_set_cur(struct raid_set *rs) argument 725 rs_set_new(struct raid_set *rs) argument 740 struct raid_set *rs; local 789 raid_set_free(struct raid_set *rs) argument 826 parse_dev_params(struct raid_set *rs, struct dm_arg_set *as) argument 944 validate_region_size(struct raid_set *rs, unsigned long region_size) argument 1008 validate_raid_redundancy(struct raid_set *rs) argument 1130 parse_raid_params(struct raid_set *rs, struct dm_arg_set *as, unsigned int num_raid_params) argument 1541 rs_set_raid456_stripe_cache(struct raid_set *rs) argument 1581 mddev_data_stripes(struct raid_set *rs) argument 1587 rs_data_stripes(struct raid_set *rs) argument 1596 __rdev_sectors(struct raid_set *rs) argument 1612 _check_data_dev_sectors(struct raid_set *rs) argument 1630 rs_set_dev_and_array_sectors(struct raid_set *rs, sector_t sectors, bool use_mddev) argument 1681 rs_setup_recovery(struct raid_set *rs, sector_t dev_sectors) argument 1704 struct raid_set *rs = container_of(ws, struct raid_set, md.event_work); local 1721 rs_check_takeover(struct raid_set *rs) argument 1876 rs_takeover_requested(struct raid_set *rs) argument 1882 rs_is_layout_change(struct raid_set *rs, bool use_mddev) argument 1890 rs_reshape_requested(struct raid_set *rs) argument 2019 rs_check_reshape(struct raid_set *rs) argument 2094 struct raid_set *rs = container_of(mddev, struct raid_set, md); local 2215 super_init_validation(struct raid_set *rs, struct md_rdev *rdev) argument 2435 super_validate(struct raid_set *rs, struct md_rdev *rdev) argument 2506 analyse_superblocks(struct dm_target *ti, struct raid_set *rs) argument 2602 rs_adjust_data_offsets(struct raid_set *rs) argument 2695 __reorder_raid_disk_indexes(struct raid_set *rs) argument 2711 rs_setup_takeover(struct raid_set *rs) argument 2756 rs_prepare_reshape(struct raid_set *rs) argument 2815 _get_reshape_sectors(struct raid_set *rs) argument 2838 rs_setup_reshape(struct raid_set *rs) argument 2946 rs_reset_inconclusive_reshape(struct raid_set *rs) argument 2959 configure_discard_support(struct raid_set *rs) argument 3007 struct raid_set *rs = NULL; local 3317 struct raid_set *rs = ti->private; local 3330 struct raid_set *rs = ti->private; local 3409 __raid_dev_status(struct raid_set *rs, struct md_rdev *rdev) argument 3426 rs_get_progress(struct raid_set *rs, unsigned long recovery, enum sync_state state, sector_t resync_max_sectors) argument 3516 struct raid_set *rs = ti->private; local 3722 struct raid_set *rs = ti->private; local 3785 struct raid_set *rs = ti->private; local 3802 struct raid_set *rs = ti->private; local 3811 struct raid_set *rs = ti->private; local 3834 struct raid_set *rs = ti->private; local 3841 struct raid_set *rs = ti->private; local 3853 attempt_restore_of_faulty_devices(struct raid_set *rs) argument 3936 __load_dirty_region_bitmap(struct raid_set *rs) argument 3952 rs_update_sbs(struct raid_set *rs) argument 3970 rs_start_reshape(struct raid_set *rs) argument 4019 struct raid_set *rs = ti->private; local 4085 struct raid_set *rs = ti->private; local [all...] |
/linux-master/net/rds/ |
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; local 80 rs = rhashtable_lookup(&bind_hash_table, key, ht_parms); 81 if (rs && (sock_flag(rds_rs_to_sk(rs), SOCK_DEAD) || 82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) 83 rs = NULL; 87 rdsdebug("returning rs %p for %pI6c:%u\n", rs, addr, 90 return rs; 94 rds_add_bound(struct rds_sock *rs, const struct in6_addr *addr, __be16 *port, __u32 scope_id) argument 148 rds_remove_bound(struct rds_sock *rs) argument 166 struct rds_sock *rs = rds_sk_to_rs(sk); local [all...] |
H A D | af_rds.c | 62 struct rds_sock *rs; local 67 rs = rds_sk_to_rs(sk); 73 rds_clear_recv_queue(rs); 74 rds_cong_remove_socket(rs); 76 rds_remove_bound(rs); 78 rds_send_drop_to(rs, NULL); 79 rds_rdma_drop_keys(rs); 80 rds_notify_queue_get(rs, NULL); 81 rds_notify_msg_zcopy_purge(&rs->rs_zcookie_queue); 84 list_del_init(&rs 105 rds_wake_sk_sleep(struct rds_sock *rs) argument 117 struct rds_sock *rs = rds_sk_to_rs(sock->sk); local 216 struct rds_sock *rs = rds_sk_to_rs(sk); local 257 struct rds_sock *rs = rds_sk_to_rs(sock->sk); local 293 rds_cancel_sent_to(struct rds_sock *rs, sockptr_t optval, int len) argument 343 rds_cong_monitor(struct rds_sock *rs, sockptr_t optval, int optlen) argument 360 rds_set_transport(struct rds_sock *rs, sockptr_t optval, int optlen) argument 405 rds_recv_track_latency(struct rds_sock *rs, sockptr_t optval, int optlen) argument 435 struct rds_sock *rs = rds_sk_to_rs(sock->sk); local 486 struct rds_sock *rs = rds_sk_to_rs(sock->sk); local 541 struct rds_sock *rs = rds_sk_to_rs(sk); local 660 struct rds_sock *rs = rds_sk_to_rs(sk); local 668 struct rds_sock *rs; local 712 rds_sock_addref(struct rds_sock *rs) argument 717 rds_sock_put(struct rds_sock *rs) argument 732 struct rds_sock *rs; local 773 struct rds_sock *rs; local 805 struct rds_sock *rs; local 845 struct rds_sock *rs; local [all...] |
H A D | recv.c | 88 static void rds_recv_rcvbuf_delta(struct rds_sock *rs, struct sock *sk, argument 97 rs->rs_rcv_bytes += delta; 104 if (rs->rs_transport->t_type == RDS_TRANS_LOOP) 107 now_congested = rs->rs_rcv_bytes > rds_sk_rcvbuf(rs); 109 rdsdebug("rs %p (%pI6c:%u) recv bytes %d buf %d " 111 rs, &rs->rs_bound_addr, 112 ntohs(rs->rs_bound_port), rs 166 rds_recv_incoming_exthdrs(struct rds_incoming *inc, struct rds_sock *rs) argument 287 struct rds_sock *rs = NULL; local 404 rds_next_incoming(struct rds_sock *rs, struct rds_incoming **inc) argument 422 rds_still_queued(struct rds_sock *rs, struct rds_incoming *inc, int drop) argument 455 rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr) argument 523 rds_notify_cong(struct rds_sock *rs, struct msghdr *msghdr) argument 544 rds_cmsg_recv(struct rds_incoming *inc, struct msghdr *msg, struct rds_sock *rs) argument 603 rds_recvmsg_zcookie(struct rds_sock *rs, struct msghdr *msg) argument 642 struct rds_sock *rs = rds_sk_to_rs(sk); local 760 rds_clear_recv_queue(struct rds_sock *rs) argument [all...] |
H A D | send.c | 472 static void rds_send_sndbuf_remove(struct rds_sock *rs, struct rds_message *rm) argument 476 assert_spin_locked(&rs->rs_lock); 478 BUG_ON(rs->rs_snd_bytes < len); 479 rs->rs_snd_bytes -= len; 481 if (rs->rs_snd_bytes == 0) 501 struct rds_sock *rs = NULL; local 512 rs = rm->m_rs; 513 sock_hold(rds_rs_to_sk(rs)); 516 spin_lock(&rs->rs_lock); 517 list_add_tail(¬ifier->n_list, &rs 537 struct rds_sock *rs = NULL; local 574 __rds_send_complete(struct rds_sock *rs, struct rds_message *rm, int status) argument 607 struct rds_sock *rs = NULL; local 721 rds_send_drop_to(struct rds_sock *rs, struct sockaddr_in6 *dest) argument 817 rds_send_queue_rm(struct rds_sock *rs, struct rds_connection *conn, struct rds_conn_path *cp, struct rds_message *rm, __be16 sport, __be16 dport, int *queued) argument 970 rds_cmsg_zcopy(struct rds_sock *rs, struct rds_message *rm, struct cmsghdr *cmsg) argument 983 rds_cmsg_send(struct rds_sock *rs, struct rds_message *rm, struct msghdr *msg, int *allocated_mr, struct rds_iov_vector_arr *vct) argument 1044 rds_send_mprds_hash(struct rds_sock *rs, struct rds_connection *conn, int nonblock) argument 1103 struct rds_sock *rs = rds_sk_to_rs(sk); local [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | reap.c | 147 static inline bool xreap_dirty(const struct xreap_state *rs) argument 149 if (rs->force_roll) 151 if (rs->deferred) 153 if (rs->invalidated) 155 if (rs->total_deferred) 168 static inline bool xreap_want_roll(const struct xreap_state *rs) argument 170 if (rs->force_roll) 172 if (rs->deferred > XREP_MAX_ITRUNCATE_EFIS) 174 if (rs->invalidated > XREAP_MAX_BINVAL) 179 static inline void xreap_reset(struct xreap_state *rs) argument 197 xreap_want_defer_finish(const struct xreap_state *rs) argument 206 xreap_defer_finish_reset(struct xreap_state *rs) argument 216 xreap_agextent_binval( struct xreap_state *rs, xfs_agblock_t agbno, xfs_extlen_t *aglenp) argument 295 xreap_agextent_select( struct xreap_state *rs, xfs_agblock_t agbno, xfs_agblock_t agbno_next, bool *crosslinked, xfs_extlen_t *aglenp) argument 355 xreap_agextent_iter( struct xreap_state *rs, xfs_agblock_t agbno, xfs_extlen_t *aglenp, bool crosslinked) argument 471 struct xreap_state *rs = priv; local 518 struct xreap_state rs = { local 549 struct xreap_state *rs = priv; local 630 struct xreap_state rs = { local [all...] |
/linux-master/fs/isofs/ |
H A D | rock.c | 54 struct inode *inode, struct rock_state *rs) 56 rs->len = sizeof(struct iso_directory_record) + de->name_len[0]; 57 if (rs->len & 1) 58 (rs->len)++; 59 rs->chr = (unsigned char *)de + rs->len; 60 rs->len = *((unsigned char *)de) - rs->len; 61 if (rs->len < 0) 62 rs 53 setup_rock_ridge(struct iso_directory_record *de, struct inode *inode, struct rock_state *rs) argument 72 init_rock_state(struct rock_state *rs, struct inode *inode) argument 85 rock_continue(struct rock_state *rs) argument 139 rock_check_overflow(struct rock_state *rs, int sig) argument 201 struct rock_state rs; local 318 struct rock_state rs; local 704 struct rock_state rs; local [all...] |
/linux-master/fs/reiserfs/ |
H A D | objectid.c | 11 #define objectid_map(s,rs) (old_format_only (s) ? \ 12 (__le32 *)((struct reiserfs_super_block_v1 *)(rs) + 1) :\ 13 (__le32 *)((rs) + 1)) 52 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); local 53 __le32 *map = objectid_map(s, rs); 86 if (sb_oid_cursize(rs) > 2 && map[1] == map[2]) { 88 (sb_oid_cursize(rs) - 3) * sizeof(__u32)); 89 set_sb_oid_cursize(rs, sb_oid_cursize(rs) - 2); 101 struct reiserfs_super_block *rs local [all...] |
/linux-master/arch/arm/mach-omap1/ |
H A D | reset.c | 49 u16 rs; local 51 rs = __raw_readw(OMAP1_IO_ADDRESS(ARM_SYSST)); 53 if (rs & (1 << ARM_SYSST_POR_SHIFT)) 55 if (rs & (1 << ARM_SYSST_EXT_RST_SHIFT)) 57 if (rs & (1 << ARM_SYSST_ARM_WDRST_SHIFT)) 59 if (rs & (1 << ARM_SYSST_GLOB_SWRST_SHIFT))
|
/linux-master/arch/mips/math-emu/ |
H A D | ieee754sp.h | 37 #define XSPSRS64(v, rs) \ 38 (((rs) >= 64) ? ((v) != 0) : ((v) >> (rs)) | ((v) << (64-(rs)) != 0)) 41 #define XSPSRS(v, rs) \ 42 ((rs > (SP_FBITS+3))?1:((v) >> (rs)) | ((v) << (32-(rs)) != 0))
|
/linux-master/arch/mips/include/asm/ |
H A D | uasm.h | 199 void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr); 200 void UASM_i_LA(u32 **buf, unsigned int rs, long addr); 210 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) 211 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) 212 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) 213 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, r [all...] |
/linux-master/drivers/platform/chrome/wilco_ec/ |
H A D | properties.c | 36 struct ec_property_response *rs) 45 ec_msg.response_data = rs; 46 ec_msg.response_size = sizeof(*rs); 51 if (rs->op != rq->op) 53 if (memcmp(rq->property_id, rs->property_id, sizeof(rs->property_id))) 63 struct ec_property_response rs; local 70 ret = send_property_msg(ec, &rq, &rs); 74 prop_msg->length = rs.length; 75 memcpy(prop_msg->data, rs 34 send_property_msg(struct wilco_ec_device *ec, struct ec_property_request *rq, struct ec_property_response *rs) argument 85 struct ec_property_response rs; local [all...] |
H A D | mailbox.c | 119 struct wilco_ec_response *rs; local 151 rs = ec->data_buffer; 153 sizeof(*rs) + EC_MAILBOX_DATA_SIZE, 154 (u8 *)rs); 156 dev_dbg(ec->dev, "bad packet checksum 0x%02x\n", rs->checksum); 160 if (rs->result) { 161 dev_dbg(ec->dev, "EC reported failure: 0x%02x\n", rs->result); 165 if (rs->data_size != EC_MAILBOX_DATA_SIZE) { 167 rs->data_size, EC_MAILBOX_DATA_SIZE); 171 if (rs [all...] |