/freebsd-10-stable/sys/dev/uart/ |
H A D | uart_cpu.h | 71 struct mtx *hwmtx; member in struct:uart_devinfo 91 uart_lock(struct mtx *hwmtx) argument 93 if (!kdb_active && hwmtx != NULL) 94 mtx_lock_spin(hwmtx); 98 uart_unlock(struct mtx *hwmtx) argument 100 if (!kdb_active && hwmtx != NULL) 101 mtx_unlock_spin(hwmtx); 109 uart_lock(di->hwmtx); 111 uart_unlock(di->hwmtx); 118 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_ns8250.c | 349 ns8250_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 353 uart_lock(hwmtx); 356 uart_unlock(hwmtx); 358 uart_lock(hwmtx); 363 uart_unlock(hwmtx);
|
H A D | uart_dev_lpc.c | 359 lpc_ns8250_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 363 uart_lock(hwmtx); 366 uart_unlock(hwmtx); 368 uart_lock(hwmtx); 373 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_kbd_sun.c | 714 uart_lock(sc->sc_sysdev->hwmtx); 717 uart_unlock(sc->sc_sysdev->hwmtx);
|
H A D | uart_core.c | 717 sc->sc_sysdev->hwmtx = sc->sc_hwmtx; 747 sc->sc_sysdev->hwmtx = NULL;
|
H A D | uart_dev_pl011.c | 214 uart_pl011_getc(struct uart_bas *bas, struct mtx *hwmtx) argument
|
/freebsd-10-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-10-stable/sys/mips/rt305x/ |
H A D | uart_dev_rt305x.c | 161 rt305x_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 165 uart_lock(hwmtx); 168 uart_unlock(hwmtx); 170 uart_lock(hwmtx); 175 uart_unlock(hwmtx);
|
/freebsd-10-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-10-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-10-stable/sys/arm/freescale/vybrid/ |
H A D | vf_uart.c | 177 vf_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) argument 181 uart_lock(hwmtx); 187 uart_unlock(hwmtx);
|
/freebsd-10-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-10-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-10-stable/sys/dev/rp/ |
H A D | rpreg.h | 364 struct mtx hwmtx; /* Spinlock protecting hardware. */ member in struct:CONTROLLER_str 1016 mtx_lock_spin(&CtlP->hwmtx); 1022 mtx_unlock_spin(&CtlP->hwmtx);
|
H A D | rp.c | 804 mtx_init(&ctlp->hwmtx, "rp_hwmtx", NULL, MTX_DEF);
|