| /freebsd-13.1/sys/arm/freescale/vybrid/ |
| H A D | vf_gpio.c | 70 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) macro 196 GPIO_LOCK(sc); in vf_gpio_pin_getname() 218 GPIO_LOCK(sc); in vf_gpio_pin_getcaps() 240 GPIO_LOCK(sc); in vf_gpio_pin_getflags() 262 GPIO_LOCK(sc); in vf_gpio_pin_get() 284 GPIO_LOCK(sc); in vf_gpio_pin_toggle() 296 GPIO_LOCK(sc); in vf_gpio_pin_configure() 351 GPIO_LOCK(sc); in vf_gpio_pin_set()
|
| /freebsd-13.1/sys/dev/gpio/dwgpio/ |
| H A D | dwgpio.c | 91 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) macro 219 GPIO_LOCK(sc); in dwgpio_pin_getname() 241 GPIO_LOCK(sc); in dwgpio_pin_getcaps() 263 GPIO_LOCK(sc); in dwgpio_pin_getflags() 285 GPIO_LOCK(sc); in dwgpio_pin_get() 308 GPIO_LOCK(sc); in dwgpio_pin_toggle() 327 GPIO_LOCK(sc); in dwgpio_pin_configure() 387 GPIO_LOCK(sc); in dwgpio_pin_set()
|
| /freebsd-13.1/sys/mips/cavium/ |
| H A D | octeon_gpio.c | 115 GPIO_LOCK(sc); in octeon_gpio_pin_configure() 173 GPIO_LOCK(sc); in octeon_gpio_pin_getcaps() 194 GPIO_LOCK(sc); in octeon_gpio_pin_getflags() 215 GPIO_LOCK(sc); in octeon_gpio_pin_getname() 255 GPIO_LOCK(sc); in octeon_gpio_pin_set() 280 GPIO_LOCK(sc); in octeon_gpio_pin_get() 303 GPIO_LOCK(sc); in octeon_gpio_pin_toggle() 354 GPIO_LOCK(sc); in octeon_gpio_intr()
|
| H A D | octeon_gpiovar.h | 36 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx) macro
|
| /freebsd-13.1/sys/arm/nvidia/ |
| H A D | as3722_gpio.c | 74 #define GPIO_LOCK(_sc) sx_slock(&(_sc)->gpio_lock) macro 309 GPIO_LOCK(sc); in as3722_gpio_pin_getcaps() 323 GPIO_LOCK(sc); in as3722_gpio_pin_getname() 341 GPIO_LOCK(sc); in as3722_gpio_pin_getflags() 436 GPIO_LOCK(sc); in as3722_gpio_pin_setflags() 471 GPIO_LOCK(sc); in as3722_gpio_pin_set() 488 GPIO_LOCK(sc); in as3722_gpio_pin_get() 517 GPIO_LOCK(sc); in as3722_gpio_pin_toggle()
|
| H A D | tegra_gpio.c | 56 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 218 GPIO_LOCK(sc); in tegra_gpio_pin_getcaps() 235 GPIO_LOCK(sc); in tegra_gpio_pin_getflags() 256 GPIO_LOCK(sc); in tegra_gpio_pin_getname() 273 GPIO_LOCK(sc); in tegra_gpio_pin_setflags() 296 GPIO_LOCK(sc); in tegra_gpio_pin_set() 312 GPIO_LOCK(sc); in tegra_gpio_pin_get() 328 GPIO_LOCK(sc); in tegra_gpio_pin_toggle() 362 GPIO_LOCK(sc); in intr_write_modify()
|
| /freebsd-13.1/sys/arm64/nvidia/tegra210/ |
| H A D | max77620_gpio.c | 50 #define GPIO_LOCK(_sc) sx_slock(&(_sc)->gpio_lock) macro 418 GPIO_LOCK(sc); in max77620_gpio_pin_getcaps() 432 GPIO_LOCK(sc); in max77620_gpio_pin_getname() 488 GPIO_LOCK(sc); in max77620_gpio_pin_getflags() 517 GPIO_LOCK(sc); in max77620_gpio_pin_setflags() 602 GPIO_LOCK(sc); in max77620_gpio_pin_set() 620 GPIO_LOCK(sc); in max77620_gpio_pin_get() 645 GPIO_LOCK(sc); in max77620_gpio_pin_toggle()
|
| /freebsd-13.1/sys/powerpc/mpc85xx/ |
| H A D | qoriq_gpio.c | 56 #define GPIO_LOCK(sc) mtx_lock(&(sc)->sc_mtx) macro 137 GPIO_LOCK(sc); in qoriq_gpio_pin_setflags() 169 GPIO_LOCK(sc); in qoriq_gpio_pin_set() 206 GPIO_LOCK(sc); in qoriq_gpio_pin_toggle()
|
| H A D | mpc85xx_gpio.c | 60 #define GPIO_LOCK(sc) mtx_lock(&(sc)->sc_mtx) macro 131 GPIO_LOCK(sc); in mpc85xx_gpio_pin_set() 168 GPIO_LOCK(sc); in mpc85xx_gpio_pin_toggle()
|
| /freebsd-13.1/sys/dev/nctgpio/ |
| H A D | nctgpio.c | 121 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 492 GPIO_LOCK(sc); in nct_attach() 600 GPIO_LOCK(sc); in nct_gpio_pin_set() 621 GPIO_LOCK(sc); in nct_gpio_pin_get() 638 GPIO_LOCK(sc); in nct_gpio_pin_toggle() 663 GPIO_LOCK(sc); in nct_gpio_pin_getcaps() 680 GPIO_LOCK(sc); in nct_gpio_pin_getflags() 697 GPIO_LOCK(sc); in nct_gpio_pin_getname() 732 GPIO_LOCK(sc); in nct_gpio_pin_setflags()
|
| /freebsd-13.1/sys/mips/atheros/ |
| H A D | ar71xx_gpio.c | 274 GPIO_LOCK(sc); in ar71xx_gpio_pin_getcaps() 295 GPIO_LOCK(sc); in ar71xx_gpio_pin_getflags() 316 GPIO_LOCK(sc); in ar71xx_gpio_pin_getname() 418 GPIO_LOCK(sc); in ar71xx_gpio_intr()
|
| H A D | ar71xx_gpiovar.h | 37 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx) macro
|
| /freebsd-13.1/sys/mips/atheros/ar531x/ |
| H A D | ar5315_gpiovar.h | 37 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx) macro
|
| H A D | ar5315_gpio.c | 167 GPIO_LOCK(sc); in ar5315_gpio_pin_getcaps() 216 GPIO_LOCK(sc); in ar5315_gpio_pin_getname() 315 GPIO_LOCK(sc); in ar5315_gpio_intr()
|
| /freebsd-13.1/sys/arm/mv/ |
| H A D | mvebu_gpio.c | 59 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 278 GPIO_LOCK(sc); in mvebu_gpio_pin_get() 296 GPIO_LOCK(sc); in mvebu_gpio_pin_toggle() 610 GPIO_LOCK(sc); in mvebu_gpio_pic_setup_intr()
|