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

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Di810_audio.c319 struct dmabuf { struct in struct:i810_state
361 } dmabuf; member in struct:i810_state
604 struct dmabuf *dmabuf = &state->dmabuf; local
610 dmabuf->rate = clocking;
622 dmabuf->rate = rate;
630 dmabuf->rate = (rate * 48000)/clocking;
635 dmabuf->rate = (new_rate * 48000)/clocking;
638 printk("i810_audio: called i810_set_dac_rate : asked for %d, got %d\n", rate, dmabuf
647 struct dmabuf *dmabuf = &state->dmabuf; local
690 struct dmabuf *dmabuf = &state->dmabuf; local
737 struct dmabuf *dmabuf = &state->dmabuf; local
764 struct dmabuf *dmabuf = &state->dmabuf; local
786 struct dmabuf *dmabuf = &state->dmabuf; local
813 struct dmabuf *dmabuf = &state->dmabuf; local
837 struct dmabuf *dmabuf = &state->dmabuf; local
884 struct dmabuf *dmabuf = &state->dmabuf; local
901 struct dmabuf *dmabuf = &state->dmabuf; local
1011 struct dmabuf *dmabuf = &state->dmabuf; local
1052 struct dmabuf *dmabuf = &state->dmabuf; local
1065 struct dmabuf *dmabuf = &state->dmabuf; local
1128 struct dmabuf *dmabuf = &state->dmabuf; local
1146 struct dmabuf *dmabuf = &state->dmabuf; local
1165 struct dmabuf *dmabuf = &state->dmabuf; local
1241 struct dmabuf *dmabuf; local
1353 struct dmabuf *dmabuf = &state->dmabuf; local
1497 struct dmabuf *dmabuf = &state->dmabuf; local
1641 struct dmabuf *dmabuf = &state->dmabuf; local
1668 struct dmabuf *dmabuf = &state->dmabuf; local
1717 struct dmabuf *dmabuf = &state->dmabuf; local
2358 struct dmabuf *dmabuf = NULL; local
2447 struct dmabuf *dmabuf = &state->dmabuf; local
2808 struct dmabuf *dmabuf; local
3002 struct dmabuf *dmabuf; local
[all...]
H A Dali5455.c251 struct dmabuf { struct in struct:ali_state
295 } dmabuf; member in struct:ali_state
561 struct dmabuf *dmabuf = &state->dmabuf; local
566 dmabuf->rate = clocking;
574 dmabuf->rate = rate;
584 dmabuf->rate = (rate * 48000) / clocking;
589 dmabuf->rate = (new_rate * 48000) / clocking;
592 return dmabuf
599 struct dmabuf *dmabuf = &state->dmabuf; local
637 struct dmabuf *dmabuf = &state->dmabuf; local
689 struct dmabuf *dmabuf = &state->dmabuf; local
738 struct dmabuf *dmabuf = &state->dmabuf; local
765 struct dmabuf *dmabuf = &state->dmabuf; local
793 struct dmabuf *dmabuf = &state->dmabuf; local
818 struct dmabuf *dmabuf = &state->dmabuf; local
839 struct dmabuf *dmabuf = &state->dmabuf; local
876 struct dmabuf *dmabuf = &state->dmabuf; local
908 struct dmabuf *dmabuf = &state->dmabuf; local
948 struct dmabuf *dmabuf = &state->dmabuf; local
966 struct dmabuf *dmabuf = &state->dmabuf; local
1070 struct dmabuf *dmabuf = &state->dmabuf; local
1126 struct dmabuf *dmabuf = &state->dmabuf; local
1138 struct dmabuf *dmabuf = &state->dmabuf; local
1253 struct dmabuf *dmabuf = &state->dmabuf; local
1272 struct dmabuf *dmabuf = &state->dmabuf; local
1291 struct dmabuf *dmabuf = &state->dmabuf; local
1358 struct dmabuf *dmabuf = &state->dmabuf; local
1434 struct dmabuf *dmabuf; local
1586 struct dmabuf *dmabuf = &state->dmabuf; local
1727 struct dmabuf *dmabuf = &state->dmabuf; local
1912 struct dmabuf *dmabuf = &state->dmabuf; local
1935 struct dmabuf *dmabuf = &state->dmabuf; local
1974 struct dmabuf *dmabuf = &state->dmabuf; local
2765 struct dmabuf *dmabuf = NULL; local
2894 struct dmabuf *dmabuf = &state->dmabuf; local
3332 struct dmabuf *dmabuf; local
3529 struct dmabuf *dmabuf; local
[all...]
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 Dtrident.c181 * sem - guard dmabuf, write re-entry etc
293 struct dmabuf { struct in struct:trident_state
331 } dmabuf; member in struct:trident_state
838 channel = state->dmabuf.channel;
909 struct dmabuf *dmabuf = &state->dmabuf; local
916 dmabuf->rate = rate;
917 dmabuf->channel->delta = compute_rate_play(rate);
929 struct dmabuf *dmabu local
949 struct dmabuf *dmabuf = &state->dmabuf; local
999 struct dmabuf *dmabuf = &state->dmabuf; local
1082 struct dmabuf *dmabuf = &state->dmabuf; local
1120 struct dmabuf *dmabuf = &state->dmabuf; local
1141 struct dmabuf *dmabuf = &state->dmabuf; local
1158 struct dmabuf *dmabuf = &state->dmabuf; local
1185 struct dmabuf *dmabuf = &state->dmabuf; local
1209 alloc_dmabuf(struct dmabuf* dmabuf, struct pci_dev* pci_dev, int order) argument
1237 struct dmabuf *dmabuf = &state->dmabuf; local
1250 dealloc_dmabuf(struct dmabuf* dmabuf, struct pci_dev* pci_dev) argument
1268 struct dmabuf *dmabuf = &state->dmabuf; local
1372 struct dmabuf *dmabuf = &state->dmabuf; local
1406 struct dmabuf *dmabuf = &state->dmabuf; local
1466 struct dmabuf *dmabuf = &state->dmabuf; local
1771 struct dmabuf *dmabuf = &state->dmabuf; local
1881 struct dmabuf *dmabuf = &state->dmabuf; local
2031 struct dmabuf *dmabuf = &state->dmabuf; local
2086 struct dmabuf *dmabuf = &state->dmabuf; local
2130 struct dmabuf *dmabuf = &state->dmabuf; local
2599 struct dmabuf *dmabuf = NULL; local
2713 struct dmabuf *dmabuf; local
3713 struct dmabuf *dmabuf = &state->dmabuf; local
[all...]
H A Dymfpci.c244 static int alloc_dmabuf(ymfpci_t *unit, struct ymf_dmabuf *dmabuf) argument
261 dmabuf->ready = dmabuf->mapped = 0;
262 dmabuf->rawbuf = rawbuf;
263 dmabuf->dma_addr = dma_addr;
264 dmabuf->buforder = order;
277 static void dealloc_dmabuf(ymfpci_t *unit, struct ymf_dmabuf *dmabuf) argument
281 if (dmabuf->rawbuf) {
283 mapend = virt_to_page(dmabuf->rawbuf + (PAGE_SIZE << dmabuf
296 struct ymf_dmabuf *dmabuf; local
523 struct ymf_dmabuf *dmabuf; local
633 struct ymf_dmabuf *dmabuf; local
1127 struct ymf_dmabuf *dmabuf = &state->rpcm.dmabuf; local
1242 struct ymf_dmabuf *dmabuf = &state->wpcm.dmabuf; local
1386 struct ymf_dmabuf *dmabuf; local
1429 struct ymf_dmabuf *dmabuf = &state->wpcm.dmabuf; local
1460 struct ymf_dmabuf *dmabuf; local
1951 struct ymf_dmabuf *dmabuf; local
[all...]
H A Dcs46xx.c252 struct dmabuf { struct in struct:cs_state
300 } dmabuf; member in struct:cs_state
679 static void cs_set_divisor(struct dmabuf *dmabuf) argument
681 if(dmabuf->type == CS_TYPE_DAC)
682 dmabuf->divisor = 1;
683 else if( !(dmabuf->fmt & CS_FMT_STEREO) &&
684 (dmabuf->fmt & CS_FMT_16BIT))
685 dmabuf->divisor = 2;
686 else if( (dmabuf
743 struct dmabuf *dmabuf = &state->dmabuf; local
798 struct dmabuf *dmabuf = &state->dmabuf; local
911 struct dmabuf *dmabuf = &state->dmabuf; local
982 struct dmabuf *dmabuf = &state->dmabuf; local
1006 struct dmabuf *dmabuf = &state->dmabuf; local
1038 struct dmabuf *dmabuf; local
1053 struct dmabuf *dmabuf = &state->dmabuf; local
1077 struct dmabuf *dmabuf = &state->dmabuf; local
1104 struct dmabuf *dmabuf = &state->dmabuf; local
1128 struct dmabuf *dmabuf = &state->dmabuf; local
1163 struct dmabuf *dmabuf = &state->dmabuf; local
1243 struct dmabuf *dmabuf = &state->dmabuf; local
1272 struct dmabuf *dmabuf = &state->dmabuf; local
1469 struct dmabuf *dmabuf = &state->dmabuf; local
1534 struct dmabuf *dmabuf; local
1961 CopySamples(char *dst, char *src, int count, unsigned fmt, struct dmabuf *dmabuf) argument
2044 struct dmabuf *dmabuf = &s->dmabuf; local
2094 struct dmabuf *dmabuf; local
2203 struct dmabuf *dmabuf; local
2327 struct dmabuf *dmabuf; local
2402 struct dmabuf *dmabuf; local
2483 struct dmabuf *dmabuf=0; local
3193 struct dmabuf *dmabuf = NULL; local
3373 struct dmabuf *dmabuf; local
3615 struct dmabuf *dmabuf; local
[all...]
H A Drme96xx.c296 struct dmabuf { struct in struct:_rme96xx_info
560 static void rme96xx_clearbufs(struct dmabuf* dma)
620 inline int rme96xx_getospace(struct dmabuf * dma, unsigned int hwp)
637 inline int rme96xx_getispace(struct dmabuf * dma, unsigned int hwp)
655 inline int rme96xx_copyfromuser(struct dmabuf* dma,const char* buffer,int count,int hop)
704 inline int rme96xx_copytouser(struct dmabuf* dma,const char* buffer,int count,int hop)
757 struct dmabuf *db;
834 static int rme96xx_dmabuf_init(rme96xx_info * s,struct dmabuf* dma,int ioffset,int ooffset) {
893 struct dmabuf * dma = &s->dma[i];
1113 struct dmabuf * dm
[all...]
H A Dau1000.c131 struct dmabuf { struct in struct:au1000_state
346 struct dmabuf *adc = &s->dma_adc;
347 struct dmabuf *dac = &s->dma_dac;
391 struct dmabuf *dac = &s->dma_dac;
392 struct dmabuf *adc = &s->dma_adc;
437 struct dmabuf *db = &s->dma_dac;
454 struct dmabuf *db = &s->dma_adc;
505 struct dmabuf *db = &s->dma_dac;
550 struct dmabuf *db = &s->dma_adc;
598 extern inline void dealloc_dmabuf(struct au1000_state *s, struct dmabuf *d
968 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf, int dmacount) argument
1024 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf, int dmacount) argument
[all...]
H A Dnec_vrc5477.c209 struct dmabuf { struct in struct:vrc5477_ac97_state
408 struct dmabuf* db = &s->dma_dac;
448 struct dmabuf* db = &s->dma_dac;
525 struct dmabuf* db = &s->dma_adc;
561 struct dmabuf* db = &s->dma_adc;
623 struct dmabuf *db)
638 struct dmabuf *db,
714 struct dmabuf* adc = &s->dma_adc;
755 struct dmabuf* dac = &s->dma_dac;
940 struct dmabuf *d
[all...]
H A Dite8172.c298 struct dmabuf { struct in struct:it8172_state
537 struct dmabuf* db = &s->dma_adc;
561 struct dmabuf* db = &s->dma_dac;
585 struct dmabuf* db = &s->dma_dac;
620 struct dmabuf* db = &s->dma_adc;
658 static inline void dealloc_dmabuf(struct it8172_state *s, struct dmabuf *db)
675 static int prog_dmabuf(struct it8172_state *s, struct dmabuf *db,
765 struct dmabuf* dac = &s->dma_dac;
766 struct dmabuf* adc = &s->dma_adc;
1050 static int copy_dmabuf_user(struct dmabuf *d
[all...]
H A Dsoundcard.c582 static int dmabuf = 0; variable
585 MODULE_PARM(dmabuf, "i");
610 sound_dmap_flag = (dmabuf > 0 ? 1 : 0);
H A Daudio.c312 char *dmabuf; local
332 if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0)
360 translate_bytes(dsp_ulaw, (unsigned char *) dmabuf, l);
364 char *fixit = dmabuf;
H A Dymfpci.h342 struct ymf_dmabuf dmabuf; member in struct:ymf_pcm
H A DMakefile112 audio.o audio_syms.o dmabuf.o \
H A Dmaestro3.c218 /* should be in dmabuf */
221 struct dmabuf { struct in struct:m3_state
740 struct dmabuf *db = &s->dma_dac;
900 struct dmabuf *db = &s->dma_adc;
1078 struct dmabuf *db = rec ? &s->dma_adc : &s->dma_dac;
1527 struct dmabuf *db;
1893 allocate_dmabuf(struct pci_dev *pci_dev, struct dmabuf *db)
1897 DPRINTK(DPSTR,"allocating for dmabuf %p\n", db);
1938 nuke_lists(struct m3_card *card, struct dmabuf *db)
1946 free_dmabuf(struct pci_dev *pci_dev, struct dmabuf *d
[all...]
H A Desssolo1.c192 struct dmabuf { struct in struct:solo1_state
390 static inline void dealloc_dmabuf(struct solo1_state *s, struct dmabuf *db)
405 static int prog_dmabuf(struct solo1_state *s, struct dmabuf *db)
1168 struct dmabuf *db;
H A Des1370.c211 struct dmabuf { struct in struct:es1370_state
411 static inline void dealloc_dmabuf(struct es1370_state *s, struct dmabuf *db)
426 static int prog_dmabuf(struct es1370_state *s, struct dmabuf *db, unsigned rate, unsigned fmt, unsigned reg)
500 static inline unsigned get_hwptr(struct es1370_state *s, struct dmabuf *db, unsigned reg)
1205 struct dmabuf *db;
H A Des1371.c426 struct dmabuf { struct in struct:es1371_state
886 static inline void dealloc_dmabuf(struct es1371_state *s, struct dmabuf *db)
901 static int prog_dmabuf(struct es1371_state *s, struct dmabuf *db, unsigned rate, unsigned fmt, unsigned reg)
975 static inline unsigned get_hwptr(struct es1371_state *s, struct dmabuf *db, unsigned reg)
1534 struct dmabuf *db;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dsun3_scsi.c144 static unsigned char *dmabuf = NULL; /* dma memory buffer */ variable
269 if((dmabuf = dvma_malloc_align(SUN3_DVMA_BUFSIZE, 0x10000)) == NULL) {
426 memcpy(dmabuf, data, count);
437 // addr = sun3_dvma_page((unsigned long)data, (unsigned long)dmabuf);
474 udc_regs->addr_hi = ((dvma_vtob(dmabuf) & 0xff0000) >> 8);
475 udc_regs->addr_lo = (dvma_vtob(dmabuf) & 0xffff);
573 memcpy(sun3_dma_orig_addr, dmabuf, sun3_dma_orig_count);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/tokenring/
H A Dtms380tr.c329 dma_addr_t dmabuf; local
398 dmabuf = pci_map_single(tp->pdev, tp->Rpl[i].Skb->data, tp->MaxPacketSize, PCI_DMA_FROMDEVICE);
399 if(tp->dmalimit && (dmabuf + tp->MaxPacketSize > tp->dmalimit))
408 tp->Rpl[i].FragList[0].DataAddr = htonl(dmabuf);
410 tp->Rpl[i].DMABuff = dmabuf;
591 dma_addr_t dmabuf, newbuf; local
613 dmabuf = 0;
618 dmabuf = pci_map_single(tp->pdev, skb->data, length, PCI_DMA_TODEVICE);
619 if(tp->dmalimit && (dmabuf + length > tp->dmalimit))
622 pci_unmap_single(tp->pdev, dmabuf, lengt
2058 dma_addr_t dmabuf; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dfd.h222 char *dmabuf; member in struct:floppy_drive_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dfd.h222 char *dmabuf; member in struct:floppy_drive_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Daudio.c278 struct dmabuf { struct
349 struct dmabuf dma;
367 struct dmabuf dma;
511 static void dmabuf_release(struct dmabuf *db)
526 static int dmabuf_init(struct dmabuf *db)
577 static int dmabuf_mmap(struct dmabuf *db, unsigned long start, unsigned long size, pgprot_t prot)
596 static void dmabuf_copyin(struct dmabuf *db, const void *buffer, unsigned int size)
619 static void dmabuf_copyout(struct dmabuf *db, void *buffer, unsigned int size)
642 static int dmabuf_copyin_user(struct dmabuf *db, unsigned int ptr, const void *buffer, unsigned int size)
667 static int dmabuf_copyout_user(struct dmabuf *d
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/audio/
H A Dcs4231.c1344 static void cs4231_recclear(int fmt, char *dmabuf, int length) argument
1348 memset(dmabuf, 0x00, length);
1351 memset(dmabuf, 0xd5, length);
1354 memset(dmabuf, 0xff, length);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/
H A Dstradis.c781 u16 *dmabuf; local
814 dmabuf = (u16 *) saa->dmadebi;
893 dmabuf[i - startindex] =

Completed in 281 milliseconds

12