Searched refs:snd_util_memblk (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/include/sound/ |
H A D | util_mem.h | 15 struct snd_util_memblk { struct 21 #define snd_util_memblk_argptr(blk) (void*)((char*)(blk) + sizeof(struct snd_util_memblk)) argument 40 struct snd_util_memblk *snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size); 41 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 45 struct snd_util_memblk *__snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size); 46 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 47 struct snd_util_memblk *__snd_util_memblk_new(struct snd_util_memhdr *hdr,
|
H A D | emu10k1.h | 1503 struct snd_util_memblk *memblk; 1541 struct snd_util_memblk mem; 1878 struct snd_util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *… 1879 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk); 1882 struct snd_util_memblk *snd_emu10k1_synth_alloc(struct snd_emu10k1 *emu, unsigned int size); 1883 int snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *blk); 1884 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int s… 1885 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offs…
|
H A D | soundfont.h | 37 struct snd_util_memblk *block; /* allocated data block */
|
/openbmc/linux/sound/synth/ |
H A D | util_mem.c | 19 #define get_memblk(p) list_entry(p, struct snd_util_memblk, list) 59 struct snd_util_memblk * 62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() 96 struct snd_util_memblk * 100 struct snd_util_memblk *blk; in __snd_util_memblk_new() 102 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new() 110 struct snd_util_memblk *p = get_memblk(prev); in __snd_util_memblk_new() 124 struct snd_util_memblk * 127 struct snd_util_memblk *blk; in snd_util_mem_alloc() 140 __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) in __snd_util_mem_free() [all …]
|
/openbmc/linux/sound/pci/trident/ |
H A D | trident_memory.c | 107 static struct snd_util_memblk * 110 struct snd_util_memblk *blk; in search_empty() 117 blk = list_entry(p, struct snd_util_memblk, list); in search_empty() 156 static struct snd_util_memblk * 161 struct snd_util_memblk *blk; in snd_trident_alloc_sg_pages() 201 static struct snd_util_memblk * 206 struct snd_util_memblk *blk; in snd_trident_alloc_cont_pages() 244 struct snd_util_memblk * 261 struct snd_util_memblk *blk) in snd_trident_free_pages()
|
H A D | trident.h | 292 struct snd_util_memblk *memblk; /* memory block if TLB enabled */ 419 struct snd_util_memblk *snd_trident_alloc_pages(struct snd_trident *trident, 421 int snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk); 422 struct snd_util_memblk *snd_trident_synth_alloc(struct snd_trident *trident, unsigned int size); 423 int snd_trident_synth_free(struct snd_trident *trident, struct snd_util_memblk *blk); 424 int snd_trident_synth_copy_from_user(struct snd_trident *trident, struct snd_util_memblk *blk,
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | memory.c | 301 struct snd_util_memblk * 349 __snd_util_mem_free(hdr, (struct snd_util_memblk *)blk); in snd_emu10k1_alloc_pages() 354 return (struct snd_util_memblk *)blk; in snd_emu10k1_alloc_pages() 361 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) in snd_emu10k1_free_pages() 404 struct snd_util_memblk * 417 __snd_util_mem_free(hdr, (struct snd_util_memblk *)blk); in snd_emu10k1_synth_alloc() 423 return (struct snd_util_memblk *)blk; in snd_emu10k1_synth_alloc() 432 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) in snd_emu10k1_synth_free() 570 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, in snd_emu10k1_synth_bzero() 600 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, in snd_emu10k1_synth_copy_from_user()
|
H A D | emu10k1_main.c | 1659 sizeof(struct snd_util_memblk); in snd_emu10k1_create()
|
/openbmc/linux/sound/isa/sb/ |
H A D | emu8000_pcm.c | 44 struct snd_util_memblk *block;
|