| /freebsd-14.2/sys/dev/qcom_tlmm/ |
| H A D | qcom_tlmm_pin.c | 150 GPIO_LOCK(sc); in qcom_tlmm_pin_getcaps() 170 GPIO_LOCK(sc); in qcom_tlmm_pin_getflags() 221 GPIO_LOCK(sc); in qcom_tlmm_pin_getname() 238 GPIO_LOCK(sc); in qcom_tlmm_pin_setflags() 254 GPIO_LOCK(sc); in qcom_tlmm_pin_set() 270 GPIO_LOCK(sc); in qcom_tlmm_pin_get() 286 GPIO_LOCK(sc); in qcom_tlmm_pin_toggle() 305 GPIO_LOCK(sc); in qcom_tlmm_intr()
|
| H A D | qcom_tlmm_var.h | 33 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx) macro
|
| H A D | qcom_tlmm_pinmux.c | 214 GPIO_LOCK(sc); in qcom_tlmm_pinctrl_config_gmux()
|
| /freebsd-14.2/sys/arm/freescale/vybrid/ |
| H A D | vf_gpio.c | 68 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) macro 194 GPIO_LOCK(sc); in vf_gpio_pin_getname() 216 GPIO_LOCK(sc); in vf_gpio_pin_getcaps() 238 GPIO_LOCK(sc); in vf_gpio_pin_getflags() 260 GPIO_LOCK(sc); in vf_gpio_pin_get() 282 GPIO_LOCK(sc); in vf_gpio_pin_toggle() 294 GPIO_LOCK(sc); in vf_gpio_pin_configure() 349 GPIO_LOCK(sc); in vf_gpio_pin_set()
|
| /freebsd-14.2/sys/dev/gpio/ |
| H A D | qoriq_gpio.c | 80 GPIO_LOCK(sc); in qoriq_gpio_pin_getcaps() 149 GPIO_LOCK(sc); in qoriq_gpio_pin_setflags() 165 GPIO_LOCK(sc); in qoriq_gpio_pin_getflags() 183 GPIO_LOCK(sc); in qoriq_gpio_pin_set() 220 GPIO_LOCK(sc); in qoriq_gpio_pin_toggle() 262 GPIO_LOCK(sc); in qoriq_gpio_pin_access_32() 311 GPIO_LOCK(sc); in qoriq_gpio_pin_config_32() 338 GPIO_LOCK(sc); in qoriq_gpio_map_gpios()
|
| H A D | qoriq_gpio.h | 37 #define GPIO_LOCK(sc) mtx_lock_spin(&(sc)->sc_mtx) macro
|
| /freebsd-14.2/sys/dev/gpio/dwgpio/ |
| H A D | dwgpio.c | 89 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) macro 217 GPIO_LOCK(sc); in dwgpio_pin_getname() 239 GPIO_LOCK(sc); in dwgpio_pin_getcaps() 261 GPIO_LOCK(sc); in dwgpio_pin_getflags() 283 GPIO_LOCK(sc); in dwgpio_pin_get() 306 GPIO_LOCK(sc); in dwgpio_pin_toggle() 325 GPIO_LOCK(sc); in dwgpio_pin_configure() 385 GPIO_LOCK(sc); in dwgpio_pin_set()
|
| /freebsd-14.2/sys/arm64/qoriq/ |
| H A D | qoriq_gpio_pic.c | 116 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_intr() 138 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_disable_intr() 152 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_enable_intr() 248 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_setup_intr() 273 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_teardown_intr() 288 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_post_filter() 303 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_post_ithread() 318 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_pre_ithread()
|
| /freebsd-14.2/sys/arm/nvidia/ |
| H A D | as3722_gpio.c | 72 #define GPIO_LOCK(_sc) sx_slock(&(_sc)->gpio_lock) macro 307 GPIO_LOCK(sc); in as3722_gpio_pin_getcaps() 321 GPIO_LOCK(sc); in as3722_gpio_pin_getname() 339 GPIO_LOCK(sc); in as3722_gpio_pin_getflags() 432 GPIO_LOCK(sc); in as3722_gpio_pin_setflags() 467 GPIO_LOCK(sc); in as3722_gpio_pin_set() 484 GPIO_LOCK(sc); in as3722_gpio_pin_get() 513 GPIO_LOCK(sc); in as3722_gpio_pin_toggle()
|
| H A D | tegra_gpio.c | 54 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 216 GPIO_LOCK(sc); in tegra_gpio_pin_getcaps() 233 GPIO_LOCK(sc); in tegra_gpio_pin_getflags() 254 GPIO_LOCK(sc); in tegra_gpio_pin_getname() 271 GPIO_LOCK(sc); in tegra_gpio_pin_setflags() 294 GPIO_LOCK(sc); in tegra_gpio_pin_set() 310 GPIO_LOCK(sc); in tegra_gpio_pin_get() 326 GPIO_LOCK(sc); in tegra_gpio_pin_toggle() 360 GPIO_LOCK(sc); in intr_write_modify()
|
| /freebsd-14.2/sys/arm64/nvidia/tegra210/ |
| H A D | max77620_gpio.c | 48 #define GPIO_LOCK(_sc) sx_slock(&(_sc)->gpio_lock) macro 416 GPIO_LOCK(sc); in max77620_gpio_pin_getcaps() 430 GPIO_LOCK(sc); in max77620_gpio_pin_getname() 486 GPIO_LOCK(sc); in max77620_gpio_pin_getflags() 515 GPIO_LOCK(sc); in max77620_gpio_pin_setflags() 600 GPIO_LOCK(sc); in max77620_gpio_pin_set() 618 GPIO_LOCK(sc); in max77620_gpio_pin_get() 643 GPIO_LOCK(sc); in max77620_gpio_pin_toggle()
|
| /freebsd-14.2/sys/powerpc/mpc85xx/ |
| H A D | mpc85xx_gpio.c | 56 #define GPIO_LOCK(sc) mtx_lock(&(sc)->sc_mtx) macro 127 GPIO_LOCK(sc); in mpc85xx_gpio_pin_set() 164 GPIO_LOCK(sc); in mpc85xx_gpio_pin_toggle()
|
| /freebsd-14.2/sys/dev/ftgpio/ |
| H A D | ftgpio.c | 51 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 368 GPIO_LOCK(sc); in ftgpio_attach() 449 GPIO_LOCK(sc); in ftgpio_gpio_pin_set() 472 GPIO_LOCK(sc); in ftgpio_gpio_pin_get() 489 GPIO_LOCK(sc); in ftgpio_gpio_pin_toggle() 568 GPIO_LOCK(sc); in ftgpio_gpio_pin_setflags()
|
| /freebsd-14.2/sys/dev/nctgpio/ |
| H A D | nctgpio.c | 133 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 1196 GPIO_LOCK(sc); in nct_attach() 1317 GPIO_LOCK(sc); in nct_gpio_pin_set() 1339 GPIO_LOCK(sc); in nct_gpio_pin_get() 1357 GPIO_LOCK(sc); in nct_gpio_pin_toggle() 1383 GPIO_LOCK(sc); in nct_gpio_pin_getcaps() 1401 GPIO_LOCK(sc); in nct_gpio_pin_getflags() 1419 GPIO_LOCK(sc); in nct_gpio_pin_getname() 1455 GPIO_LOCK(sc); in nct_gpio_pin_setflags()
|
| /freebsd-14.2/sys/arm/mv/ |
| H A D | mvebu_gpio.c | 57 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->mtx) macro 276 GPIO_LOCK(sc); in mvebu_gpio_pin_get() 294 GPIO_LOCK(sc); in mvebu_gpio_pin_toggle() 608 GPIO_LOCK(sc); in mvebu_gpio_pic_setup_intr()
|