Home
last modified time | relevance | path

Searched refs:GPIO_LOCK (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/qcom_tlmm/
H A Dqcom_tlmm_pin.c149 GPIO_LOCK(sc); in qcom_tlmm_pin_getcaps()
169 GPIO_LOCK(sc); in qcom_tlmm_pin_getflags()
220 GPIO_LOCK(sc); in qcom_tlmm_pin_getname()
237 GPIO_LOCK(sc); in qcom_tlmm_pin_setflags()
253 GPIO_LOCK(sc); in qcom_tlmm_pin_set()
269 GPIO_LOCK(sc); in qcom_tlmm_pin_get()
285 GPIO_LOCK(sc); in qcom_tlmm_pin_toggle()
304 GPIO_LOCK(sc); in qcom_tlmm_intr()
H A Dqcom_tlmm_var.h33 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->gpio_mtx) macro
H A Dqcom_tlmm_pinmux.c213 GPIO_LOCK(sc); in qcom_tlmm_pinctrl_config_gmux()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_gpio.c67 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) macro
193 GPIO_LOCK(sc); in vf_gpio_pin_getname()
215 GPIO_LOCK(sc); in vf_gpio_pin_getcaps()
237 GPIO_LOCK(sc); in vf_gpio_pin_getflags()
259 GPIO_LOCK(sc); in vf_gpio_pin_get()
281 GPIO_LOCK(sc); in vf_gpio_pin_toggle()
293 GPIO_LOCK(sc); in vf_gpio_pin_configure()
348 GPIO_LOCK(sc); in vf_gpio_pin_set()
/freebsd/sys/dev/gpio/dwgpio/
H A Ddwgpio.c88 #define GPIO_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) macro
216 GPIO_LOCK(sc); in dwgpio_pin_getname()
238 GPIO_LOCK(sc); in dwgpio_pin_getcaps()
260 GPIO_LOCK(sc); in dwgpio_pin_getflags()
282 GPIO_LOCK(sc); in dwgpio_pin_get()
305 GPIO_LOCK(sc); in dwgpio_pin_toggle()
324 GPIO_LOCK(sc); in dwgpio_pin_configure()
384 GPIO_LOCK(sc); in dwgpio_pin_set()
/freebsd/sys/dev/gpio/
H A Dqoriq_gpio.c79 GPIO_LOCK(sc); in qoriq_gpio_pin_getcaps()
148 GPIO_LOCK(sc); in qoriq_gpio_pin_setflags()
164 GPIO_LOCK(sc); in qoriq_gpio_pin_getflags()
182 GPIO_LOCK(sc); in qoriq_gpio_pin_set()
219 GPIO_LOCK(sc); in qoriq_gpio_pin_toggle()
261 GPIO_LOCK(sc); in qoriq_gpio_pin_access_32()
310 GPIO_LOCK(sc); in qoriq_gpio_pin_config_32()
337 GPIO_LOCK(sc); in qoriq_gpio_map_gpios()
H A Dqoriq_gpio.h37 #define GPIO_LOCK(sc) mtx_lock_spin(&(sc)->sc_mtx) macro
/freebsd/sys/arm64/qoriq/
H A Dqoriq_gpio_pic.c115 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_intr()
137 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_disable_intr()
151 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_enable_intr()
247 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_setup_intr()
272 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_teardown_intr()
287 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_post_filter()
302 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_post_ithread()
317 GPIO_LOCK(&sc->base); in qoriq_gpio_pic_pre_ithread()
/freebsd/sys/arm/nvidia/
H A Das3722_gpio.c71 #define GPIO_LOCK(_sc) sx_slock(&(_sc)->gpio_lock) macro
306 GPIO_LOCK(sc); in as3722_gpio_pin_getcaps()
320 GPIO_LOCK(sc); in as3722_gpio_pin_getname()
338 GPIO_LOCK(sc); in as3722_gpio_pin_getflags()
431 GPIO_LOCK(sc); in as3722_gpio_pin_setflags()
466 GPIO_LOCK(sc); in as3722_gpio_pin_set()
483 GPIO_LOCK(sc); in as3722_gpio_pin_get()
512 GPIO_LOCK(sc); in as3722_gpio_pin_toggle()
H A Dtegra_gpio.c54 #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/sys/arm64/nvidia/tegra210/
H A Dmax77620_gpio.c47 #define GPIO_LOCK(_sc) sx_slock(&(_sc)->gpio_lock) macro
415 GPIO_LOCK(sc); in max77620_gpio_pin_getcaps()
429 GPIO_LOCK(sc); in max77620_gpio_pin_getname()
485 GPIO_LOCK(sc); in max77620_gpio_pin_getflags()
514 GPIO_LOCK(sc); in max77620_gpio_pin_setflags()
599 GPIO_LOCK(sc); in max77620_gpio_pin_set()
617 GPIO_LOCK(sc); in max77620_gpio_pin_get()
642 GPIO_LOCK(sc); in max77620_gpio_pin_toggle()
/freebsd/sys/powerpc/mpc85xx/
H A Dmpc85xx_gpio.c55 #define GPIO_LOCK(sc) mtx_lock(&(sc)->sc_mtx) macro
126 GPIO_LOCK(sc); in mpc85xx_gpio_pin_set()
163 GPIO_LOCK(sc); in mpc85xx_gpio_pin_toggle()
/freebsd/sys/dev/ftgpio/
H A Dftgpio.c51 #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/sys/dev/nctgpio/
H A Dnctgpio.c133 #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/sys/arm/mv/
H A Dmvebu_gpio.c57 #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()