/sound/pci/trident/ |
D | trident_memory.c | 22 #define __set_tlb_bus(trident,page,addr) \ argument 23 (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)) 24 #define __tlb_to_addr(trident,page) \ argument 25 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1)) 32 #define set_tlb_bus(trident,page,addr) __set_tlb_bus(trident,page,addr) argument 34 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, trident->tlb.silent_page->addr) argument 38 #define aligned_page_offset(page) ((page) << 12) argument 40 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument 47 #define aligned_page_offset(page) ((page) << 13) argument 48 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) << 1) argument [all …]
|
/sound/pci/emu10k1/ |
D | memory.c | 21 #define __set_ptb_entry(emu,page,addr) \ argument 22 (((__le32 *)(emu)->ptb_pages.area)[page] = \ 23 cpu_to_le32(((addr) << (emu->address_mode)) | (page))) 24 #define __get_ptb_entry(emu, page) \ argument 25 (le32_to_cpu(((__le32 *)(emu)->ptb_pages.area)[page])) 33 #define aligned_page_offset(page) ((page) << PAGE_SHIFT) argument 37 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr) argument 39 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu->silent_page.addr) argument 42 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry() argument 45 page *= UNIT_PAGES; in set_ptb_entry() [all …]
|
/sound/xen/ |
D | xen_snd_front_evtchnl.c | 90 struct xensnd_event_page *page = channel->u.evt.page; in evtchnl_interrupt_evt() local 98 prod = page->in_prod; in evtchnl_interrupt_evt() 101 if (prod == page->in_cons) in evtchnl_interrupt_evt() 109 for (cons = page->in_cons; cons != prod; cons++) { in evtchnl_interrupt_evt() 112 event = &XENSND_IN_RING_REF(page, cons); in evtchnl_interrupt_evt() 124 page->in_cons = cons; in evtchnl_interrupt_evt() 146 unsigned long page = 0; in evtchnl_free() local 149 page = (unsigned long)channel->u.req.ring.sring; in evtchnl_free() 151 page = (unsigned long)channel->u.evt.page; in evtchnl_free() 153 if (!page) in evtchnl_free() [all …]
|
D | xen_snd_front_evtchnl.h | 69 struct xensnd_event_page *page; member
|
/sound/isa/wavefront/ |
D | wavefront_fx.c | 61 int page, in wavefront_fx_memset() argument 66 if (page < 0 || page > 7) { in wavefront_fx_memset() 81 outb (page, dev->fx_dsp_page); in wavefront_fx_memset() 87 page, addr, data[0]); in wavefront_fx_memset() 93 outb (page, dev->fx_dsp_page); in wavefront_fx_memset() 107 page, addr, (unsigned long) data, cnt); in wavefront_fx_memset()
|
/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 24 struct page *page; in snd_us428ctls_vm_fault() local 33 page = virt_to_page(vaddr); in snd_us428ctls_vm_fault() 34 get_page(page); in snd_us428ctls_vm_fault() 35 vmf->page = page; in snd_us428ctls_vm_fault() 38 vaddr, page); in snd_us428ctls_vm_fault()
|
D | us122l.c | 106 struct page *page; in usb_stream_hwdep_vm_fault() local 126 page = virt_to_page(vaddr); in usb_stream_hwdep_vm_fault() 128 get_page(page); in usb_stream_hwdep_vm_fault() 131 vmf->page = page; in usb_stream_hwdep_vm_fault()
|
/sound/soc/codecs/ |
D | zl38060.c | 483 u8 offs, page; in zl38_bus_read() local 490 page = reg_buf8[0]; in zl38_bus_read() 492 if (page) { in zl38_bus_read() 494 txbuf[len++] = page == HBI_FIRMWARE_PAGE ? 0xFF : page - 1; in zl38_bus_read() 511 u8 offs, page; in zl38_bus_write() local 517 page = data8[0]; in zl38_bus_write() 519 if (page) { in zl38_bus_write() 521 buf[len++] = page == HBI_FIRMWARE_PAGE ? 0xFF : page - 1; in zl38_bus_write()
|
D | tas2764.h | 16 #define TAS2764_REG(page, reg) ((page * 128) + reg) argument
|
D | tas2562.h | 15 #define TAS2562_REG(page, reg) ((page * 128) + reg) argument
|
D | tlv320aic26.h | 13 #define AIC26_PAGE_ADDR(page, offset) ((page << 11) | offset << 5) argument
|
D | tas2770.h | 13 #define TAS2770_REG(page, reg) ((page * 128) + reg) argument
|
D | tlv320aic32x4.h | 26 #define AIC32X4_REG(page, reg) ((page * 128) + reg) argument
|
D | tlv320aic31xx.h | 42 #define AIC31XX_REG(page, reg) ((page * 128) + reg) argument
|
D | tscs454.h | 11 #define VIRT_PAGE_BASE(page) (VIRT_BASE + (PAGE_LEN * page)) argument 12 #define VIRT_ADDR(page, address) (VIRT_PAGE_BASE(page) + address) argument 13 #define ADDR(page, virt_address) (virt_address - VIRT_PAGE_BASE(page)) argument
|
/sound/pci/ac97/ |
D | ac97_patch.h | 13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument 14 (AC97_SINGLE_VALUE(reg,shift,mask,invert) | (1<<25) | ((page) << 26)) 20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument 24 .private_value = AC97_PAGE_SINGLE_VALUE(reg, shift, mask, invert, page) }
|
/sound/core/ |
D | sgbuf.c | 25 struct page **page_table; /* page table (for vmap/vunmap) */ 72 struct page **pgtable; in snd_dma_sg_alloc() 152 static struct page *snd_dma_sg_get_page(struct snd_dma_buffer *dmab, in snd_dma_sg_get_page()
|
D | memalloc_local.h | 9 struct page *(*get_page)(struct snd_dma_buffer *dmab, size_t offset);
|
D | pcm_native.c | 264 if (substream->ops->mmap || substream->ops->page) in hw_support_mmap() 3626 vmf->page = virt_to_page(runtime->status); in snd_pcm_mmap_status_fault() 3627 get_page(vmf->page); in snd_pcm_mmap_status_fault() 3662 vmf->page = virt_to_page(runtime->control); in snd_pcm_mmap_control_fault() 3663 get_page(vmf->page); in snd_pcm_mmap_control_fault() 3748 struct page * page; in snd_pcm_mmap_data_fault() local 3758 if (substream->ops->page) in snd_pcm_mmap_data_fault() 3759 page = substream->ops->page(substream, offset); in snd_pcm_mmap_data_fault() 3761 page = virt_to_page(runtime->dma_area + offset); in snd_pcm_mmap_data_fault() 3763 page = snd_sgbuf_get_page(snd_pcm_get_dma_buf(substream), offset); in snd_pcm_mmap_data_fault() [all …]
|
D | memalloc.c | 212 struct page *snd_sgbuf_get_page(struct snd_dma_buffer *dmab, size_t offset) in snd_sgbuf_get_page() 305 static struct page *snd_dma_vmalloc_get_page(struct snd_dma_buffer *dmab, in snd_dma_vmalloc_get_page()
|
/sound/soc/ |
D | soc-component.c | 994 struct page *snd_soc_pcm_component_page(struct snd_pcm_substream *substream, in snd_soc_pcm_component_page() 999 struct page *page; in snd_soc_pcm_component_page() local 1004 if (component->driver->page) { in snd_soc_pcm_component_page() 1005 page = component->driver->page(component, in snd_soc_pcm_component_page() 1007 if (page) in snd_soc_pcm_component_page() 1008 return page; in snd_soc_pcm_component_page()
|
/sound/pci/au88x0/ |
D | au88x0_core.c | 1167 int page, p, pp, delta, i; in vortex_adbdma_bufshift() local 1169 page = in vortex_adbdma_bufshift() 1173 delta = (page - dma->period_real) & 3; in vortex_adbdma_bufshift() 1175 delta = (page - dma->period_real); in vortex_adbdma_bufshift() 1204 dma->period_real = page; in vortex_adbdma_bufshift() 1248 int temp, page, delta; in vortex_adbdma_getlinearpos() local 1251 page = (temp & ADB_SUBBUF_MASK) >> ADB_SUBBUF_SHIFT; in vortex_adbdma_getlinearpos() 1253 delta = (page - dma->period_real) & 3; in vortex_adbdma_getlinearpos() 1255 delta = (page - dma->period_real); in vortex_adbdma_getlinearpos() 1438 int page, p, pp, delta, i; in vortex_wtdma_bufshift() local [all …]
|
/sound/soc/fsl/ |
D | fsl_xcvr.c | 702 int ret = 0, rem, off, out, page = 0, size = FSL_XCVR_REG_OFFSET; in fsl_xcvr_load_firmware() local 720 for (page = 0; page < 10; page++) { in fsl_xcvr_load_firmware() 723 FSL_XCVR_EXT_CTRL_PAGE(page)); in fsl_xcvr_load_firmware() 726 page, ret); in fsl_xcvr_load_firmware() 730 off = page * size; in fsl_xcvr_load_firmware()
|
/sound/virtio/ |
D | virtio_pcm_msg.c | 55 struct page *pg = vmalloc_to_page(data); in virtsnd_pcm_sg_num() 96 struct page *pg = vmalloc_to_page(data); in virtsnd_pcm_sg_from()
|
/sound/mips/ |
D | hal2.h | 224 u32 page; /* DOC Page register */ member
|