Lines Matching +full:rfkill +full:- +full:gpio
2 /*-
3 * SPDX-License-Identifier: BSD-2-Clause
169 * dma-ble memory around until detach time, and reallocate it when
200 sc_softled : 1, /* enable LED gpio status */
214 struct callout sc_rftimer; /* rfkill timer */
228 KASSERT(_sc->fw_state == IWI_FW_IDLE, \
229 ("iwi firmware not idle, state %s", iwi_fw_states[_sc->fw_state]));\
230 _sc->fw_state = _state; \
231 _sc->sc_state_timer = 5; \
236 if (_sc->fw_state == _state) \
240 iwi_fw_states[_state], iwi_fw_states[_sc->fw_state])); \
241 _sc->fw_state = IWI_FW_IDLE; \
243 _sc->sc_state_timer = 0; \
250 mtx_init(&(sc)->sc_mtx, device_get_nameunit((sc)->sc_dev), \
252 #define IWI_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
254 #define IWI_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED)
256 if (!(__waslocked = mtx_owned(&(sc)->sc_mtx))) \
257 mtx_lock(&(sc)->sc_mtx); \
261 mtx_unlock(&(sc)->sc_mtx); \