Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 46) sorted by relevance

12

/sound/pci/trident/
Dtrident_memory.c37 #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/
Dmemory.c36 #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/
Dwavefront_fx.c74 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/
DusX2Yhwdep.c38 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()
Dus122l.c144 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()
Dusx2yhwdeppcm.c663 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/
Dac97_patch.h28 #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/
Dtlv320aic26.h12 #define AIC26_PAGE_ADDR(page, offset) ((page << 11) | offset << 5) argument
/sound/oss/
Dmsnd_pinnacle.c902 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 …]
Ddmabuf.c64 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/
Dau88x0_core.c1175 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/
Dhal2.h237 u32 page; /* DOC Page register */ member
Dsgio2audio.c694 .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/
Dpcm_memory.c308 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()
Dpcm_native.c3220 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 …]
Dsgbuf.c75 struct page **pgtable; in snd_malloc_sgbuf_pages()
/sound/firewire/fireworks/
Dfireworks_pcm.c371 .page = snd_pcm_lib_get_vmalloc_page,
383 .page = snd_pcm_lib_get_vmalloc_page,
/sound/firewire/bebob/
Dbebob_pcm.c347 .page = snd_pcm_lib_get_vmalloc_page,
358 .page = snd_pcm_lib_get_vmalloc_page,
/sound/pci/ctxfi/
Dctpcm.c384 .page = snd_pcm_sgbuf_ops_page,
397 .page = snd_pcm_sgbuf_ops_page,
/sound/pci/echoaudio/
Dechoaudio.c534 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/
Dpdaudiocf_pcm.c278 .page = snd_pcm_lib_get_vmalloc_page,
/sound/pci/
Dvia82xx.c1378 .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,
Dvia82xx_modem.c816 .page = snd_pcm_sgbuf_ops_page,
829 .page = snd_pcm_sgbuf_ops_page,
/sound/drivers/vx/
Dvx_pcm.c885 .page = snd_pcm_lib_get_vmalloc_page,
1107 .page = snd_pcm_lib_get_vmalloc_page,
/sound/drivers/
Ddummy.c662 static struct page *dummy_pcm_page(struct snd_pcm_substream *substream, in dummy_pcm_page()
690 .page = dummy_pcm_page,

12