Home
last modified time | relevance | path

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

123

/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()
/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
Dtlv320aic31xx.h43 #define AIC31XX_REG(page, reg) ((page * 128) + reg) 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.c1176 int page, p, pp, delta, i; in vortex_adbdma_bufshift() local
1178 page = in vortex_adbdma_bufshift()
1182 delta = (page - dma->period_real) & 3; in vortex_adbdma_bufshift()
1184 delta = (page - dma->period_real); in vortex_adbdma_bufshift()
1213 dma->period_real = page; in vortex_adbdma_bufshift()
1257 int temp, page, delta; in vortex_adbdma_getlinearpos() local
1260 page = (temp & ADB_SUBBUF_MASK) >> ADB_SUBBUF_SHIFT; in vortex_adbdma_getlinearpos()
1262 delta = (page - dma->period_real) & 3; in vortex_adbdma_getlinearpos()
1264 delta = (page - dma->period_real); in vortex_adbdma_getlinearpos()
1444 int page, p, pp, delta, i; in vortex_wtdma_bufshift() local
[all …]
/sound/soc/amd/
Dacp.h79 struct page *pg;
/sound/firewire/tascam/
Dtascam-pcm.c280 .page = snd_pcm_lib_get_vmalloc_page,
292 .page = snd_pcm_lib_get_vmalloc_page,
/sound/mips/
Dhal2.h237 u32 page; /* DOC Page register */ member
Dsgio2audio.c687 .page = snd_pcm_lib_get_vmalloc_page,
700 .page = snd_pcm_lib_get_vmalloc_page,
713 .page = snd_pcm_lib_get_vmalloc_page,
/sound/firewire/digi00x/
Ddigi00x-pcm.c341 .page = snd_pcm_lib_get_vmalloc_page,
353 .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.c3257 vmf->page = virt_to_page(runtime->status); in snd_pcm_mmap_status_fault()
3258 get_page(vmf->page); in snd_pcm_mmap_status_fault()
3294 vmf->page = virt_to_page(runtime->control); in snd_pcm_mmap_control_fault()
3295 get_page(vmf->page); in snd_pcm_mmap_control_fault()
3334 static inline struct page *
3350 struct page * page; in snd_pcm_mmap_data_fault() local
3360 if (substream->ops->page) in snd_pcm_mmap_data_fault()
3361 page = substream->ops->page(substream, offset); in snd_pcm_mmap_data_fault()
3363 page = snd_pcm_default_page_ops(substream, offset); in snd_pcm_mmap_data_fault()
3364 if (!page) in snd_pcm_mmap_data_fault()
[all …]
Dsgbuf.c74 struct page **pgtable; in snd_malloc_sgbuf_pages()
/sound/firewire/fireworks/
Dfireworks_pcm.c395 .page = snd_pcm_lib_get_vmalloc_page,
407 .page = snd_pcm_lib_get_vmalloc_page,
/sound/firewire/dice/
Ddice-pcm.c314 .page = snd_pcm_lib_get_vmalloc_page, in snd_dice_create_pcm()
326 .page = snd_pcm_lib_get_vmalloc_page, in snd_dice_create_pcm()
/sound/firewire/bebob/
Dbebob_pcm.c371 .page = snd_pcm_lib_get_vmalloc_page,
382 .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/firewire/oxfw/
Doxfw-pcm.c400 .page = snd_pcm_lib_get_vmalloc_page, in snd_oxfw_create_pcm()
412 .page = snd_pcm_lib_get_vmalloc_page, in snd_oxfw_create_pcm()
/sound/pci/echoaudio/
Dechoaudio.c531 int err, per, rest, page, edge, offs; in init_engine() local
575 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params); in init_engine()
596 page++; in init_engine()
838 .page = snd_pcm_sgbuf_ops_page,
849 .page = snd_pcm_sgbuf_ops_page,
862 .page = snd_pcm_sgbuf_ops_page,
874 .page = snd_pcm_sgbuf_ops_page,

123