Searched refs:rs (Results 1 - 25 of 75) sorted by relevance

123

/haiku-fatelf/src/add-ons/kernel/debugger/qrencode/
H A Drscode.c67 static inline int modnn(RS *rs, int x){ argument
68 while (x >= rs->nn) {
69 x -= rs->nn;
70 x = (x >> rs->mm) + (x & rs->nn);
76 #define MODNN(x) modnn(rs,x)
78 #define MM (rs->mm)
79 #define NN (rs->nn)
80 #define ALPHA_TO (rs->alpha_to)
81 #define INDEX_OF (rs
101 RS *rs; local
214 RS *rs; local
243 free_rs_char(RS *rs) argument
253 RS *rs, *next; local
301 encode_rs_char(RS *rs, const data_t *data, data_t *parity) argument
[all...]
H A Drscode.h37 extern void encode_rs_char(RS *rs, const unsigned char *data, unsigned char *parity);
38 extern void free_rs_char(RS *rs);
H A Dqrencode.c62 static void RSblock_initBlock(RSblock *block, int dl, unsigned char *data, int el, unsigned char *ecc, RS *rs) argument
69 encode_rs_char(rs, data, ecc);
77 RS *rs; local
82 rs = init_rs(8, 0x11d, 0, 1, el, 255 - dl - el);
83 if(rs == NULL) return -1;
89 RSblock_initBlock(block, dl, dp, el, ep, rs);
99 rs = init_rs(8, 0x11d, 0, 1, el, 255 - dl - el);
100 if(rs == NULL) return -1;
102 RSblock_initBlock(block, dl, dp, el, ep, rs);
214 RS *rs; local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_recv.c139 struct ath_rx_status *rs)
146 rs->rs_status = 0;
147 rs->rs_flags = 0;
149 rs->rs_datalen = ads->ds_rxstatus1 & AR_DataLen;
150 rs->rs_tstamp = ads->AR_RcvTimestamp;
154 rs->rs_rssi = MS(ads->ds_rxstatus4, AR_RxRSSICombined);
155 rs->rs_rssi_ctl[0] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt00);
156 rs->rs_rssi_ctl[1] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt01);
157 rs->rs_rssi_ctl[2] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt02);
158 rs
137 ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf, struct ath_rx_status *rs) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_recv.c205 struct ath_rx_status *rs)
220 rs->rs_datalen = ads->ds_status0 & AR_DataLen;
221 rs->rs_tstamp = MS(ads->ds_status1, AR_RcvTimestamp);
222 rs->rs_status = 0;
225 rs->rs_status |= HAL_RXERR_CRC;
227 rs->rs_status |= HAL_RXERR_DECRYPT;
229 rs->rs_status |= HAL_RXERR_PHY;
230 rs->rs_phyerr = MS(ads->ds_status1, AR_PHYErr);
234 rs->rs_rssi = MS(ads->ds_status0, AR_RcvSigStrength);
236 rs
203 ar5211ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf, struct ath_rx_status *rs) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ralink2860/dev/rt2860/
H A Drt2860_amrr.c83 const struct ieee80211_rateset *rs; local
94 rs = (const struct ieee80211_rateset *) &ni->ni_htrates;
96 for (amrr_node->rate_index = rs->rs_nrates - 1;
97 amrr_node->rate_index > 0 && (rs->rs_rates[amrr_node->rate_index] & IEEE80211_RATE_VAL) > 4;
100 ni->ni_txrate = rs->rs_rates[amrr_node->rate_index] | IEEE80211_RATE_MCS;
104 rs = &ni->ni_rates;
106 for (amrr_node->rate_index = rs->rs_nrates - 1;
107 amrr_node->rate_index > 0 && (rs->rs_rates[amrr_node->rate_index] & IEEE80211_RATE_VAL) > 72;
110 ni->ni_txrate = rs->rs_rates[amrr_node->rate_index] & IEEE80211_RATE_VAL;
157 const struct ieee80211_rateset *rs; local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_recv.c243 struct ath_rx_status *rs)
258 rs->rs_datalen = ads->ds_rxstatus0 & AR_DataLen;
259 rs->rs_tstamp = MS(ads->ds_rxstatus1, AR_RcvTimestamp);
260 rs->rs_status = 0;
262 rs->rs_rssi = MS(ads->ds_rxstatus0, AR_RcvSigStrength);
264 if (rs->rs_rssi == -128)
265 rs->rs_rssi = 0;
267 rs->rs_keyix = MS(ads->ds_rxstatus1, AR_KeyIdx);
269 rs->rs_keyix = HAL_RXKEYIX_INVALID;
271 rs
241 ar5212ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf, struct ath_rx_status *rs) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_diversity.h50 extern void ar9285_ant_comb_scan(struct ath_hal *ah, struct ath_rx_status *rs,
H A Dar9285_diversity.c362 ar9285_ant_comb_scan(struct ath_hal *ah, struct ath_rx_status *rs, argument
369 int main_rssi = rs->rs_rssi_ctl[0];
370 int alt_rssi = rs->rs_rssi_ctl[1];
374 rx_ant_conf = (rs->rs_rssi_ctl[2] >> 4) & ATH_ANT_RX_MASK;
375 main_ant_conf = (rs->rs_rssi_ctl[2] >> 2) & ATH_ANT_RX_MASK;
376 alt_ant_conf = (rs->rs_rssi_ctl[2] >> 0) & ATH_ANT_RX_MASK;
381 !!(rs->rs_rssi_ctl[2] & 0x80), !!(rs->rs_rssi_ctl[2] & 0x40), !!(rs->rs_rssi_ext[2] & 0x40));
422 rs
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c211 struct ath_rx_status *rs)
227 rs->rs_datalen = ads->ds_status0 & AR_DataLen;
239 rs->rs_tstamp = rstamp & 0x7fff;
240 rs->rs_status = 0;
243 rs->rs_status |= HAL_RXERR_CRC;
245 rs->rs_status |= HAL_RXERR_DECRYPT;
247 rs->rs_status |= HAL_RXERR_FIFO;
249 rs->rs_status |= HAL_RXERR_PHY;
250 rs->rs_phyerr =
255 rs
209 ar5210ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf, struct ath_rx_status *rs) argument
[all...]
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_rssadapt.c114 struct ieee80211_rssadapt *rs = vap->iv_rs; local
120 rs->interval = (t < 1) ? 1 : t;
126 struct ieee80211_rssadapt *rs; local
131 vap->iv_rs = rs = malloc(sizeof(struct ieee80211_rssadapt),
133 if (rs == NULL) {
137 rs->vap = vap;
170 const struct ieee80211_rateset *rs = &ni->ni_rates; local
184 ra->ra_rates = *rs;
188 for (ra->ra_rix = rs->rs_nrates - 1;
189 ra->ra_rix > 0 && (rs
226 const struct ieee80211_rateset *rs = &ra->ra_rates; local
330 struct ieee80211_rssadapt *rs = vap->iv_rs; local
[all...]
H A Dieee80211_proto.c207 const struct ieee80211_rateset *rs = &ic->ic_sup_rates[i]; local
230 rs->rs_rates[0] & IEEE80211_RATE_VAL;
232 rs->rs_rates[0] & IEEE80211_RATE_VAL;
235 vap->iv_txparms[i].mgmtrate = rs->rs_rates[0] & IEEE80211_RATE_VAL;
236 vap->iv_txparms[i].mcastrate = rs->rs_rates[0] & IEEE80211_RATE_VAL;
477 findrix(const struct ieee80211_rateset *rs, int r) argument
481 for (i = 0; i < rs->rs_nrates; i++)
482 if ((rs->rs_rates[i] & IEEE80211_RATE_VAL) == r)
661 ieee80211_iserp_rateset(const struct ieee80211_rateset *rs) argument
667 if (rs
693 setbasicrates(struct ieee80211_rateset *rs, enum ieee80211_phymode mode, int add) argument
727 ieee80211_setbasicrates(struct ieee80211_rateset *rs, enum ieee80211_phymode mode) argument
737 ieee80211_addbasicrates(struct ieee80211_rateset *rs, enum ieee80211_phymode mode) argument
[all...]
H A Dieee80211_amrr.c134 const struct ieee80211_rateset *rs = &ni->ni_rates; local
156 for (amn->amn_rix = rs->rs_nrates - 1;
157 amn->amn_rix > 0 && (rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL) > 72;
160 ni->ni_txrate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL;
H A Dieee80211_input.c380 struct ieee80211_rateset *rs = &ni->ni_rates; local
382 memset(rs, 0, sizeof(*rs));
383 rs->rs_nrates = rates[1];
384 memcpy(rs->rs_rates, rates + 2, rs->rs_nrates);
391 if (rs->rs_nrates + nxrates > IEEE80211_RATE_MAXSIZE) {
392 nxrates = IEEE80211_RATE_MAXSIZE - rs->rs_nrates;
398 memcpy(rs->rs_rates + rs
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dremote.c248 struct remote_state *rs = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct remote_state); local
251 rs->sizeof_g_packet = deprecated_register_bytes ();
253 rs->sizeof_g_packet = 0;
256 rs->regs = GDBARCH_OBSTACK_CALLOC (gdbarch, NUM_REGS + NUM_PSEUDO_REGS,
260 struct packet_reg *r = &rs->regs[regnum];
269 rs->sizeof_g_packet += register_size (current_gdbarch, regnum);
279 rs->remote_packet_size = 400 - 1;
281 /* Should rs->sizeof_g_packet needs more space than the
287 if (rs->sizeof_g_packet > ((rs
297 packet_reg_from_regnum(struct remote_state *rs, long regnum) argument
310 packet_reg_from_pnum(struct remote_state *rs, LONGEST pnum) argument
406 struct remote_state *rs = get_remote_state (); local
545 struct remote_state *rs = get_remote_state (); local
1026 struct remote_state *rs = get_remote_state (); local
1462 struct remote_state *rs = get_remote_state (); local
1553 struct remote_state *rs = get_remote_state (); local
1587 struct remote_state *rs = get_remote_state (); local
1613 struct remote_state *rs = get_remote_state (); local
1732 struct remote_state *rs = get_remote_state (); local
1766 struct remote_state *rs = get_remote_state (); local
1816 struct remote_state *rs = get_remote_state (); local
1877 struct remote_state *rs = get_remote_state (); local
1907 struct remote_state *rs = get_remote_state (); local
2077 struct remote_state *rs = get_remote_state (); local
2136 struct remote_state *rs = get_remote_state (); local
2285 struct remote_state *rs = get_remote_state (); local
2309 struct remote_state *rs = get_remote_state (); local
2390 remote_vcont_probe(struct remote_state *rs, char *buf) argument
2443 struct remote_state *rs = get_remote_state (); local
2524 struct remote_state *rs = get_remote_state (); local
2793 struct remote_state *rs = get_remote_state (); local
2976 struct remote_state *rs = get_remote_state (); local
3174 struct remote_state *rs = get_remote_state (); local
3205 struct remote_state *rs = get_remote_state (); local
3341 struct remote_state *rs = get_remote_state (); local
3366 struct remote_state *rs = get_remote_state (); local
3390 struct remote_state *rs = get_remote_state (); local
3523 struct remote_state *rs = get_remote_state (); local
3893 struct remote_state *rs = get_remote_state (); local
4412 struct remote_state *rs = get_remote_state (); local
4472 struct remote_state *rs = get_remote_state (); local
4525 struct remote_state *rs = get_remote_state (); local
4560 struct remote_state *rs = get_remote_state (); local
4647 struct remote_state *rs = get_remote_state (); local
4689 struct remote_state *rs = get_remote_state (); local
4788 struct remote_state *rs = get_remote_state (); local
4867 struct remote_state *rs = get_remote_state (); local
4999 struct remote_state *rs = get_remote_state (); local
5056 struct remote_state *rs = get_remote_state (); local
[all...]
H A Ddwarf2-frame.c144 dwarf2_frame_state_alloc_regs (struct dwarf2_frame_state_reg_info *rs,
149 if (num_regs <= rs->num_regs)
152 rs->reg = (struct dwarf2_frame_state_reg *)
153 xrealloc (rs->reg, num_regs * size);
156 memset (rs->reg + rs->num_regs, 0, (num_regs - rs->num_regs) * size);
157 rs->num_regs = num_regs;
164 dwarf2_frame_state_copy_regs (struct dwarf2_frame_state_reg_info *rs)
166 size_t size = rs
143 dwarf2_frame_state_alloc_regs(struct dwarf2_frame_state_reg_info *rs, int num_regs) argument
163 dwarf2_frame_state_copy_regs(struct dwarf2_frame_state_reg_info *rs) argument
177 dwarf2_frame_state_free_regs(struct dwarf2_frame_state_reg_info *rs) argument
[all...]
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-snoop.c159 register struct rawstats *rs; local
162 rs = &rawstats;
163 memset(rs, 0, sizeof(*rs));
164 if (ioctl(p->fd, SIOCRAWSTATS, (char *)rs) < 0) {
184 rs->rs_snoop.ss_ifdrops + rs->rs_snoop.ss_sbdrops +
185 rs->rs_drain.ds_ifdrops + rs->rs_drain.ds_sbdrops;
/haiku-fatelf/src/libs/ncurses/ncurses/widechar/
H A Dlib_box_set.c46 const ARG_CH_T ls, const ARG_CH_T rs,
58 _tracech_t2(2, rs),
72 RENDER_WITH_DEFAULT(rs, WACS_VLINE);
45 wborder_set(WINDOW *win, const ARG_CH_T ls, const ARG_CH_T rs, const ARG_CH_T ts, const ARG_CH_T bs, const ARG_CH_T tl, const ARG_CH_T tr, const ARG_CH_T bl, const ARG_CH_T br) argument
/haiku-fatelf/src/bin/coreutils/lib/
H A Dfnmatch_loop.c1037 const CHAR *rs; local
1120 for (rs = string; rs <= string_end; ++rs)
1123 if (FCT (list->str, string, rs, no_leading_period,
1127 && (FCT (p, rs, string_end,
1128 rs == string
1130 : rs[-1] == '/' && NO_LEADING_PERIOD (flags),
1134 || (rs != string
1135 && FCT (pattern - 1, rs, string_en
[all...]
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dfnmatch_loop.c1029 const CHAR *rs; local
1112 for (rs = string; rs <= string_end; ++rs)
1115 if (FCT (list->str, string, rs, no_leading_period,
1119 && (FCT (p, rs, string_end,
1120 rs == string
1122 : rs[-1] == '/' && NO_LEADING_PERIOD (flags),
1126 || (rs != string
1127 && FCT (pattern - 1, rs, string_en
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dlib_box.c61 chtype ls, chtype rs,
73 _tracechtype2(2, rs),
85 RENDER_WITH_DEFAULT(rs, ACS_VLINE);
60 wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dia64-gen.c793 struct rdep *rs;
795 rs = insert_resource (name, mode);
797 parse_resource_users (chk, &rs->chks, &rs->nchks, &rs->chknotes);
798 parse_resource_users (reg, &rs->regs, &rs->nregs, &rs->regnotes);
800 rs->semantics = semantics;
801 rs
791 struct rdep *rs; local
2421 struct rdep *rs = rdeps[i]; local
[all...]
H A Dh8500-dis.c116 int rs = 0; local
150 rs = buffer[byte] & 0x7;
266 func (stream, "r%d", rs);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_debug.c103 const struct ath_rx_status *rs = &bf->bf_status.ds_rxstat; local
113 !done ? "" : (rs->rs_status == 0) ? " *" : " !",
H A Dif_ath.c3404 const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf)
3416 rix = rt->rateCodeToIndex[rs->rs_rate];
3424 if ((rs->rs_flags & HAL_RX_2040) == 0)
3430 if ((rs->rs_flags & HAL_RX_GI) == 0)
3434 sc->sc_rx_th.wr_tsf = htole64(ath_extend_tsf(sc, rs->rs_tstamp, tsf));
3435 if (rs->rs_status & HAL_RXERR_CRC)
3439 sc->sc_rx_th.wr_antsignal = nf + rs->rs_rssi;
3440 sc->sc_rx_th.wr_antenna = rs->rs_antenna;
3474 struct ath_rx_status *rs; local
3529 rs
3403 ath_rx_tap(struct ifnet *ifp, struct mbuf *m, const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) argument
4453 struct ath_rx_status *rs = &bf->bf_status.ds_rxstat; local
5646 const struct ath_rx_status *rs; local
[all...]

Completed in 240 milliseconds

123