Searched refs:irq_guard (Results 1 – 3 of 3) sorted by relevance
79 atomic_t irq_guard; member402 int irq_guard; in dz_startup() local406 irq_guard = atomic_add_return(1, &mux->irq_guard); in dz_startup()407 if (irq_guard != 1) in dz_startup()413 atomic_add(-1, &mux->irq_guard); in dz_startup()443 int irq_guard; in dz_shutdown() local450 irq_guard = atomic_add_return(-1, &mux->irq_guard); in dz_shutdown()451 if (!irq_guard) { in dz_shutdown()
757 int irq_guard; in zs_startup() local760 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() local820 irq_guard = atomic_add_return(-1, &scc->irq_guard); in zs_shutdown()821 if (!irq_guard) in zs_shutdown()
43 atomic_t irq_guard; member