tag | line | file | source code |
alloc | 208 | drivers/sound/dev_table.h | int (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc); |
alloc | 212 | drivers/sound/dev_table.h | struct voice_alloc_info alloc; |
alloc | 2719 | drivers/sound/gus_wave.c | guswave_alloc (int dev, int chn, int note, struct voice_alloc_info *alloc) |
alloc | 2723 | drivers/sound/gus_wave.c | p = alloc->ptr; |
alloc | 2728 | drivers/sound/gus_wave.c | for (i = 0; i < alloc->max_voice; i++) |
alloc | 2730 | drivers/sound/gus_wave.c | if (alloc->map[p] == 0) |
alloc | 2732 | drivers/sound/gus_wave.c | alloc->ptr = p; |
alloc | 2735 | drivers/sound/gus_wave.c | if (alloc->alloc_times[p] < best_time) |
alloc | 2738 | drivers/sound/gus_wave.c | best_time = alloc->alloc_times[p]; |
alloc | 2740 | drivers/sound/gus_wave.c | p = (p + 1) % alloc->max_voice; |
alloc | 2747 | drivers/sound/gus_wave.c | for (i = 0; i < alloc->max_voice; i++) |
alloc | 2749 | drivers/sound/gus_wave.c | if (alloc->map[p] == 0xffff) |
alloc | 2751 | drivers/sound/gus_wave.c | alloc->ptr = p; |
alloc | 2754 | drivers/sound/gus_wave.c | p = (p + 1) % alloc->max_voice; |
alloc | 2760 | drivers/sound/gus_wave.c | alloc->ptr = p; |
alloc | 3141 | drivers/sound/gus_wave.c | voice_alloc = &guswave_operations.alloc; |
alloc | 1071 | drivers/sound/opl3.c | opl3_alloc_voice (int dev, int chn, int note, struct voice_alloc_info *alloc) |
alloc | 1113 | drivers/sound/opl3.c | if (alloc->map[p] == 0) |
alloc | 1117 | drivers/sound/opl3.c | if (alloc->alloc_times[p] < best_time) /* Find oldest playing note */ |
alloc | 1119 | drivers/sound/opl3.c | best_time = alloc->alloc_times[p]; |
alloc | 1222 | drivers/sound/opl3.c | devc->v_alloc = &opl3_operations.alloc; |
alloc | 492 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
alloc | 493 | drivers/sound/sequencer.c | if (synth_devs[dev]->alloc.map[i] == key) |
alloc | 508 | drivers/sound/sequencer.c | &synth_devs[dev]->alloc); |
alloc | 509 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.map[voice] = key; |
alloc | 510 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.alloc_times[voice] = |
alloc | 511 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.timestamp++; |
alloc | 658 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
alloc | 659 | drivers/sound/sequencer.c | if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) |
alloc | 680 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
alloc | 681 | drivers/sound/sequencer.c | if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) |