Lines Matching refs:snd_emu10k1_memblk
84 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
85 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
87 #define get_emu10k1_memblk(l,member) list_entry(l, struct snd_emu10k1_memblk, member)
91 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init()
119 struct snd_emu10k1_memblk *blk = get_emu10k1_memblk(pos, mapped_link); in search_empty_map_area()
149 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_memblk()
180 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in unmap_memblk()
184 struct snd_emu10k1_memblk *q; in unmap_memblk()
216 static struct snd_emu10k1_memblk *
220 struct snd_emu10k1_memblk *blk; in search_empty()
236 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev… in search_empty()
269 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in snd_emu10k1_memblk_map()
274 struct snd_emu10k1_memblk *deleted; in snd_emu10k1_memblk_map()
316 struct snd_emu10k1_memblk *blk; in snd_emu10k1_alloc_pages()
419 struct snd_emu10k1_memblk *blk; in snd_emu10k1_synth_alloc()
423 blk = (struct snd_emu10k1_memblk *)__snd_util_mem_alloc(hdr, size); in snd_emu10k1_synth_alloc()
447 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; in snd_emu10k1_synth_free()
465 struct snd_emu10k1_memblk *blk, in get_single_page_range()
469 struct snd_emu10k1_memblk *q; in get_single_page_range()
520 static int synth_alloc_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in synth_alloc_pages()
552 static int synth_free_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in synth_free_pages()
585 struct snd_emu10k1_memblk *p = (struct snd_emu10k1_memblk *)blk; in snd_emu10k1_synth_bzero()
615 struct snd_emu10k1_memblk *p = (struct snd_emu10k1_memblk *)blk; in snd_emu10k1_synth_copy_from_user()