Lines Matching refs:snd_emu10k1

57 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr)  in set_ptb_entry()
68 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb()
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);
110 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) 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()
217 search_empty(struct snd_emu10k1 *emu, int size) in search_empty()
248 static int is_valid_page(struct snd_emu10k1 *emu, dma_addr_t addr) in is_valid_page()
269 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in snd_emu10k1_memblk_map()
312 snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream) in snd_emu10k1_alloc_pages()
373 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) in snd_emu10k1_free_pages()
389 int snd_emu10k1_alloc_pages_maybe_wider(struct snd_emu10k1 *emu, size_t size, in snd_emu10k1_alloc_pages_maybe_wider()
417 snd_emu10k1_synth_alloc(struct snd_emu10k1 *hw, unsigned int size) in snd_emu10k1_synth_alloc()
444 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) in snd_emu10k1_synth_free()
488 static void __synth_free_pages(struct snd_emu10k1 *emu, int first_page, in __synth_free_pages()
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()
562 static inline void *offset_ptr(struct snd_emu10k1 *emu, int page, int offset) in offset_ptr()
580 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, in snd_emu10k1_synth_bzero()
610 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, in snd_emu10k1_synth_copy_from_user()