Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/
Ddz.c83 atomic_t irq_guard; member
407 int irq_guard; in dz_startup() local
411 irq_guard = atomic_add_return(1, &mux->irq_guard); in dz_startup()
412 if (irq_guard != 1) in dz_startup()
418 atomic_add(-1, &mux->irq_guard); in dz_startup()
448 int irq_guard; in dz_shutdown() local
455 irq_guard = atomic_add_return(-1, &mux->irq_guard); in dz_shutdown()
456 if (!irq_guard) { in dz_shutdown()
Dzs.c761 int irq_guard; in zs_startup() local
764 irq_guard = atomic_add_return(1, &scc->irq_guard); in zs_startup()
765 if (irq_guard == 1) { in zs_startup()
769 atomic_add(-1, &scc->irq_guard); in zs_startup()
814 int irq_guard; in zs_shutdown() local
824 irq_guard = atomic_add_return(-1, &scc->irq_guard); in zs_shutdown()
825 if (!irq_guard) in zs_shutdown()
Dzs.h43 atomic_t irq_guard; member