/drivers/md/ |
H A D | dm-raid.c | 45 * Flags for rs->print_flags field. 103 struct raid_set *rs; local 118 rs = kzalloc(sizeof(*rs) + raid_devs * sizeof(rs->dev[0]), GFP_KERNEL); 119 if (!rs) { 124 mddev_init(&rs->md); 126 rs->ti = ti; 127 rs->raid_type = raid_type; 128 rs 151 context_free(struct raid_set *rs) argument 185 dev_parms(struct raid_set *rs, char **argv) argument 284 validate_region_size(struct raid_set *rs, unsigned long region_size) argument 354 parse_raid_params(struct raid_set *rs, char **argv, unsigned num_raid_params) argument 546 struct raid_set *rs = container_of(ws, struct raid_set, md.event_work); local 553 struct raid_set *rs = container_of(cb, struct raid_set, callbacks); local 706 struct raid_set *rs = container_of(mddev, struct raid_set, md); local 857 analyse_superblocks(struct dm_target *ti, struct raid_set *rs) argument 961 struct raid_set *rs = NULL; local 1053 struct raid_set *rs = ti->private; local 1062 struct raid_set *rs = ti->private; local 1073 struct raid_set *rs = ti->private; local 1212 struct raid_set *rs = ti->private; local 1229 struct raid_set *rs = ti->private; local 1239 struct raid_set *rs = ti->private; local 1246 struct raid_set *rs = ti->private; local 1253 struct raid_set *rs = ti->private; local [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | dfs.h | 26 * @rs: RX status after processing descriptor 37 struct ath_rx_status *rs, u64 mactime); 40 struct ath_rx_status *rs, u64 mactime) { } 39 ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, struct ath_rx_status *rs, u64 mactime) argument
|
H A D | dfs.c | 153 struct ath_rx_status *rs, u64 mactime) 162 if ((!(rs->rs_phyerr != ATH9K_PHYERR_RADAR)) && 163 (!(rs->rs_phyerr != ATH9K_PHYERR_FALSE_RADAR_EXT))) { 166 rs->rs_phyerr); 170 datalen = rs->rs_datalen; 176 ard.rssi = rs->rs_rssi_ctl0; 177 ard.ext_rssi = rs->rs_rssi_ext0; 152 ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, struct ath_rx_status *rs, u64 mactime) argument
|
H A D | mac.c | 529 struct ath_rx_status *rs) 540 rs->rs_status = 0; 541 rs->rs_flags = 0; 543 rs->rs_datalen = ads.ds_rxstatus1 & AR_DataLen; 544 rs->rs_tstamp = ads.AR_RcvTimestamp; 547 rs->rs_rssi = ATH9K_RSSI_BAD; 548 rs->rs_rssi_ctl0 = ATH9K_RSSI_BAD; 549 rs->rs_rssi_ctl1 = ATH9K_RSSI_BAD; 550 rs->rs_rssi_ctl2 = ATH9K_RSSI_BAD; 551 rs 528 ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds, struct ath_rx_status *rs) argument [all...] |
H A D | recv.c | 656 struct ath_rx_status *rs, 676 ret = ath9k_hw_process_rxdesc_edma(ah, rs, skb->data); 708 struct ath_rx_status *rs, 713 while (ath_edma_get_buffers(sc, qtype, rs, &bf)) { 723 struct ath_rx_status *rs) 750 ret = ath9k_hw_rxprocdesc(ah, ds, rs); 1534 static void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs) argument 1540 int main_rssi = rs->rs_rssi_ctl0; 1541 int alt_rssi = rs->rs_rssi_ctl1; 1545 rx_ant_conf = (rs 654 ath_edma_get_buffers(struct ath_softc *sc, enum ath9k_rx_qtype qtype, struct ath_rx_status *rs, struct ath_buf **dest) argument 707 ath_edma_get_next_rx_buf(struct ath_softc *sc, struct ath_rx_status *rs, enum ath9k_rx_qtype qtype) argument 722 ath_get_next_rx_buf(struct ath_softc *sc, struct ath_rx_status *rs) argument 1778 struct ath_rx_status rs; local [all...] |
H A D | debug.h | 222 } rs[ATH_DBG_MAX_SAMPLES]; member in struct:ath_dbg_bb_mac_samp 246 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs); 269 struct ath_rx_status *rs) 268 ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs) argument
|
H A D | debug.c | 959 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs) argument 963 #define RX_SAMP_DBG(c) (sc->debug.bb_mac_samp[sc->debug.sampidx].rs\ 967 sc->debug.stats.rxstats.rx_bytes_all += rs->rs_datalen; 969 if (rs->rs_status & ATH9K_RXERR_CRC) 971 if (rs->rs_status & ATH9K_RXERR_DECRYPT) 973 if (rs->rs_status & ATH9K_RXERR_MIC) 975 if (rs->rs_status & ATH9K_RX_DELIM_CRC_PRE) 977 if (rs->rs_status & ATH9K_RX_DELIM_CRC_POST) 979 if (rs->rs_status & ATH9K_RX_DECRYPT_BUSY) 982 if (rs [all...] |
/drivers/isdn/i4l/ |
H A D | isdn_ttyfax.c | 52 char rs[50]; local 78 sprintf(rs, "/%s", m->cpn); 79 isdn_tty_at_cout(rs, info); 88 sprintf(rs, "\"%s\"", f->r_id); 89 isdn_tty_at_cout(rs, info); 92 rs[0] = 0; 97 strcat(rs, rss); 99 isdn_tty_at_cout(rs, info); 102 rs, info->line); 106 sprintf(rs, " 194 char rs[10]; local 418 char rs[50]; local [all...] |
H A D | isdn_ppp.c | 2266 if (is->reset->rs[id]) { 2278 struct ippp_ccp_reset_state *rs; local 2280 if (is->reset->rs[id]) { 2282 rs = is->reset->rs[id]; 2284 if (rs->ta) 2285 del_timer(&rs->timer); 2286 is->reset->rs[id] = NULL; 2287 kfree(rs); 2297 struct ippp_ccp_reset_state *rs local 2332 struct ippp_ccp_reset_state *rs; local 2358 struct ippp_ccp_reset_state *rs; local 2461 struct ippp_ccp_reset_state *rs = is->reset->rs[id]; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | desc.c | 594 * @rs: The &struct ath5k_rx_status 605 struct ath5k_rx_status *rs) 616 memset(rs, 0, sizeof(struct ath5k_rx_status)); 621 rs->rs_datalen = rx_status->rx_status_0 & 623 rs->rs_rssi = AR5K_REG_MS(rx_status->rx_status_0, 625 rs->rs_rate = AR5K_REG_MS(rx_status->rx_status_0, 627 rs->rs_more = !!(rx_status->rx_status_0 & 634 rs->rs_tstamp = AR5K_REG_MS(rx_status->rx_status_1, 638 rs->rs_antenna = AR5K_REG_MS(rx_status->rx_status_0, 641 rs 603 ath5k_hw_proc_5210_rx_status(struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_rx_status *rs) argument 697 ath5k_hw_proc_5212_rx_status(struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_rx_status *rs) argument [all...] |
H A D | base.c | 1133 struct ath5k_rx_status *rs) 1139 if (!(rs->rs_status & AR5K_RXERR_DECRYPT) && 1140 rs->rs_keyix != AR5K_RXKEYIX_INVALID) 1148 !(rs->rs_status & AR5K_RXERR_DECRYPT) && 1313 struct ath5k_rx_status *rs) 1322 if (unlikely(rs->rs_status & AR5K_RXERR_MIC)) 1345 rxs->mactime = ath5k_extend_tsf(ah, rs->rs_tstamp); 1351 rxs->signal = ah->ah_noise_floor + rs->rs_rssi; 1353 rxs->antenna = rs->rs_antenna; 1355 if (rs 1132 ath5k_rx_decrypted(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_rx_status *rs) argument 1312 ath5k_receive_frame(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_rx_status *rs) argument 1384 ath5k_receive_frame_ok(struct ath5k_hw *ah, struct ath5k_rx_status *rs) argument 1452 struct ath5k_rx_status rs = {}; local [all...] |
/drivers/net/wireless/iwlegacy/ |
H A D | Makefile | 9 iwl4965-objs := 4965.o 4965-mac.o 4965-rs.o 4965-calib.o 14 iwl3945-objs := 3945-mac.o 3945.o 3945-rs.o
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | rate.c | 272 static bool brcms_c_rateset_valid(struct brcms_c_rateset *rs, bool check_brate) argument 276 if (!rs->count) 283 for (idx = 0; idx < rs->count; idx++) { 284 if (rs->rates[idx] & BRCMS_RATE_FLAG) 290 void brcms_c_rateset_mcs_upd(struct brcms_c_rateset *rs, u8 txstreams) argument 294 rs->mcs[i] = 0; 302 brcms_c_rate_hwrs_filter_sort_validate(struct brcms_c_rateset *rs, argument 312 count = rs->count; 316 r = (int)rs->rates[i] & BRCMS_RATE_MASK; 319 rateset[r] = rs [all...] |
H A D | rate.h | 220 brcms_c_rate_hwrs_filter_sort_validate(struct brcms_c_rateset *rs, 242 extern void brcms_c_rateset_mcs_upd(struct brcms_c_rateset *rs, u8 txstreams);
|
H A D | mac80211_if.c | 252 static void brcms_set_basic_rate(struct brcm_rateset *rs, u16 rate, bool is_br) argument 256 for (i = 0; i < rs->count; i++) { 257 if (rate != (rs->rates[i] & 0x7f)) 261 rs->rates[i] |= BRCMS_RATE_FLAG; 263 rs->rates[i] &= BRCMS_RATE_MASK; 462 struct brcm_rateset rs; local 467 brcms_c_get_current_rateset(wl->wlc, &rs); 477 brcms_set_basic_rate(&rs, rate, br_mask & 1); 483 error = brcms_c_set_rateset(wl->wlc, &rs);
|
H A D | main.c | 3428 brcms_default_rateset(struct brcms_c_info *wlc, struct brcms_c_rateset *rs) argument 3430 brcms_c_rateset_default(rs, NULL, wlc->band->phytype, 3690 struct brcms_c_rateset rs; local 3696 brcms_c_rateset_copy(rs_dflt, &rs); 3697 brcms_c_rateset_mcs_upd(&rs, wlc->stf->txstreams); 3700 for (i = 0; i < rs.count; i++) { 3701 rate = rs.rates[i] & BRCMS_RATE_MASK; 3711 basic_rate = rs.rates[0] & BRCMS_RATE_MASK; 5392 struct brcms_c_rateset rs; local 5432 memset(&rs, 5525 struct brcms_c_rateset rs, new; local 5635 struct brcms_c_rateset *rs; local 5647 brcms_c_set_rateset(struct brcms_c_info *wlc, struct brcm_rateset *rs) argument 7692 struct brcms_c_rateset rs; local [all...] |
/drivers/misc/ |
H A D | phantom.c | 93 struct phm_regs rs; local 133 if (copy_from_user(&rs, argp, sizeof(rs))) 136 pr_debug("phantom: SRS %u regs %x\n", rs.count, rs.mask); 139 memcpy(&dev->oregs, &rs, sizeof(rs)); 141 u32 m = min(rs.count, 8U); 143 if (rs.mask & BIT(i)) 144 iowrite32(rs [all...] |
/drivers/staging/mei/ |
H A D | interrupt.c | 335 * @rs: connect response bus message 339 struct hbm_client_connect_response *rs) 342 if (cl->host_client_id == rs->host_addr && 343 cl->me_client_id == rs->me_addr) { 344 if (!rs->status) { 363 * @rs: connect response bus message 366 struct hbm_client_connect_response *rs) 377 rs->me_addr, 378 rs->host_addr, 379 rs 338 is_treat_specially_client(struct mei_cl *cl, struct hbm_client_connect_response *rs) argument 365 mei_client_connect_response(struct mei_device *dev, struct hbm_client_connect_response *rs) argument 421 mei_client_disconnect_response(struct mei_device *dev, struct hbm_client_connect_response *rs) argument [all...] |
/drivers/net/irda/ |
H A D | vlsi_ir.h | 279 #define RINGSIZE_TO_RXSIZE(rs) ((((rs)&0x0f00)>>6)+4) 280 #define RINGSIZE_TO_TXSIZE(rs) ((((rs)&0xf000)>>10)+4)
|
/drivers/net/wireless/iwlwifi/ |
H A D | Makefile | 3 iwlwifi-objs := iwl-agn.o iwl-agn-rs.o iwl-mac80211.o
|
/drivers/media/video/gspca/stv06xx/ |
H A D | stv06xx_hdcs.c | 147 u16 rs; member in struct:hdcs::__anon1606 272 rp = hdcs->exp.rs + cp; 452 hdcs->exp.rs = 186; 518 hdcs->exp.rs = 155;
|
/drivers/gpu/drm/nouveau/ |
H A D | nv17_tv_modes.c | 326 uint64_t rs[] = {mode->hdisplay * id3, local 329 do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay); 330 do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); 333 rs[k] = max((int64_t)rs[k], id2); 342 p->ki3r*i*i*i) * rs[k] 346 p->ki3rf*i*i*i) * flicker * rs[k];
|
/drivers/mtd/nand/ |
H A D | cafe_nand.c | 63 struct rs_control *rs; member in struct:cafe_priv 402 syn[i] = cafe->rs->index_of[tmp & 0xfff]; 403 syn[i+1] = cafe->rs->index_of[(tmp >> 16) & 0xfff]; 406 n = decode_rs16(cafe->rs, NULL, NULL, 1367, syn, 0, pos, 0, 671 cafe->rs = init_rs_non_canonical(12, &cafe_mul, 0, 1, 8); 672 if (!cafe->rs) { 830 free_rs(cafe->rs);
|
/drivers/s390/cio/ |
H A D | chsc.c | 268 u8 rs; /* reporting source */ member in struct:chsc_sei_area 283 CIO_CRW_EVENT(4, "chsc: link incident (rs=%02x, rs_id=%04x)\n", 284 sei_area->rs, sei_area->rsid); 285 if (sei_area->rs != 4) 303 CIO_CRW_EVENT(4, "chsc: resource accessibility event (rs=%02x, " 304 "rs_id=%04x)\n", sei_area->rs, sei_area->rsid); 305 if (sei_area->rs != 4) 337 if (sei_area->rs != 0) 373 if (sei_area->rs != 0)
|
/drivers/pci/hotplug/ |
H A D | ibmphp_res.c | 74 struct resource_node *rs; local 81 rs = kzalloc(sizeof(struct resource_node), GFP_KERNEL); 82 if (!rs) { 86 rs->busno = curr->bus_num; 87 rs->devfunc = curr->dev_fun; 88 rs->start = curr->start_addr; 89 rs->end = curr->end_addr; 90 rs->len = curr->end_addr - curr->start_addr + 1; 91 return rs;
|