Lines Matching full:rs
65 struct r92c_softc *rs = sc->sc_priv; in r92cu_postattach() local
68 if (!(rs->chip & R92C_CHIP_92C) && in r92cu_postattach()
69 rs->board_type == R92C_BOARD_TYPE_HIGHPA) { in r92cu_postattach()
72 rs->rs_txagc = &rtl8188ru_txagc[0]; in r92cu_postattach()
76 rs->rs_txagc = &rtl8192cu_txagc[0]; in r92cu_postattach()
79 if ((rs->chip & (R92C_CHIP_UMC_A_CUT | R92C_CHIP_92C)) == in r92cu_postattach()
87 rs->rs_scan_start = ic->ic_scan_start; in r92cu_postattach()
89 rs->rs_scan_end = ic->ic_scan_end; in r92cu_postattach()
96 struct r92c_softc *rs = sc->sc_priv; in r92cu_set_name() local
98 if (!(rs->chip & R92C_CHIP_92C)) { in r92cu_set_name()
99 if (rs->board_type == R92C_BOARD_TYPE_HIGHPA) in r92cu_set_name()
101 else if (rs->board_type == R92C_BOARD_TYPE_MINICARD) in r92cu_set_name()
112 struct r92c_softc *rs; in r92cu_attach_private() local
114 rs = malloc(sizeof(struct r92c_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO); in r92cu_attach_private()
116 rs->rs_txpwr = &r92c_txpwr; in r92cu_attach_private()
118 rs->rs_set_bw20 = r92c_set_bw20; in r92cu_attach_private()
119 rs->rs_get_txpower = r92c_get_txpower; in r92cu_attach_private()
120 rs->rs_set_gain = r92c_set_gain; in r92cu_attach_private()
121 rs->rs_tx_enable_ampdu = r92c_tx_enable_ampdu; in r92cu_attach_private()
122 rs->rs_tx_setup_hwseq = r92c_tx_setup_hwseq; in r92cu_attach_private()
123 rs->rs_tx_setup_macid = r92c_tx_setup_macid; in r92cu_attach_private()
124 rs->rs_set_rom_opts = r92cu_set_name; in r92cu_attach_private()
127 rs->rs_c2h_timeout = hz; in r92cu_attach_private()
129 callout_init_mtx(&rs->rs_c2h_report, &sc->sc_mtx, 0); in r92cu_attach_private()
132 rs->rf_read_delay[0] = 10; in r92cu_attach_private()
133 rs->rf_read_delay[1] = 100; in r92cu_attach_private()
134 rs->rf_read_delay[2] = 10; in r92cu_attach_private()
136 sc->sc_priv = rs; in r92cu_attach_private()