Lines Matching full:rs
69 struct r92c_softc *rs = sc->sc_priv; in r92ce_postattach() local
72 if (!(rs->chip & R92C_CHIP_92C) && in r92ce_postattach()
73 rs->board_type == R92C_BOARD_TYPE_HIGHPA) in r92ce_postattach()
74 rs->rs_txagc = &rtl8188ru_txagc[0]; in r92ce_postattach()
76 rs->rs_txagc = &rtl8192cu_txagc[0]; in r92ce_postattach()
78 if ((rs->chip & (R92C_CHIP_UMC_A_CUT | R92C_CHIP_92C)) == in r92ce_postattach()
85 rs->rs_scan_start = ic->ic_scan_start; in r92ce_postattach()
87 rs->rs_scan_end = ic->ic_scan_end; in r92ce_postattach()
94 struct r92c_softc *rs = sc->sc_priv; in r92ce_set_name() local
96 if (rs->chip & R92C_CHIP_92C) in r92ce_set_name()
105 struct r92c_softc *rs; in r92ce_attach_private() local
107 rs = malloc(sizeof(struct r92c_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO); in r92ce_attach_private()
109 rs->rs_txpwr = &r92c_txpwr; in r92ce_attach_private()
111 rs->rs_set_bw20 = r92c_set_bw20; in r92ce_attach_private()
112 rs->rs_get_txpower = r92c_get_txpower; in r92ce_attach_private()
113 rs->rs_set_gain = r92c_set_gain; in r92ce_attach_private()
114 rs->rs_tx_enable_ampdu = r92c_tx_enable_ampdu; in r92ce_attach_private()
115 rs->rs_tx_setup_hwseq = r92c_tx_setup_hwseq; in r92ce_attach_private()
116 rs->rs_tx_setup_macid = r92c_tx_setup_macid; in r92ce_attach_private()
117 rs->rs_set_rom_opts = r92ce_set_name; in r92ce_attach_private()
121 rs->rs_c2h_timeout = hz; in r92ce_attach_private()
123 callout_init_mtx(&rs->rs_c2h_report, &sc->sc_mtx, 0); in r92ce_attach_private()
126 rs->rf_read_delay[0] = 1000; in r92ce_attach_private()
127 rs->rf_read_delay[1] = 1000; in r92ce_attach_private()
128 rs->rf_read_delay[2] = 1000; in r92ce_attach_private()
130 sc->sc_priv = rs; in r92ce_attach_private()