tag | line | file | source code |
alloc | 202 | drivers/sound/dev_table.h | int (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc); |
alloc | 206 | drivers/sound/dev_table.h | struct voice_alloc_info alloc; |
alloc | 2715 | drivers/sound/gus_wave.c | guswave_alloc (int dev, int chn, int note, struct voice_alloc_info *alloc) |
alloc | 2719 | drivers/sound/gus_wave.c | p = alloc->ptr; |
alloc | 2724 | drivers/sound/gus_wave.c | for (i = 0; i < alloc->max_voice; i++) |
alloc | 2726 | drivers/sound/gus_wave.c | if (alloc->map[p] == 0) |
alloc | 2728 | drivers/sound/gus_wave.c | alloc->ptr = p; |
alloc | 2731 | drivers/sound/gus_wave.c | if (alloc->alloc_times[p] < best_time) |
alloc | 2734 | drivers/sound/gus_wave.c | best_time = alloc->alloc_times[p]; |
alloc | 2736 | drivers/sound/gus_wave.c | p = (p + 1) % alloc->max_voice; |
alloc | 2743 | drivers/sound/gus_wave.c | for (i = 0; i < alloc->max_voice; i++) |
alloc | 2745 | drivers/sound/gus_wave.c | if (alloc->map[p] == 0xffff) |
alloc | 2747 | drivers/sound/gus_wave.c | alloc->ptr = p; |
alloc | 2750 | drivers/sound/gus_wave.c | p = (p + 1) % alloc->max_voice; |
alloc | 2756 | drivers/sound/gus_wave.c | alloc->ptr = p; |
alloc | 3110 | drivers/sound/gus_wave.c | voice_alloc = &guswave_operations.alloc; |
alloc | 1068 | drivers/sound/opl3.c | opl3_alloc_voice (int dev, int chn, int note, struct voice_alloc_info *alloc) |
alloc | 1110 | drivers/sound/opl3.c | if (alloc->map[p] == 0) |
alloc | 1114 | drivers/sound/opl3.c | if (alloc->alloc_times[p] < best_time) /* Find oldest playing note */ |
alloc | 1116 | drivers/sound/opl3.c | best_time = alloc->alloc_times[p]; |
alloc | 1219 | drivers/sound/opl3.c | devc->v_alloc = &opl3_operations.alloc; |
alloc | 507 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
alloc | 508 | drivers/sound/sequencer.c | if (synth_devs[dev]->alloc.map[i] == key) |
alloc | 523 | drivers/sound/sequencer.c | &synth_devs[dev]->alloc); |
alloc | 524 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.map[voice] = key; |
alloc | 525 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.alloc_times[voice] = |
alloc | 526 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.timestamp++; |
alloc | 673 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
alloc | 674 | drivers/sound/sequencer.c | if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) |
alloc | 695 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
alloc | 696 | drivers/sound/sequencer.c | if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) |