Searched +full:pull +full:- +full:downs (Results 1 – 1 of 1) sorted by relevance
1 /*-2 * SPDX-License-Identifier: BSD-2-Clause31 * Beware that the OMAP4 datasheet(s) lists GPIO banks 1-6, whereas the code32 * here uses 0-5.154 #define TI_GPIO_LOCK(_sc) mtx_lock_spin(&(_sc)->sc_mtx)155 #define TI_GPIO_UNLOCK(_sc) mtx_unlock_spin(&(_sc)->sc_mtx)157 mtx_init(&_sc->sc_mtx, device_get_nameunit((_sc)->sc_dev), \159 #define TI_GPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)160 #define TI_GPIO_ASSERT_LOCKED(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED)161 #define TI_GPIO_ASSERT_UNLOCKED(_sc) mtx_assert(&(_sc)->sc_mtx, MA_NOTOWNED)[all …]