Searched refs:sgbuf (Results 1 - 20 of 20) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dsgbuf.c34 struct snd_sg_buf *sgbuf = dmab->private_data; local
38 if (! sgbuf)
42 tmpb.dev.dev = sgbuf->dev;
43 for (i = 0; i < sgbuf->pages; i++) {
44 tmpb.area = sgbuf->table[i].buf;
45 tmpb.addr = sgbuf->table[i].addr;
53 kfree(sgbuf->table);
54 kfree(sgbuf->page_table);
55 kfree(sgbuf);
65 struct snd_sg_buf *sgbuf; local
[all...]
H A DMakefile17 snd-page-alloc-objs := memalloc.o sgbuf.o
H A Dpcm_memory.c320 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
323 if (idx >= (unsigned int)sgbuf->pages)
325 return sgbuf->page_table[idx];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dmemalloc.h93 static inline dma_addr_t snd_sgbuf_get_addr(struct snd_sg_buf *sgbuf, size_t offset) argument
95 return sgbuf->table[offset >> PAGE_SHIFT].addr + offset % PAGE_SIZE;
H A Dpcm.h959 #define snd_pcm_sgbuf_get_addr(sgbuf,ofs) snd_sgbuf_get_addr(sgbuf,ofs)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Desp.h12 struct scatterlist sgbuf[ESP_NUM_FAST_SG]; member in struct:esp_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0.h129 struct snd_sg_buf *sgbuf; /* DMA Scatter Gather struct */ member in struct:__anon11057
199 struct snd_sg_buf * sgbuf, int size,
207 struct snd_sg_buf * sgbuf, int size,
H A Dau88x0_pcm.c193 struct snd_sg_buf *sgbuf; local
203 //sgbuf = (struct snd_sg_buf *) substream->runtime->dma_private;
204 sgbuf = snd_pcm_substream_sgbuf(substream);
230 vortex_adbdma_setbuffers(chip, dma, sgbuf,
244 vortex_wtdma_setbuffers(chip, substream->number, sgbuf,
H A Dau88x0_core.c951 struct snd_sg_buf * sgbuf, int psize, int count)
955 if (sgbuf == NULL) {
956 printk(KERN_INFO "vortex: FATAL: sgbuf is NULL!\n");
959 //printk(KERN_INFO "vortex: page count = %d, tblcount = %d\n", count, sgbuf->tblsize);
963 dma->sgbuf = sgbuf;
974 snd_sgbuf_get_addr(sgbuf, psize * 3));
981 snd_sgbuf_get_addr(sgbuf, psize * 2));
987 snd_sgbuf_get_addr(sgbuf, psize));
993 snd_sgbuf_get_addr(sgbuf,
950 vortex_adbdma_setbuffers(vortex_t * vortex, int adbdma, struct snd_sg_buf * sgbuf, int psize, int count) argument
1204 vortex_wtdma_setbuffers(vortex_t * vortex, int wtdma, struct snd_sg_buf * sgbuf, int psize, int count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Desp6.c110 struct scatterlist *sg = &esp->sgbuf[0];
119 if (unlikely(sg != &esp->sgbuf[0]))
200 struct scatterlist *sg = &esp->sgbuf[0];
212 if (unlikely(sg != &esp->sgbuf[0]))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/trident/
H A Dtrident_memory.c198 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
212 if (lastpg(blk) - firstpg(blk) >= sgbuf->pages) {
213 snd_printk(KERN_ERR "page calculation doesn't match: allocated pages = %d, trident = %d/%d\n", sgbuf->pages, firstpg(blk), lastpg(blk));
222 dma_addr_t addr = sgbuf->table[idx].addr;
223 unsigned long ptr = (unsigned long)sgbuf->table[idx].buf;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Dmemory.c299 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
322 if (idx >= sgbuf->pages) {
324 blk->first_page, blk->last_page, sgbuf->pages);
329 addr = sgbuf->table[idx].addr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Desp4.c110 struct scatterlist *sg = &esp->sgbuf[0];
119 if (unlikely(sg != &esp->sgbuf[0]))
200 sg = &esp->sgbuf[0];
209 if (unlikely(sg != &esp->sgbuf[0]))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mmc/host/
H A Dwbsd.c282 char *sgbuf; local
288 sgbuf = page_address(sg[i].page) + sg[i].offset;
289 memcpy(dmabuf, sgbuf, sg[i].length);
299 char *sgbuf; local
305 sgbuf = page_address(sg[i].page) + sg[i].offset;
306 memcpy(sgbuf, dmabuf, sg[i].length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/echoaudio/
H A Dechoaudio.c493 struct snd_sg_buf *sgbuf; local
534 sgbuf = snd_pcm_substream_sgbuf(substream);
537 sgbuf->size, sgbuf->pages));
548 snd_sgbuf_get_addr(sgbuf, offs),
555 snd_sgbuf_get_addr(sgbuf, offs),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Dvia82xx_modem.c282 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
316 ((u32 *)dev->table.area)[idx << 1] = cpu_to_le32((u32)snd_pcm_sgbuf_get_addr(sgbuf, ofs));
H A Dbt87x.c190 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
223 *risc++ = cpu_to_le32((u32)snd_pcm_sgbuf_get_addr(sgbuf, offset));
H A Dvia82xx.c421 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
455 ((u32 *)dev->table.area)[idx << 1] = cpu_to_le32((u32)snd_pcm_sgbuf_get_addr(sgbuf, ofs));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/rme9652/
H A Dhdspm.c513 static void hdspm_set_sgbuf(struct hdspm * hdspm, struct snd_sg_buf *sgbuf,
3606 struct snd_sg_buf *sgbuf; local
3673 sgbuf = snd_pcm_substream_sgbuf(substream);
3677 hdspm_set_sgbuf(hdspm, sgbuf, HDSPM_pageAddressBufferOut,
3688 hdspm_set_sgbuf(hdspm, sgbuf, HDSPM_pageAddressBufferIn,
3703 snd_pcm_sgbuf_get_addr(sgbuf, 0));
4253 static void hdspm_set_sgbuf(struct hdspm * hdspm, struct snd_sg_buf *sgbuf, argument
4259 snd_pcm_sgbuf_get_addr(sgbuf,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/riptide/
H A Driptide.c1486 struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); local
1518 data->sgdlist.area, sgbuf);
1519 if (data->sgdlist.area && sgbuf) {
1545 cpu_to_le32(sgbuf->table[j].addr + pt);

Completed in 180 milliseconds