/freebsd-11-stable/sys/dev/uart/ |
H A D | uart_cpu.h | 71 struct mtx *hwmtx; member in struct:uart_devinfo 93 uart_lock(struct mtx *hwmtx) argument 95 if (!kdb_active && hwmtx != NULL) 96 mtx_lock_spin(hwmtx); 100 uart_unlock(struct mtx *hwmtx) argument 102 if (!kdb_active && hwmtx != NULL) 103 mtx_unlock_spin(hwmtx); 111 uart_lock(di->hwmtx); 113 uart_unlock(di->hwmtx); 120 uart_lock(di->hwmtx); [all...] |
H A D | uart_dev_quicc.c | 205 quicc_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 211 uart_lock(hwmtx); 216 uart_unlock(hwmtx); 218 uart_lock(hwmtx); 225 uart_unlock(hwmtx);
|
H A D | uart_dev_sab82532.c | 313 sab82532_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 317 uart_lock(hwmtx); 323 uart_unlock(hwmtx); 325 uart_lock(hwmtx); 345 uart_unlock(hwmtx);
|
H A D | uart_dev_z8530.c | 245 z8530_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 249 uart_lock(hwmtx); 252 uart_unlock(hwmtx); 254 uart_lock(hwmtx); 259 uart_unlock(hwmtx);
|
H A D | uart_dev_lpc.c | 358 lpc_ns8250_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 362 uart_lock(hwmtx); 365 uart_unlock(hwmtx); 367 uart_lock(hwmtx); 372 uart_unlock(hwmtx);
|
H A D | uart_dev_ns8250.c | 351 ns8250_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 355 uart_lock(hwmtx); 358 uart_unlock(hwmtx); 360 uart_lock(hwmtx); 365 uart_unlock(hwmtx);
|
H A D | uart_dev_imx.c | 238 imx_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 242 uart_lock(hwmtx); 247 uart_unlock(hwmtx);
|
H A D | uart_core.c | 738 sc->sc_sysdev->hwmtx = sc->sc_hwmtx; 774 sc->sc_sysdev->hwmtx = NULL;
|
H A D | uart_dev_pl011.c | 214 uart_pl011_getc(struct uart_bas *bas, struct mtx *hwmtx) argument
|
H A D | uart_kbd_sun.c | 713 uart_lock(sc->sc_sysdev->hwmtx); 716 uart_unlock(sc->sc_sysdev->hwmtx);
|
/freebsd-11-stable/sys/mips/adm5120/ |
H A D | uart_dev_adm5120.c | 115 adm5120_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 119 uart_lock(hwmtx); 122 uart_unlock(hwmtx); 124 uart_lock(hwmtx); 129 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | uart_dev_ar933x.c | 283 ar933x_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 287 uart_lock(hwmtx); 292 uart_unlock(hwmtx); 294 uart_lock(hwmtx); 303 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | uart_dev_mtk.c | 164 mtk_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 168 uart_lock(hwmtx); 171 uart_unlock(hwmtx); 173 uart_lock(hwmtx); 178 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/mips/rt305x/ |
H A D | uart_dev_rt305x.c | 157 rt305x_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 161 uart_lock(hwmtx); 164 uart_unlock(hwmtx); 166 uart_lock(hwmtx); 171 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/arm/amlogic/aml8726/ |
H A D | uart_dev_aml8726.c | 263 aml8726_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 267 uart_lock(hwmtx); 271 uart_unlock(hwmtx); 273 uart_lock(hwmtx); 278 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/mips/cavium/ |
H A D | uart_dev_oct16550.c | 358 oct16550_getc (struct uart_bas *bas, struct mtx *hwmtx) argument 362 uart_lock(hwmtx); 368 uart_unlock(hwmtx); 370 uart_lock(hwmtx); 375 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/arm/freescale/vybrid/ |
H A D | vf_uart.c | 176 vf_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 180 uart_lock(hwmtx); 186 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/arm/at91/ |
H A D | uart_dev_at91usart.c | 109 static int at91_usart_getc(struct uart_bas *bas, struct mtx *hwmtx); 333 at91_usart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 337 uart_lock(hwmtx); 339 uart_unlock(hwmtx); 341 uart_lock(hwmtx); 344 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | sbbc.c | 633 static int sbbc_uart_getc(struct uart_bas *bas, struct mtx *hwmtx); 740 sbbc_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 750 uart_lock(hwmtx); 753 uart_unlock(hwmtx); 755 uart_lock(hwmtx); 773 uart_unlock(hwmtx);
|
/freebsd-11-stable/sys/dev/rp/ |
H A D | rpreg.h | 364 struct mtx hwmtx; /* Spinlock protecting hardware. */ member in struct:CONTROLLER_str 1016 mtx_lock(&CtlP->hwmtx); 1022 mtx_unlock(&CtlP->hwmtx);
|
H A D | rp.c | 769 mtx_init(&ctlp->hwmtx, "rp_hwmtx", NULL, MTX_DEF); 801 mtx_destroy(&ctlp->hwmtx);
|