Home
last modified time | relevance | path

Searched refs:sc_hwmtx (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/dev/uart/
H A Duart_dev_lowrisc.c246 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_ioctl()
258 uart_unlock(sc->sc_hwmtx); in lowrisc_uart_bus_ioctl()
273 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_ipend()
277 uart_unlock(sc->sc_hwmtx); in lowrisc_uart_bus_ipend()
287 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_param()
289 uart_unlock(sc->sc_hwmtx); in lowrisc_uart_bus_param()
325 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_receive()
338 uart_unlock(sc->sc_hwmtx); in lowrisc_uart_bus_receive()
358 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_transmit()
373 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_grab()
[all …]
H A Duart_dev_mvebu.c329 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_attach()
341 uart_unlock(sc->sc_hwmtx); in uart_mvebu_bus_attach()
360 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_flush()
385 uart_unlock(sc->sc_hwmtx); in uart_mvebu_bus_flush()
404 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_ioctl()
438 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_ipend()
468 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_param()
502 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_receive()
553 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_transmit()
587 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_grab()
[all …]
H A Duart_dev_mu.c349 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ioctl()
360 uart_unlock(sc->sc_hwmtx); in uart_mu_bus_ioctl()
376 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ipend()
397 uart_unlock(sc->sc_hwmtx); in uart_mu_bus_ipend()
407 uart_lock(sc->sc_hwmtx); in uart_mu_bus_param()
409 uart_unlock(sc->sc_hwmtx); in uart_mu_bus_param()
434 uart_lock(sc->sc_hwmtx); in uart_mu_bus_receive()
447 uart_unlock(sc->sc_hwmtx); in uart_mu_bus_receive()
468 uart_lock(sc->sc_hwmtx); in uart_mu_bus_transmit()
494 uart_lock(sc->sc_hwmtx); in uart_mu_bus_grab()
[all …]
H A Duart_dev_quicc.c334 uart_lock(sc->sc_hwmtx); in quicc_bus_getsig()
355 uart_lock(sc->sc_hwmtx); in quicc_bus_ioctl()
369 uart_unlock(sc->sc_hwmtx); in quicc_bus_ioctl()
383 uart_lock(sc->sc_hwmtx); in quicc_bus_ipend()
386 uart_unlock(sc->sc_hwmtx); in quicc_bus_ipend()
405 uart_lock(sc->sc_hwmtx); in quicc_bus_param()
436 uart_lock(sc->sc_hwmtx); in quicc_bus_receive()
464 uart_lock(sc->sc_hwmtx); in quicc_bus_setsig()
478 uart_lock(sc->sc_hwmtx); in quicc_bus_transmit()
498 uart_lock(sc->sc_hwmtx); in quicc_bus_grab()
[all …]
H A Duart_dev_pl011.c409 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ioctl()
420 uart_unlock(sc->sc_hwmtx); in uart_pl011_bus_ioctl()
436 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ipend()
454 uart_unlock(sc->sc_hwmtx); in uart_pl011_bus_ipend()
464 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_param()
466 uart_unlock(sc->sc_hwmtx); in uart_pl011_bus_param()
537 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_receive()
559 uart_unlock(sc->sc_hwmtx); in uart_pl011_bus_receive()
580 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_transmit()
606 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_grab()
[all …]
H A Duart_dev_z8530.c378 uart_lock(sc->sc_hwmtx); in z8530_bus_getsig()
398 uart_lock(sc->sc_hwmtx); in z8530_bus_ioctl()
418 uart_unlock(sc->sc_hwmtx); in z8530_bus_ioctl()
434 uart_lock(sc->sc_hwmtx); in z8530_bus_ipend()
490 uart_unlock(sc->sc_hwmtx); in z8530_bus_ipend()
502 uart_lock(sc->sc_hwmtx); in z8530_bus_param()
536 uart_lock(sc->sc_hwmtx); in z8530_bus_receive()
595 uart_lock(sc->sc_hwmtx); in z8530_bus_setsig()
617 uart_lock(sc->sc_hwmtx); in z8530_bus_transmit()
634 uart_lock(sc->sc_hwmtx); in z8530_bus_grab()
[all …]
H A Duart_dev_msm.c364 uart_lock(sc->sc_hwmtx); in msm_bus_transmit()
383 uart_unlock(sc->sc_hwmtx); in msm_bus_transmit()
403 uart_lock(sc->sc_hwmtx); in msm_bus_receive()
426 uart_unlock(sc->sc_hwmtx); in msm_bus_receive()
442 uart_lock(sc->sc_hwmtx); in msm_bus_param()
445 uart_unlock(sc->sc_hwmtx); in msm_bus_param()
458 uart_lock(sc->sc_hwmtx); in msm_bus_ipend()
506 uart_unlock(sc->sc_hwmtx); in msm_bus_ipend()
540 uart_lock(sc->sc_hwmtx); in msm_bus_grab()
544 uart_unlock(sc->sc_hwmtx); in msm_bus_grab()
[all …]
H A Duart_dev_imx.c454 uart_lock(sc->sc_hwmtx); in imx_uart_bus_getsig()
473 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ioctl()
485 uart_unlock(sc->sc_hwmtx); in imx_uart_bus_ioctl()
501 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ipend()
536 uart_unlock(sc->sc_hwmtx); in imx_uart_bus_ipend()
546 uart_lock(sc->sc_hwmtx); in imx_uart_bus_param()
548 uart_unlock(sc->sc_hwmtx); in imx_uart_bus_param()
581 uart_lock(sc->sc_hwmtx); in imx_uart_bus_receive()
629 uart_lock(sc->sc_hwmtx); in imx_uart_bus_transmit()
654 uart_lock(sc->sc_hwmtx); in imx_uart_bus_grab()
[all …]
H A Duart_dev_ns8250.c629 uart_lock(sc->sc_hwmtx); in ns8250_bus_flush()
637 uart_unlock(sc->sc_hwmtx); in ns8250_bus_flush()
661 uart_lock(sc->sc_hwmtx); in ns8250_bus_getsig()
687 uart_lock(sc->sc_hwmtx); in ns8250_bus_ioctl()
761 uart_lock(sc->sc_hwmtx); in ns8250_bus_ipend()
807 uart_lock(sc->sc_hwmtx); in ns8250_bus_param()
995 uart_lock(sc->sc_hwmtx); in ns8250_bus_receive()
1038 uart_lock(sc->sc_hwmtx); in ns8250_bus_setsig()
1058 uart_lock(sc->sc_hwmtx); in ns8250_bus_transmit()
1102 uart_lock(sc->sc_hwmtx); in ns8250_bus_grab()
[all …]
H A Duart_bus_scc.c77 sc->sc_hwmtx = (struct mtx *)(void *)mtx; in uart_scc_attach()
H A Duart_core.c607 if (sc->sc_hwmtx == NULL) in uart_bus_attach()
608 sc->sc_hwmtx = &sc->sc_hwmtx_s; in uart_bus_attach()
741 sc->sc_sysdev->hwmtx = sc->sc_hwmtx; in uart_bus_attach()
H A Duart_bus.h83 struct mtx *sc_hwmtx; member
/freebsd/sys/riscv/sifive/
H A Dsifive_uart.c262 uart_lock(sc->sc_hwmtx); in sfuart_bus_flush()
275 uart_unlock(sc->sc_hwmtx); in sfuart_bus_flush()
333 uart_lock(sc->sc_hwmtx); in sfuart_bus_ioctl()
351 uart_unlock(sc->sc_hwmtx); in sfuart_bus_ioctl()
364 uart_lock(sc->sc_hwmtx); in sfuart_bus_ipend()
382 uart_unlock(sc->sc_hwmtx); in sfuart_bus_ipend()
402 uart_lock(sc->sc_hwmtx); in sfuart_bus_param()
430 uart_lock(sc->sc_hwmtx); in sfuart_bus_receive()
457 uart_lock(sc->sc_hwmtx); in sfuart_bus_transmit()
480 uart_lock(sc->sc_hwmtx); in sfuart_bus_grab()
[all …]
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_uart.c343 uart_lock(sc->sc_hwmtx); in vf_uart_bus_ioctl()
356 uart_unlock(sc->sc_hwmtx); in vf_uart_bus_ioctl()
372 uart_lock(sc->sc_hwmtx); in vf_uart_bus_ipend()
403 uart_unlock(sc->sc_hwmtx); in vf_uart_bus_ipend()
413 uart_lock(sc->sc_hwmtx); in vf_uart_bus_param()
415 uart_unlock(sc->sc_hwmtx); in vf_uart_bus_param()
444 uart_lock(sc->sc_hwmtx); in vf_uart_bus_receive()
463 uart_unlock(sc->sc_hwmtx); in vf_uart_bus_receive()
495 uart_lock(sc->sc_hwmtx); in vf_uart_bus_transmit()
510 uart_unlock(sc->sc_hwmtx); in vf_uart_bus_transmit()
/freebsd/sys/arm/xilinx/
H A Duart_dev_cdnc.c459 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_transmit()
471 uart_unlock(sc->sc_hwmtx); in cdnc_uart_bus_transmit()
492 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_setsig()
501 uart_unlock(sc->sc_hwmtx); in cdnc_uart_bus_setsig()
512 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_receive()
540 uart_unlock(sc->sc_hwmtx); in cdnc_uart_bus_receive()
561 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_ipend()
600 uart_unlock(sc->sc_hwmtx); in cdnc_uart_bus_ipend()
621 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_getsig()
644 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_ioctl()
[all …]
/freebsd/sys/dev/scc/
H A Dscc_dev_quicc.c111 mtx_lock_spin(&sc->sc_hwmtx); in quicc_bfe_iclear()
118 mtx_unlock_spin(&sc->sc_hwmtx); in quicc_bfe_iclear()
137 mtx_lock_spin(&sc->sc_hwmtx); in quicc_bfe_ipend()
140 mtx_unlock_spin(&sc->sc_hwmtx); in quicc_bfe_ipend()
H A Dscc_dev_z8530.c116 mtx_lock_spin(&sc->sc_hwmtx); in z8530_bfe_iclear()
127 mtx_unlock_spin(&sc->sc_hwmtx); in z8530_bfe_iclear()
152 mtx_lock_spin(&sc->sc_hwmtx); in z8530_bfe_ipend()
194 mtx_unlock_spin(&sc->sc_hwmtx); in z8530_bfe_ipend()
H A Dscc_bfe.h123 struct mtx sc_hwmtx; /* Spinlock protecting hardware. */ member
H A Dscc_core.c126 mtx_init(&sc->sc_hwmtx, "scc_hwmtx", NULL, MTX_SPIN); in scc_bfe_attach()
345 mtx_destroy(&sc->sc_hwmtx); in scc_bfe_detach()
489 *result = (uintptr_t)&sc->sc_hwmtx; in scc_bus_read_ivar()
/freebsd/sys/arm/nvidia/
H A Dtegra_uart.c99 uart_lock(sc->sc_hwmtx); in tegra_uart_grab()
108 uart_unlock(sc->sc_hwmtx); in tegra_uart_grab()
120 uart_lock(sc->sc_hwmtx); in tegra_uart_ungrab()
124 uart_unlock(sc->sc_hwmtx); in tegra_uart_ungrab()