Searched refs:gpio_mtx (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.2-release/sys/mips/cavium/
H A Docteon_gpiovar.h34 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx)
35 #define GPIO_UNLOCK(_sc) mtx_unlock(&(_sc)->gpio_mtx)
36 #define GPIO_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->gpio_mtx, MA_OWNED)
46 struct mtx gpio_mtx; member in struct:octeon_gpio_softc
H A Docteon_gpio.c378 mtx_init(&sc->gpio_mtx, device_get_nameunit(dev), NULL, MTX_DEF);
448 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized"));
456 mtx_destroy(&sc->gpio_mtx);
/freebsd-10.2-release/sys/mips/atheros/
H A Dar71xx_gpiovar.h35 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx)
36 #define GPIO_UNLOCK(_sc) mtx_unlock(&(_sc)->gpio_mtx)
37 #define GPIO_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->gpio_mtx, MA_OWNED)
60 struct mtx gpio_mtx; member in struct:ar71xx_gpio_softc
H A Dar71xx_gpio.c352 mtx_init(&sc->gpio_mtx, device_get_nameunit(dev), NULL, MTX_DEF);
448 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized"));
459 mtx_destroy(&sc->gpio_mtx);
/freebsd-10.2-release/sys/mips/rt305x/
H A Drt305x_gpiovar.h33 struct mtx gpio_mtx; member in struct:rt305x_gpio_softc
H A Drt305x_gpio.h106 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx)
107 #define GPIO_UNLOCK(_sc) mtx_unlock(&(_sc)->gpio_mtx)
108 #define GPIO_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->gpio_mtx, MA_OWNED)
H A Drt305x_gpio.c440 mtx_init(&sc->gpio_mtx, device_get_nameunit(dev), NULL, MTX_DEF);
515 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized"));
523 mtx_destroy(&sc->gpio_mtx);

Completed in 65 milliseconds