Lines Matching refs:snd_emu10k1

42 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr)
53 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page)
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);
95 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp)
134 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk)
165 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk)
206 search_empty(struct snd_emu10k1 *emu, int size)
237 static int is_valid_page(struct snd_emu10k1 *emu, dma_addr_t addr)
258 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk)
302 snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream)
361 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk)
377 int snd_emu10k1_alloc_pages_maybe_wider(struct snd_emu10k1 *emu, size_t size,
405 snd_emu10k1_synth_alloc(struct snd_emu10k1 *hw, unsigned int size)
432 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk)
478 static void __synth_free_pages(struct snd_emu10k1 *emu, int first_page,
510 static int synth_alloc_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk)
542 static int synth_free_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk)
552 static inline void *offset_ptr(struct snd_emu10k1 *emu, int page, int offset)
570 int snd_emu10k1_synth_memset(struct snd_emu10k1 *emu, struct snd_util_memblk *blk,
630 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk,