• Home
  • Raw
  • Download

Lines Matching refs:tlb

789 	if (trident->tlb.entries) {  in snd_trident_allocate_pcm_mem()
882 if (trident->tlb.entries) { in snd_trident_hw_free()
2128 if (trident->tlb.entries) { in snd_trident_pcm()
2143 if (trident->tlb.entries) { in snd_trident_pcm()
2187 if (trident->tlb.entries) in snd_trident_foldback_pcm()
2205 if (trident->tlb.entries) in snd_trident_foldback_pcm()
3284 if (trident->tlb.entries) { in snd_trident_proc_read()
3286 snd_iprintf(buffer, "Memory Maximum : %d\n", trident->tlb.memhdr->size); in snd_trident_proc_read()
3287 snd_iprintf(buffer, "Memory Used : %d\n", trident->tlb.memhdr->used); in snd_trident_proc_read()
3288 snd_iprintf(buffer, "Memory Free : %d\n", snd_util_mem_avail(trident->tlb.memhdr)); in snd_trident_proc_read()
3321 trident->tlb.buffer = in snd_trident_tlb_alloc()
3324 if (!trident->tlb.buffer) { in snd_trident_tlb_alloc()
3328 …trident->tlb.entries = (__le32 *)ALIGN((unsigned long)trident->tlb.buffer->area, SNDRV_TRIDENT_MAX… in snd_trident_tlb_alloc()
3329 trident->tlb.entries_dmaaddr = ALIGN(trident->tlb.buffer->addr, SNDRV_TRIDENT_MAX_PAGES * 4); in snd_trident_tlb_alloc()
3332 trident->tlb.silent_page = in snd_trident_tlb_alloc()
3335 if (!trident->tlb.silent_page) { in snd_trident_tlb_alloc()
3339 memset(trident->tlb.silent_page->area, 0, SNDRV_TRIDENT_PAGE_SIZE); in snd_trident_tlb_alloc()
3341 …trident->tlb.entries[i] = cpu_to_le32(trident->tlb.silent_page->addr & ~(SNDRV_TRIDENT_PAGE_SIZE-1… in snd_trident_tlb_alloc()
3344 trident->tlb.memhdr = snd_util_memhdr_new(SNDRV_TRIDENT_PAGE_SIZE * SNDRV_TRIDENT_MAX_PAGES); in snd_trident_tlb_alloc()
3345 if (trident->tlb.memhdr == NULL) in snd_trident_tlb_alloc()
3348 trident->tlb.memhdr->block_extra_size = sizeof(struct snd_trident_memblk_arg); in snd_trident_tlb_alloc()
3443 if (trident->tlb.entries != NULL) { in snd_trident_4d_nx_init()
3446 i = trident->tlb.entries_dmaaddr; in snd_trident_4d_nx_init()
3550 trident->tlb.entries = NULL; in snd_trident_create()
3626 if (trident->tlb.buffer) { in snd_trident_free()
3628 snd_util_memhdr_free(trident->tlb.memhdr); in snd_trident_free()