Searched refs:dmabuf (Results 1 - 25 of 29) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dcs46xx_wrapper-24.h37 #define free_dmabuf(card, dmabuf) \
39 PAGE_SIZE << (dmabuf)->buforder, \
40 (dmabuf)->rawbuf, (dmabuf)->dmaaddr);
41 #define free_dmabuf2(card, dmabuf) \
43 PAGE_SIZE << (dmabuf)->buforder_tmpbuff, \
44 (dmabuf)->tmpbuff, (dmabuf)->dmaaddr_tmpbuff);
H A Di810_audio.c349 struct dmabuf { struct in struct:i810_state
391 } dmabuf; member in struct:i810_state
771 struct dmabuf *dmabuf = &state->dmabuf; local
777 dmabuf->rate = clocking;
789 dmabuf->rate = rate;
797 dmabuf->rate = (rate * 48000)/clocking;
802 dmabuf->rate = (new_rate * 48000)/clocking;
805 printk("i810_audio: called i810_set_dac_rate : asked for %d, got %d\n", rate, dmabuf
814 struct dmabuf *dmabuf = &state->dmabuf; local
857 struct dmabuf *dmabuf = &state->dmabuf; local
904 struct dmabuf *dmabuf = &state->dmabuf; local
931 struct dmabuf *dmabuf = &state->dmabuf; local
954 struct dmabuf *dmabuf = &state->dmabuf; local
981 struct dmabuf *dmabuf = &state->dmabuf; local
1006 struct dmabuf *dmabuf = &state->dmabuf; local
1053 struct dmabuf *dmabuf = &state->dmabuf; local
1070 struct dmabuf *dmabuf = &state->dmabuf; local
1179 struct dmabuf *dmabuf = &state->dmabuf; local
1232 struct dmabuf *dmabuf = &state->dmabuf; local
1245 struct dmabuf *dmabuf = &state->dmabuf; local
1312 struct dmabuf *dmabuf = &state->dmabuf; local
1329 struct dmabuf *dmabuf = &state->dmabuf; local
1344 fill_partial_frag(struct dmabuf *dmabuf) argument
1363 struct dmabuf *dmabuf = &state->dmabuf; local
1447 struct dmabuf *dmabuf; local
1558 struct dmabuf *dmabuf = &state->dmabuf; local
1696 struct dmabuf *dmabuf = &state->dmabuf; local
1829 struct dmabuf *dmabuf = &state->dmabuf; local
1856 struct dmabuf *dmabuf = &state->dmabuf; local
1906 struct dmabuf *dmabuf = &state->dmabuf; local
2563 struct dmabuf *dmabuf = NULL; local
2657 struct dmabuf *dmabuf = &state->dmabuf; local
3192 struct dmabuf *dmabuf; local
3474 struct dmabuf *dmabuf; local
[all...]
H A Dtrident.c194 * sem - guard dmabuf, write re-entry etc
306 struct dmabuf { struct in struct:trident_state
345 } dmabuf; member in struct:trident_state
863 channel = state->dmabuf.channel;
938 struct dmabuf *dmabuf = &state->dmabuf; local
945 dmabuf->rate = rate;
946 dmabuf->channel->delta = compute_rate_play(rate);
959 struct dmabuf *dmabu local
980 struct dmabuf *dmabuf = &state->dmabuf; local
1033 struct dmabuf *dmabuf = &state->dmabuf; local
1117 struct dmabuf *dmabuf = &state->dmabuf; local
1154 struct dmabuf *dmabuf = &state->dmabuf; local
1177 struct dmabuf *dmabuf = &state->dmabuf; local
1197 struct dmabuf *dmabuf = &state->dmabuf; local
1230 struct dmabuf *dmabuf = &state->dmabuf; local
1259 alloc_dmabuf(struct dmabuf *dmabuf, struct pci_dev *pci_dev, int order) argument
1289 struct dmabuf *dmabuf = &state->dmabuf; local
1303 dealloc_dmabuf(struct dmabuf *dmabuf, struct pci_dev *pci_dev) argument
1322 struct dmabuf *dmabuf = &state->dmabuf; local
1444 struct dmabuf *dmabuf = &state->dmabuf; local
1479 struct dmabuf *dmabuf = &state->dmabuf; local
1538 struct dmabuf *dmabuf = &state->dmabuf; local
1856 struct dmabuf *dmabuf = &state->dmabuf; local
1969 struct dmabuf *dmabuf = &state->dmabuf; local
2131 struct dmabuf *dmabuf = &state->dmabuf; local
2186 struct dmabuf *dmabuf = &state->dmabuf; local
2231 struct dmabuf *dmabuf = &state->dmabuf; local
2700 struct dmabuf *dmabuf = NULL; local
2816 struct dmabuf *dmabuf; local
3881 struct dmabuf *dmabuf = &state->dmabuf; local
[all...]
H A Dcs46xx.c252 struct dmabuf { struct in struct:cs_state
300 } dmabuf; member in struct:cs_state
652 static void cs_set_divisor(struct dmabuf *dmabuf) argument
654 if (dmabuf->type == CS_TYPE_DAC)
655 dmabuf->divisor = 1;
656 else if (!(dmabuf->fmt & CS_FMT_STEREO) &&
657 (dmabuf->fmt & CS_FMT_16BIT))
658 dmabuf->divisor = 2;
659 else if ((dmabuf
713 struct dmabuf *dmabuf = &state->dmabuf; local
767 struct dmabuf *dmabuf = &state->dmabuf; local
879 struct dmabuf *dmabuf = &state->dmabuf; local
946 struct dmabuf *dmabuf = &state->dmabuf; local
970 struct dmabuf *dmabuf = &state->dmabuf; local
999 struct dmabuf *dmabuf; local
1013 struct dmabuf *dmabuf = &state->dmabuf; local
1037 struct dmabuf *dmabuf = &state->dmabuf; local
1064 struct dmabuf *dmabuf = &state->dmabuf; local
1088 struct dmabuf *dmabuf = &state->dmabuf; local
1123 struct dmabuf *dmabuf = &state->dmabuf; local
1202 struct dmabuf *dmabuf = &state->dmabuf; local
1231 struct dmabuf *dmabuf = &state->dmabuf; local
1421 struct dmabuf *dmabuf = &state->dmabuf; local
1485 struct dmabuf *dmabuf; local
1894 CopySamples(char *dst, char *src, int count, unsigned fmt, struct dmabuf *dmabuf) argument
1969 struct dmabuf *dmabuf = &s->dmabuf; local
2013 struct dmabuf *dmabuf; local
2121 struct dmabuf *dmabuf; local
2241 struct dmabuf *dmabuf; local
2308 struct dmabuf *dmabuf; local
2384 struct dmabuf *dmabuf = NULL; local
3019 struct dmabuf *dmabuf = NULL; local
3185 struct dmabuf *dmabuf; local
3409 struct dmabuf *dmabuf; local
[all...]
H A Dad1889.c76 dev->state[AD_WAV_STATE].dmabuf.rate = rate;
119 struct dmabuf *dmabuf = &state->dmabuf; local
125 if (dmabuf->dma_len) /* DMA already in flight */
129 cnt = dmabuf->wr_ptr - dmabuf->rd_ptr;
135 cnt = DMA_SIZE - dmabuf->rd_ptr;
137 dmabuf->dma_handle = pci_map_single(ad1889_dev->pci,
138 dmabuf
173 struct dmabuf *dmabuf = &state->dmabuf; local
209 struct dmabuf *dmabuf; local
248 struct dmabuf *dmabuf; local
378 volatile struct dmabuf *dmabuf = &state->dmabuf; local
481 struct dmabuf *dmabuf; local
[all...]
H A Dad1889.h81 struct dmabuf { struct in struct:ad1889_state
102 } dmabuf; member in struct:ad1889_state
H A Dau1550_ac97.c99 struct dmabuf { struct in struct:au1550_state
350 struct dmabuf *adc = &s->dma_adc;
351 struct dmabuf *dac = &s->dma_dac;
401 struct dmabuf *dac = &s->dma_dac;
402 struct dmabuf *adc = &s->dma_adc;
454 struct dmabuf *db = &s->dma_dac;
483 struct dmabuf *db = &s->dma_adc;
589 struct dmabuf *db = &s->dma_dac;
608 struct dmabuf *db = &s->dma_adc;
635 prog_dmabuf(struct au1550_state *s, struct dmabuf *d
887 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf, int dmacount) argument
943 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf, int dmacount) argument
[all...]
H A Dau1550_i2s.c289 struct dmabuf { struct in struct:au1550_state
359 struct dmabuf *adc = &s->dma_adc;
373 struct dmabuf *dac = &s->dma_dac;
386 struct dmabuf *db = &s->dma_dac;
417 struct dmabuf *db = &s->dma_adc;
464 struct dmabuf *db = &s->dma_dac;
490 struct dmabuf *db = &s->dma_adc;
519 prog_dmabuf(struct au1550_state *s, struct dmabuf *db)
612 struct dmabuf *db = &s->dma_dac;
647 struct dmabuf *d
850 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf, int dmacount) argument
906 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf, int dmacount) argument
[all...]
H A Dnec_vrc5477.c207 struct dmabuf { struct in struct:vrc5477_ac97_state
443 struct dmabuf* db = &s->dma_dac;
483 struct dmabuf* db = &s->dma_dac;
560 struct dmabuf* db = &s->dma_adc;
596 struct dmabuf* db = &s->dma_adc;
658 struct dmabuf *db)
673 struct dmabuf *db,
749 struct dmabuf* adc = &s->dma_adc;
790 struct dmabuf* dac = &s->dma_dac;
976 struct dmabuf *d
[all...]
H A Dsoundcard.c537 static int dmabuf; variable
540 module_param(dmabuf, int, 0444);
560 sound_dmap_flag = (dmabuf > 0 ? 1 : 0);
H A DMakefile68 audio.o dmabuf.o \
H A Daudio.c306 char *dmabuf; local
326 if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0)
349 translate_bytes(dsp_ulaw, (unsigned char *) dmabuf, l);
353 char *fixit = dmabuf;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Dsavage_state.c280 const drm_buf_t * dmabuf)
290 if (!dmabuf) {
342 if (start + n > dmabuf->total / 32) {
344 start, start + n - 1, dmabuf->total / 32);
353 if (dmabuf->bus_address != dev_priv->state.common.vbaddr) {
356 BCI_WRITE(dmabuf->bus_address | dev_priv->dma_type);
357 dev_priv->state.common.vbaddr = dmabuf->bus_address;
534 const drm_buf_t * dmabuf)
543 if (!dmabuf) {
598 if (dmabuf
278 savage_dispatch_dma_prim(drm_savage_private_t * dev_priv, const drm_savage_cmd_header_t * cmd_header, const drm_buf_t * dmabuf) argument
531 savage_dispatch_dma_idx(drm_savage_private_t * dev_priv, const drm_savage_cmd_header_t * cmd_header, const uint16_t *idx, const drm_buf_t * dmabuf) argument
882 savage_dispatch_draw(drm_savage_private_t * dev_priv, const drm_savage_cmd_header_t *start, const drm_savage_cmd_header_t *end, const drm_buf_t * dmabuf, const unsigned int *vtxbuf, unsigned int vb_size, unsigned int vb_stride, unsigned int nbox, const drm_clip_rect_t *boxes) argument
951 drm_buf_t *dmabuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/ppc/
H A Dbeep.c219 void *dmabuf; local
225 dmabuf = dma_alloc_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4,
228 if (! dmabuf || ! input_dev)
245 beep->buf = dmabuf;
264 if (dmabuf)
266 dmabuf, beep->addr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dsun3_scsi.c140 static unsigned char *dmabuf = NULL; /* dma memory buffer */ variable
245 if((dmabuf = dvma_malloc_align(SUN3_DVMA_BUFSIZE, 0x10000)) == NULL) {
410 memcpy(dmabuf, data, count);
421 // addr = sun3_dvma_page((unsigned long)data, (unsigned long)dmabuf);
458 udc_regs->addr_hi = ((dvma_vtob(dmabuf) & 0xff0000) >> 8);
459 udc_regs->addr_lo = (dvma_vtob(dmabuf) & 0xffff);
567 memcpy(sun3_dma_orig_addr, dmabuf, sun3_dma_orig_count);
H A Dsun3_scsi_vme.c102 static unsigned char *dmabuf = NULL; /* dma memory buffer */ variable
393 // addr = sun3_dvma_page((unsigned long)data, (unsigned long)dmabuf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tokenring/
H A Dtms380tr.c326 dma_addr_t dmabuf; local
392 dmabuf = dma_map_single(tp->pdev, tp->Rpl[i].Skb->data, tp->MaxPacketSize, DMA_FROM_DEVICE);
393 if(tp->dmalimit && (dmabuf + tp->MaxPacketSize > tp->dmalimit))
402 tp->Rpl[i].FragList[0].DataAddr = htonl(dmabuf);
404 tp->Rpl[i].DMABuff = dmabuf;
575 dma_addr_t dmabuf, newbuf; local
591 dmabuf = 0;
596 dmabuf = dma_map_single(tp->pdev, skb->data, length, DMA_TO_DEVICE);
597 if(tp->dmalimit && (dmabuf + length > tp->dmalimit)) {
599 dma_unmap_single(tp->pdev, dmabuf, lengt
2044 dma_addr_t dmabuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dcafe_nand.c65 unsigned char *dmabuf; member in struct:cafe_priv
115 memcpy(cafe->dmabuf + cafe->datalen, buf, len);
130 memcpy(buf, cafe->dmabuf + cafe->datalen, len);
647 cafe->dmabuf = dma_alloc_coherent(&cafe->pdev->dev, 2112 + sizeof(struct nand_buffers),
649 if (!cafe->dmabuf) {
653 cafe->nand.buffers = (void *)cafe->dmabuf + 2112;
735 cafe_readl(cafe, NAND_DMA_ADDR0), cafe->dmabuf);
791 dma_free_coherent(&cafe->pdev->dev, 2112, cafe->dmabuf, cafe->dmaaddr);
812 dma_free_coherent(&cafe->pdev->dev, 2112, cafe->dmabuf, cafe->dmaaddr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dfd.h224 char *dmabuf; member in struct:floppy_drive_struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dsmc91x.h485 dma_addr_t dmabuf; local
501 dmabuf = dma_map_single(NULL, buf, len, DMA_FROM_DEVICE);
503 DTADR(dma) = dmabuf;
511 dma_unmap_single(NULL, dmabuf, len, DMA_FROM_DEVICE);
523 dma_addr_t dmabuf; local
539 dmabuf = dma_map_single(NULL, buf, len, DMA_FROM_DEVICE);
541 DTADR(dma) = dmabuf;
549 dma_unmap_single(NULL, dmabuf, len, DMA_FROM_DEVICE);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hardware/avm/
H A Db1.c730 p->recvbuf.dmabuf = buf;
739 p->sendbuf.dmabuf = buf;
746 p->recvbuf.dmabuf, p->recvbuf.dmaaddr);
756 p->recvbuf.dmabuf, p->recvbuf.dmaaddr);
758 p->sendbuf.dmabuf, p->sendbuf.dmaaddr);
H A Db1dma.c382 p = dma->sendbuf.dmabuf;
393 txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf;
407 skb_copy_from_linear_data_offset(skb, 2, dma->sendbuf.dmabuf,
450 void *p = dma->recvbuf.dmabuf+4;
601 dma->recvlen = *((u32 *)dma->recvbuf.dmabuf);
H A Dc4.c435 p = dma->sendbuf.dmabuf;
446 txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf;
460 skb_copy_from_linear_data_offset(skb, 2, dma->sendbuf.dmabuf,
506 void *p = dma->recvbuf.dmabuf;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mmc/host/
H A Dwbsd.c281 char *dmabuf = host->dma_buffer; local
289 memcpy(dmabuf, sgbuf, sg[i].length);
290 dmabuf += sg[i].length;
298 char *dmabuf = host->dma_buffer; local
306 memcpy(sgbuf, dmabuf, sg[i].length);
307 dmabuf += sg[i].length;
H A Dat91_mci.c137 unsigned *dmabuf = host->buffer; local
162 *dmabuf++ = swab32(sgbuffer[index]);
165 memcpy(dmabuf, sgbuffer, amount);

Completed in 161 milliseconds

12