Searched refs:pages (Results 1 – 10 of 10) sorted by relevance
/sound/core/ |
D | sgbuf.c | 47 for (i = 0; i < sgbuf->pages; i++) { in snd_free_sgbuf_pages() 71 unsigned int i, pages, chunk, maxpages; in snd_malloc_sgbuf_pages() local 82 pages = snd_sgbuf_aligned_pages(size); in snd_malloc_sgbuf_pages() 83 sgbuf->tblsize = sgbuf_align_table(pages); in snd_malloc_sgbuf_pages() 95 while (pages > 0) { in snd_malloc_sgbuf_pages() 96 chunk = pages; in snd_malloc_sgbuf_pages() 103 if (!sgbuf->pages) in snd_malloc_sgbuf_pages() 107 size = sgbuf->pages * PAGE_SIZE; in snd_malloc_sgbuf_pages() 121 sgbuf->pages += chunk; in snd_malloc_sgbuf_pages() 122 pages -= chunk; in snd_malloc_sgbuf_pages() [all …]
|
D | pcm_memory.c | 313 if (idx >= (unsigned int)sgbuf->pages) in snd_pcm_sgbuf_ops_page()
|
/sound/firewire/ |
D | packets-buffer.c | 25 unsigned int packets_per_page, pages; in iso_packets_buffer_init() local 42 pages = DIV_ROUND_UP(count, packets_per_page); in iso_packets_buffer_init() 45 pages, direction); in iso_packets_buffer_init() 51 p = page_address(b->iso_buffer.pages[page_index]); in iso_packets_buffer_init()
|
/sound/pci/ctxfi/ |
D | ctvmem.c | 131 unsigned i, pages; in ct_vm_map() local 144 pages = block->size >> CT_PAGE_SHIFT; in ct_vm_map() 145 for (i = 0; i < pages; i++) { in ct_vm_map()
|
/sound/pci/emu10k1/ |
D | memory.c | 93 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 126 page = blk->mapped_page + blk->pages; in search_empty_map_area() 147 page = search_empty_map_area(emu, blk->pages, &next); in map_memblk() 178 start_page = q->mapped_page + q->pages; in unmap_memblk() 284 if (size >= blk->pages) { in snd_emu10k1_memblk_map()
|
/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 444 int i, pages, stream = substream->stream; in create_adsp_page_table() local 446 pages = snd_sgbuf_aligned_pages(size); in create_adsp_page_table() 449 dma_area, size, pages); in create_adsp_page_table() 451 for (i = 0; i < pages; i++) { in create_adsp_page_table() 484 u32 rate, bits, map, pages, module_id; in hsw_pcm_hw_params() local 622 pages = (runtime->dma_bytes / PAGE_SIZE) + 1; in hsw_pcm_hw_params() 624 pages = runtime->dma_bytes / PAGE_SIZE; in hsw_pcm_hw_params() 628 pages, runtime->dma_bytes, 0, in hsw_pcm_hw_params()
|
D | sst-haswell-ipc.c | 261 int pages; member
|
/sound/isa/gus/ |
D | interwave.c | 390 int bank_pos, pages; in snd_interwave_detect_memory() local 401 pages = 0; in snd_interwave_detect_memory() 432 pages += psizes[i]; in snd_interwave_detect_memory() 435 pages <<= 18; in snd_interwave_detect_memory() 436 gus->gf1.memory = pages; in snd_interwave_detect_memory()
|
/sound/pci/riptide/ |
D | riptide.c | 493 unsigned int pages; member 1110 for (j = 0; j < data->pages; j++) { in riptide_handleirq() 1491 unsigned int i, j, size, pages, f, pt, period; in snd_riptide_prepare() local 1499 pages = DIV_ROUND_UP(size, f); in snd_riptide_prepare() 1501 data->pages = pages; in snd_riptide_prepare() 1504 size, pages, f, period); in snd_riptide_prepare() 1507 for (i = 0; i < pages; i++) { in snd_riptide_prepare()
|
/sound/pci/hda/ |
D | hda_intel.c | 403 int pages; in __mark_pages_wc() local 416 set_pages_array_wc(sgbuf->page_table, sgbuf->pages); in __mark_pages_wc() 418 set_pages_array_wb(sgbuf->page_table, sgbuf->pages); in __mark_pages_wc() 423 pages = (dmab->bytes + PAGE_SIZE - 1) >> PAGE_SHIFT; in __mark_pages_wc() 425 set_memory_wc((unsigned long)dmab->area, pages); in __mark_pages_wc() 427 set_memory_wb((unsigned long)dmab->area, pages); in __mark_pages_wc()
|