Home
last modified time | relevance | path

Searched refs:irq_guard (Results 1 – 3 of 3) sorted by relevance

/drivers/tty/serial/
Ddz.c79 atomic_t irq_guard; member
403 int irq_guard; in dz_startup() local
407 irq_guard = atomic_add_return(1, &mux->irq_guard); in dz_startup()
408 if (irq_guard != 1) in dz_startup()
414 atomic_add(-1, &mux->irq_guard); in dz_startup()
444 int irq_guard; in dz_shutdown() local
451 irq_guard = atomic_add_return(-1, &mux->irq_guard); in dz_shutdown()
452 if (!irq_guard) { in dz_shutdown()
Dzs.c757 int irq_guard; in zs_startup() local
760 irq_guard = atomic_add_return(1, &scc->irq_guard); in zs_startup()
761 if (irq_guard == 1) { in zs_startup()
765 atomic_add(-1, &scc->irq_guard); in zs_startup()
810 int irq_guard; in zs_shutdown() local
820 irq_guard = atomic_add_return(-1, &scc->irq_guard); in zs_shutdown()
821 if (!irq_guard) in zs_shutdown()
Dzs.h43 atomic_t irq_guard; member