Searched refs:gpio_mtx (Results 1 - 7 of 7) sorted by relevance
/freebsd-10.2-release/sys/mips/cavium/ |
H A D | octeon_gpiovar.h | 34 #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 D | octeon_gpio.c | 378 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 D | ar71xx_gpiovar.h | 35 #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 D | ar71xx_gpio.c | 352 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 D | rt305x_gpiovar.h | 33 struct mtx gpio_mtx; member in struct:rt305x_gpio_softc
|
H A D | rt305x_gpio.h | 106 #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 D | rt305x_gpio.c | 440 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