Lines Matching refs:rs
81 struct r12a_softc *rs = sc->sc_priv;
84 rs->ac_usb_dma_size = 0x07;
85 rs->ac_usb_dma_time = 0x1a;
87 rs->ac_usb_dma_size = 0x01;
88 rs->ac_usb_dma_time = 0x10;
91 if (rs->chip & R12A_CHIP_C_CUT)
96 if (rs->board_type == R92C_BOARD_TYPE_MINICARD ||
97 rs->board_type == R92C_BOARD_TYPE_SOLO ||
98 rs->board_type == R92C_BOARD_TYPE_COMBO)
103 if (!(rs->ext_pa_2g || rs->ext_lna_2g ||
104 rs->ext_pa_5g || rs->ext_lna_5g))
113 struct r12a_softc *rs = sc->sc_priv;
118 if (rs->rs_flags & R12A_RXCKSUM_EN)
120 if (rs->rs_flags & R12A_RXCKSUM6_EN)
128 struct r12a_softc *rs;
130 rs = malloc(sizeof(struct r12a_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO);
132 rs->rs_flags = R12A_RXCKSUM_EN | R12A_RXCKSUM6_EN;
134 rs->rs_fix_spur = r12a_fix_spur;
135 rs->rs_set_band_2ghz = r12a_set_band_2ghz;
136 rs->rs_set_band_5ghz = r12a_set_band_5ghz;
137 rs->rs_init_burstlen = r12au_init_burstlen;
138 rs->rs_init_ampdu_fwhw = r12au_init_ampdu_fwhw;
139 rs->rs_crystalcap_write = r12a_crystalcap_write;
141 rs->rs_iq_calib_fw_supported = r12a_iq_calib_fw_supported;
143 rs->rs_iq_calib_sw = r12a_iq_calib_sw;
145 rs->ampdu_max_time = 0x70;
147 sc->sc_priv = rs;
153 struct r12a_softc *rs = sc->sc_priv;
155 free(rs, M_RTWN_PRIV);
161 struct r12a_softc *rs = sc->sc_priv;
164 rs->chip |= R12A_CHIP_C_CUT;
170 struct r12a_softc *rs = sc->sc_priv;
173 if (rs->chip & R12A_CHIP_C_CUT) {