Lines Matching refs:sc_flags
1578 rtw_pwrstate0(rsc, power, 1, rsc->sc_flags & RTW_F_DIGPHY); in rtw_pwrstate()
1580 rtw_pwrstate0(rsc, power, 0, rsc->sc_flags & RTW_F_DIGPHY); in rtw_pwrstate()
1605 if ((rsc->sc_flags & RTW_F_ENABLED) == 0) in rtw_disable()
1609 if ((rsc->sc_flags & RTW_F_INVALID) == 0 && in rtw_disable()
1617 rsc->sc_flags &= ~RTW_F_ENABLED; in rtw_disable()
1623 if ((rsc->sc_flags & RTW_F_ENABLED) == 0) { in rtw_enable()
1628 rsc->sc_flags |= RTW_F_ENABLED; in rtw_enable()
1767 int antdiv = rsc->sc_flags & RTW_F_ANTDIV, in rtw_tune()
1768 dflantb = rsc->sc_flags & RTW_F_DFLANTB; in rtw_tune()
1787 ASSERT((rsc->sc_flags & RTW_F_ENABLED) != 0); in rtw_tune()
3138 rsc->sc_flags &= ~RTW_F_SUSPEND; in rtw_attach()
3140 if ((rsc->sc_flags & RTW_F_PLUMBED)) { in rtw_attach()
3144 rsc->sc_flags &= ~RTW_F_PLUMBED; in rtw_attach()
3231 rsc->sc_flags |= RTW_F_9356SROM; in rtw_attach()
3233 if (rtw_srom_read(&rsc->sc_regs, rsc->sc_flags, &rsc->sc_srom, in rtw_attach()
3240 if (rtw_srom_parse(&rsc->sc_srom, &rsc->sc_flags, &rsc->sc_csthr, in rtw_attach()
3249 ((rsc->sc_flags & RTW_F_DIGPHY) != 0) ? "digital" : "analog"); in rtw_attach()
3253 rsc->sc_flags & RTW_F_DIGPHY); in rtw_attach()
3350 rsc->sc_flags |= RTW_F_ATTACHED; in rtw_attach()
3391 rsc->sc_flags |= RTW_F_SUSPEND; in rtw_detach()
3396 rsc->sc_flags |= RTW_F_PLUMBED; in rtw_detach()
3403 if (!(rsc->sc_flags & RTW_F_ATTACHED)) in rtw_detach()