| /linux/sound/isa/sb/ |
| H A D | emu8000_synth.c | 46 if (hw->memhdr) { in snd_emu8000_probe() 47 dev_err(hw->card->dev, "memhdr is already initialized!?\n"); in snd_emu8000_probe() 48 snd_util_memhdr_free(hw->memhdr); in snd_emu8000_probe() 50 hw->memhdr = snd_util_memhdr_new(hw->mem_size); in snd_emu8000_probe() 51 if (hw->memhdr == NULL) { in snd_emu8000_probe() 57 emu->memhdr = hw->memhdr; in snd_emu8000_probe() 65 snd_util_memhdr_free(hw->memhdr); in snd_emu8000_probe() 67 hw->memhdr = NULL; in snd_emu8000_probe() 94 snd_util_memhdr_free(hw->memhdr); in snd_emu8000_remove() [all...] |
| H A D | emu8000_pcm.c | 526 snd_util_mem_free(rec->emu->memhdr, rec->block); in emu8k_pcm_hw_params() 531 rec->block = snd_util_mem_alloc(rec->emu->memhdr, rec->allocated_bytes); in emu8k_pcm_hw_params() 554 snd_util_mem_free(rec->emu->memhdr, rec->block); in emu8k_pcm_hw_free()
|
| /linux/sound/synth/emux/ |
| H A D | emux_proc.c | 33 if (emu->memhdr) { in snd_emux_proc_info_read() 34 snd_iprintf(buf, "Memory Size: %d\n", emu->memhdr->size); in snd_emux_proc_info_read() 35 snd_iprintf(buf, "Memory Available: %d\n", snd_util_mem_avail(emu->memhdr)); in snd_emux_proc_info_read() 36 snd_iprintf(buf, "Allocated Blocks: %d\n", emu->memhdr->nblocks); in snd_emux_proc_info_read()
|
| H A D | emux_hwdep.c | 97 if (emu->memhdr) { in snd_emux_hwdep_ioctl() 98 int size = snd_util_mem_avail(emu->memhdr); in snd_emux_hwdep_ioctl()
|
| H A D | soundfont.c | 740 (sflist->callback.private_data, sp, sflist->memhdr, in load_data() 1018 (sflist->callback.private_data, smp, sflist->memhdr, in load_guspatch() 1376 sp, sflist->memhdr); in snd_sf_clear() 1400 sflist->memhdr = hdr; in snd_sf_new() 1478 sp, sflist->memhdr); in snd_soundfont_remove_unlocked()
|
| H A D | emux_oss.c | 258 if (emu->memhdr) in snd_emux_ioctl_seq_oss() 259 return snd_util_mem_avail(emu->memhdr); in snd_emux_ioctl_seq_oss()
|
| H A D | emux.c | 100 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
|
| /linux/sound/pci/emu10k1/ |
| H A D | memory.c | 214 list_for_each(p, &emu->memhdr->block) { in search_empty() 225 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev… in search_empty() 311 hdr = emu->memhdr; in snd_emu10k1_alloc_pages() 400 struct snd_util_memhdr *hdr = hw->memhdr; in snd_emu10k1_synth_alloc() 422 struct snd_util_memhdr *hdr = emu->memhdr; in snd_emu10k1_synth_free() 502 get_single_page_range(emu->memhdr, blk, &first_page, &last_page); in synth_alloc_pages() 532 get_single_page_range(emu->memhdr, blk, &first_page, &last_page); in synth_free_pages()
|
| H A D | emu10k1_synth.c | 44 emux->memhdr = hw->memhdr; in snd_emu10k1_synth_probe()
|
| H A D | emu10k1_main.c | 919 snd_util_memhdr_free(emu->memhdr); in snd_emu10k1_free() 1592 emu->memhdr = snd_util_memhdr_new(emu->max_cache_pages * PAGE_SIZE); in snd_emu10k1_create() 1593 if (!emu->memhdr) in snd_emu10k1_create() 1595 emu->memhdr->block_extra_size = sizeof(struct snd_emu10k1_memblk) - in snd_emu10k1_create()
|
| /linux/sound/pci/trident/ |
| H A D | trident_memory.c | 169 hdr = trident->tlb.memhdr; in snd_trident_alloc_sg_pages() 211 hdr = trident->tlb.memhdr; in snd_trident_alloc_cont_pages() 261 hdr = trident->tlb.memhdr; in snd_trident_free_pages()
|
| H A D | trident.h | 255 struct snd_util_memhdr * memhdr; /* page allocation list */ member
|
| H A D | trident_main.c | 3254 snd_iprintf(buffer, "Memory Maximum : %d\n", trident->tlb.memhdr->size); in snd_trident_proc_read() 3255 snd_iprintf(buffer, "Memory Used : %d\n", trident->tlb.memhdr->used); in snd_trident_proc_read() 3256 snd_iprintf(buffer, "Memory Free : %d\n", snd_util_mem_avail(trident->tlb.memhdr)); in snd_trident_proc_read() 3312 trident->tlb.memhdr = snd_util_memhdr_new(SNDRV_TRIDENT_PAGE_SIZE * SNDRV_TRIDENT_MAX_PAGES); in snd_trident_tlb_alloc() 3313 if (trident->tlb.memhdr == NULL) in snd_trident_tlb_alloc() 3316 trident->tlb.memhdr->block_extra_size = sizeof(struct snd_trident_memblk_arg); in snd_trident_tlb_alloc() 3596 snd_util_memhdr_free(trident->tlb.memhdr); in snd_trident_free()
|
| /linux/include/sound/ |
| H A D | emu8000.h | 71 struct snd_util_memhdr *memhdr; member
|
| H A D | soundfont.h | 85 struct snd_util_memhdr *memhdr; member
|
| H A D | emux_synth.h | 111 struct snd_util_memhdr *memhdr; /* memory chunk information */ member
|
| H A D | emu10k1.h | 1723 struct snd_util_memhdr *memhdr; /* page allocation list */ member
|