Home
last modified time | relevance | path

Searched refs:memhdr (Results 1 – 10 of 10) sorted by relevance

/linux/sound/isa/sb/
H A Demu8000_synth.c46 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 Demu8000_pcm.c526 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 Demux_hwdep.c97 if (emu->memhdr) { in snd_emux_hwdep_ioctl()
98 int size = snd_util_mem_avail(emu->memhdr); in snd_emux_hwdep_ioctl()
H A Dsoundfont.c740 (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 Demux_oss.c258 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 Demux.c100 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
/linux/include/sound/
H A Demu8000.h71 struct snd_util_memhdr *memhdr; member
H A Demux_synth.h111 struct snd_util_memhdr *memhdr; /* memory chunk information */ member
/linux/sound/pci/trident/
H A Dtrident.h255 struct snd_util_memhdr * memhdr; /* page allocation list */ member
H A Dtrident_main.c3254 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()