Lines Matching refs:snd_emu10k1_memblk
69 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
70 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
72 #define get_emu10k1_memblk(l,member) list_entry(l, struct snd_emu10k1_memblk, member)
76 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init()
104 struct snd_emu10k1_memblk *blk = get_emu10k1_memblk(pos, mapped_link); in search_empty_map_area()
134 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_memblk()
165 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in unmap_memblk()
169 struct snd_emu10k1_memblk *q; in unmap_memblk()
205 static struct snd_emu10k1_memblk *
209 struct snd_emu10k1_memblk *blk; in search_empty()
225 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev… in search_empty()
258 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in snd_emu10k1_memblk_map()
263 struct snd_emu10k1_memblk *deleted; in snd_emu10k1_memblk_map()
306 struct snd_emu10k1_memblk *blk; in snd_emu10k1_alloc_pages()
409 struct snd_emu10k1_memblk *blk; in snd_emu10k1_synth_alloc()
413 blk = (struct snd_emu10k1_memblk *)__snd_util_mem_alloc(hdr, size); in snd_emu10k1_synth_alloc()
437 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; in snd_emu10k1_synth_free()
455 struct snd_emu10k1_memblk *blk, in get_single_page_range()
459 struct snd_emu10k1_memblk *q; in get_single_page_range()
512 static int synth_alloc_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in synth_alloc_pages()
544 static int synth_free_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in synth_free_pages()
577 struct snd_emu10k1_memblk *p = (struct snd_emu10k1_memblk *)blk; in snd_emu10k1_synth_bzero()
607 struct snd_emu10k1_memblk *p = (struct snd_emu10k1_memblk *)blk; in snd_emu10k1_synth_copy_from_user()