Home
last modified time | relevance | path

Searched refs:gpio_mtx (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/qcom_tlmm/
H A Dqcom_tlmm_var.h33 #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
H A Dqcom_tlmm_ipq4018.c268 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()