/sound/pci/trident/ |
D | trident_memory.c | 37 #define __set_tlb_bus(trident,page,ptr,addr) \ argument 38 do { (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); \ 39 (trident)->tlb.shadow_entries[page] = (ptr); } while (0) 40 #define __tlb_to_ptr(trident,page) \ argument 41 (void*)((trident)->tlb.shadow_entries[page]) 42 #define __tlb_to_addr(trident,page) \ argument 43 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1)) 50 #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) argument 52 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silen… argument 56 #define aligned_page_offset(page) ((page) << 12) argument [all …]
|
/sound/pci/emu10k1/ |
D | memory.c | 36 #define __set_ptb_entry(emu,page,addr) \ argument 37 (((u32 *)(emu)->ptb_pages.area)[page] = cpu_to_le32(((addr) << (emu->address_mode)) | (page))) 45 #define aligned_page_offset(page) ((page) << PAGE_SHIFT) argument 50 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr) argument 52 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu->silent_page.addr) argument 55 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry() argument 58 page *= UNIT_PAGES; in set_ptb_entry() 59 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_ptb_entry() 60 __set_ptb_entry(emu, page, addr); in set_ptb_entry() 64 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb() argument [all …]
|
/sound/isa/wavefront/ |
D | wavefront_fx.c | 74 int page, in wavefront_fx_memset() argument 79 if (page < 0 || page > 7) { in wavefront_fx_memset() 94 outb (page, dev->fx_dsp_page); in wavefront_fx_memset() 100 page, addr, data[0]); in wavefront_fx_memset() 106 outb (page, dev->fx_dsp_page); in wavefront_fx_memset() 120 page, addr, (unsigned long) data, cnt); in wavefront_fx_memset()
|
/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 38 struct page * page; in snd_us428ctls_vm_fault() local 47 page = virt_to_page(vaddr); in snd_us428ctls_vm_fault() 48 get_page(page); in snd_us428ctls_vm_fault() 49 vmf->page = page; in snd_us428ctls_vm_fault() 52 vaddr, page); in snd_us428ctls_vm_fault()
|
D | us122l.c | 144 struct page *page; in usb_stream_hwdep_vm_fault() local 164 page = virt_to_page(vaddr); in usb_stream_hwdep_vm_fault() 166 get_page(page); in usb_stream_hwdep_vm_fault() 169 vmf->page = page; in usb_stream_hwdep_vm_fault()
|
D | usx2yhwdeppcm.c | 663 vmf->page = virt_to_page(vaddr); in snd_usX2Y_hwdep_pcm_vm_fault() 664 get_page(vmf->page); in snd_usX2Y_hwdep_pcm_vm_fault()
|
/sound/pci/ac97/ |
D | ac97_patch.h | 28 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument 29 (AC97_SINGLE_VALUE(reg,shift,mask,invert) | (1<<25) | ((page) << 26)) 35 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument 39 .private_value = AC97_PAGE_SINGLE_VALUE(reg, shift, mask, invert, page) }
|
/sound/soc/codecs/ |
D | tlv320aic26.h | 12 #define AIC26_PAGE_ADDR(page, offset) ((page << 11) | offset << 5) argument
|
/sound/oss/ |
D | msnd_pinnacle.c | 902 char *page = (char *)__get_free_page(GFP_KERNEL); in dsp_read() local 905 if (!page) in dsp_read() 918 n = msnd_fifo_read(&dev.DARF, page, k); in dsp_read() 920 if (copy_to_user(buf, page, n)) { in dsp_read() 921 free_page((unsigned long)page); in dsp_read() 937 free_page((unsigned long)page); in dsp_read() 949 free_page((unsigned long)page); in dsp_read() 954 free_page((unsigned long)page); in dsp_read() 961 char *page = (char *)__get_free_page(GFP_KERNEL); in dsp_write() local 964 if (!page) in dsp_write() [all …]
|
D | dmabuf.c | 64 struct page *page; in sound_alloc_dmap() local 120 for (page = virt_to_page(start_addr); page <= virt_to_page(end_addr); page++) in sound_alloc_dmap() 121 SetPageReserved(page); in sound_alloc_dmap() 128 struct page *page; in sound_free_dmap() local 140 for (page = virt_to_page(start_addr); page <= virt_to_page(end_addr); page++) in sound_free_dmap() 141 ClearPageReserved(page); in sound_free_dmap()
|
/sound/pci/au88x0/ |
D | au88x0_core.c | 1175 int page, p, pp, delta, i; in vortex_adbdma_bufshift() local 1177 page = in vortex_adbdma_bufshift() 1181 delta = (page - dma->period_real) & 3; in vortex_adbdma_bufshift() 1183 delta = (page - dma->period_real); in vortex_adbdma_bufshift() 1212 dma->period_real = page; in vortex_adbdma_bufshift() 1255 int temp, page, delta; in vortex_adbdma_getlinearpos() local 1258 page = (temp & ADB_SUBBUF_MASK) >> ADB_SUBBUF_SHIFT; in vortex_adbdma_getlinearpos() 1260 delta = (page - dma->period_real) & 3; in vortex_adbdma_getlinearpos() 1262 delta = (page - dma->period_real); in vortex_adbdma_getlinearpos() 1442 int page, p, pp, delta, i; in vortex_wtdma_bufshift() local [all …]
|
/sound/mips/ |
D | hal2.h | 237 u32 page; /* DOC Page register */ member
|
D | sgio2audio.c | 694 .page = snd_pcm_lib_get_vmalloc_page, 707 .page = snd_pcm_lib_get_vmalloc_page, 720 .page = snd_pcm_lib_get_vmalloc_page,
|
/sound/core/ |
D | pcm_memory.c | 308 struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream, unsigned long offset) in snd_pcm_sgbuf_ops_page() 455 struct page *snd_pcm_lib_get_vmalloc_page(struct snd_pcm_substream *substream, in snd_pcm_lib_get_vmalloc_page()
|
D | pcm_native.c | 3220 vmf->page = virt_to_page(runtime->status); in snd_pcm_mmap_status_fault() 3221 get_page(vmf->page); in snd_pcm_mmap_status_fault() 3257 vmf->page = virt_to_page(runtime->control); in snd_pcm_mmap_control_fault() 3258 get_page(vmf->page); in snd_pcm_mmap_control_fault() 3297 static inline struct page * 3327 struct page * page; in snd_pcm_mmap_data_fault() local 3337 if (substream->ops->page) in snd_pcm_mmap_data_fault() 3338 page = substream->ops->page(substream, offset); in snd_pcm_mmap_data_fault() 3340 page = snd_pcm_default_page_ops(substream, offset); in snd_pcm_mmap_data_fault() 3341 if (!page) in snd_pcm_mmap_data_fault() [all …]
|
D | sgbuf.c | 75 struct page **pgtable; in snd_malloc_sgbuf_pages()
|
/sound/firewire/fireworks/ |
D | fireworks_pcm.c | 371 .page = snd_pcm_lib_get_vmalloc_page, 383 .page = snd_pcm_lib_get_vmalloc_page,
|
/sound/firewire/bebob/ |
D | bebob_pcm.c | 347 .page = snd_pcm_lib_get_vmalloc_page, 358 .page = snd_pcm_lib_get_vmalloc_page,
|
/sound/pci/ctxfi/ |
D | ctpcm.c | 384 .page = snd_pcm_sgbuf_ops_page, 397 .page = snd_pcm_sgbuf_ops_page,
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 534 int err, per, rest, page, edge, offs; in init_engine() local 577 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params); in init_engine() 598 page++; in init_engine() 846 .page = snd_pcm_sgbuf_ops_page, 857 .page = snd_pcm_sgbuf_ops_page, 870 .page = snd_pcm_sgbuf_ops_page, 882 .page = snd_pcm_sgbuf_ops_page,
|
/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_pcm.c | 278 .page = snd_pcm_lib_get_vmalloc_page,
|
/sound/pci/ |
D | via82xx.c | 1378 .page = snd_pcm_sgbuf_ops_page, 1391 .page = snd_pcm_sgbuf_ops_page, 1404 .page = snd_pcm_sgbuf_ops_page, 1417 .page = snd_pcm_sgbuf_ops_page, 1430 .page = snd_pcm_sgbuf_ops_page,
|
D | via82xx_modem.c | 816 .page = snd_pcm_sgbuf_ops_page, 829 .page = snd_pcm_sgbuf_ops_page,
|
/sound/drivers/vx/ |
D | vx_pcm.c | 885 .page = snd_pcm_lib_get_vmalloc_page, 1107 .page = snd_pcm_lib_get_vmalloc_page,
|
/sound/drivers/ |
D | dummy.c | 662 static struct page *dummy_pcm_page(struct snd_pcm_substream *substream, in dummy_pcm_page() 690 .page = dummy_pcm_page,
|