Lines Matching refs:pagecount
45 u32 pageindex, pagecount; in emu10k1_voice_alloc_buffer() local
58 for (pagecount = 0; pagecount < pages; pagecount++) { in emu10k1_voice_alloc_buffer()
59 …if ((mem->addr[pagecount] = pci_alloc_consistent(card->pci_dev, PAGE_SIZE, &mem->dma_handle[pageco… in emu10k1_voice_alloc_buffer()
61 mem->pages = pagecount; in emu10k1_voice_alloc_buffer()
66 DPD(2, "Virtual Addx: %p\n", mem->addr[pagecount]); in emu10k1_voice_alloc_buffer()
69 busaddx = (u32) mem->dma_handle[pagecount] + i * EMUPAGESIZE; in emu10k1_voice_alloc_buffer()
73 pageindex = mem->emupageindex + pagecount * PAGE_SIZE / EMUPAGESIZE + i; in emu10k1_voice_alloc_buffer()
79 mem->pages = pagecount; in emu10k1_voice_alloc_buffer()
91 u32 pagecount, pageindex; in emu10k1_voice_free_buffer() local
97 for (pagecount = 0; pagecount < mem->pages; pagecount++) { in emu10k1_voice_free_buffer()
99 mem->addr[pagecount], in emu10k1_voice_free_buffer()
100 mem->dma_handle[pagecount]); in emu10k1_voice_free_buffer()
103 pageindex = mem->emupageindex + pagecount * PAGE_SIZE / EMUPAGESIZE + i; in emu10k1_voice_free_buffer()