Searched refs:gpio_mtx (Results 1 – 2 of 2) sorted by relevance
33 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx)34 #define GPIO_UNLOCK(_sc) mtx_unlock(&(_sc)->gpio_mtx)35 #define GPIO_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->gpio_mtx, MA_OWNED)147 struct mtx gpio_mtx; member
268 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); in qcom_tlmm_ipq4018_detach()281 mtx_destroy(&sc->gpio_mtx); in qcom_tlmm_ipq4018_detach()297 mtx_init(&sc->gpio_mtx, device_get_nameunit(dev), NULL, MTX_DEF); in qcom_tlmm_ipq4018_attach()