voice_alloc
spinlock_t voice_alloc;
spin_lock_init(&gus->voice_alloc);
scoped_guard(spinlock_irqsave, &gus->voice_alloc) {
guard(spinlock_irqsave)(&gus->voice_alloc);
scoped_guard(spinlock_irqsave, &gus->voice_alloc) {
spin_lock_init(&codec->voice_alloc);
spinlock_t voice_alloc;
guard(spinlock_irq)(&codec->voice_alloc);
scoped_guard(spinlock_irq, &codec->voice_alloc) {
result = voice_alloc(emu, type, count, epcm, &rvoice[got]);
spinlock_t voice_alloc;
spin_lock_init(&trident->voice_alloc);
guard(spinlock_irqsave)(&trident->voice_alloc);
scoped_guard(spinlock_irqsave, &trident->voice_alloc) {
result = voice_alloc(chip, type, pair, rvoice);