/linux-2.6.39/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 455 struct hbq_dmabuf *dma_buf; in lpfc_sli4_rb_alloc() local 457 dma_buf = kmalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL); in lpfc_sli4_rb_alloc() 458 if (!dma_buf) in lpfc_sli4_rb_alloc() 461 dma_buf->hbuf.virt = pci_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 462 &dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc() 463 if (!dma_buf->hbuf.virt) { in lpfc_sli4_rb_alloc() 464 kfree(dma_buf); in lpfc_sli4_rb_alloc() 467 dma_buf->dbuf.virt = pci_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 468 &dma_buf->dbuf.phys); in lpfc_sli4_rb_alloc() 469 if (!dma_buf->dbuf.virt) { in lpfc_sli4_rb_alloc() [all …]
|
D | lpfc_sli.c | 9639 struct hbq_dmabuf *dma_buf; in lpfc_sli4_sp_handle_rcqe() local 9654 dma_buf = lpfc_sli_hbqbuf_get(&phba->hbqs[0].hbq_buffer_list); in lpfc_sli4_sp_handle_rcqe() 9655 if (!dma_buf) { in lpfc_sli4_sp_handle_rcqe() 9659 memcpy(&dma_buf->cq_event.cqe.rcqe_cmpl, rcqe, sizeof(*rcqe)); in lpfc_sli4_sp_handle_rcqe() 9661 list_add_tail(&dma_buf->cq_event.list, in lpfc_sli4_sp_handle_rcqe()
|
/linux-2.6.39/sound/oss/ |
D | vidc.c | 447 memset(dma_buf, 0, sizeof(dma_buf)); in attach_vidc() 472 dma_buf[i] = get_zeroed_page(GFP_KERNEL); in attach_vidc() 473 if (!dma_buf[i]) { in attach_vidc() 478 dma_pbuf[i] = virt_to_phys((void *)dma_buf[i]); in attach_vidc() 501 free_page(dma_buf[i]); in attach_vidc() 532 free_page(dma_buf[i]); in unload_vidc()
|
D | audio.c | 226 char *dma_buf; in audio_write() local 252 if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_write() 268 if ((dma_buf + l) > in audio_write() 271 …printk(KERN_ERR "audio: Buffer error 3 (%lx,%d), (%lx, %d)\n", (long) dma_buf, l, (long) audio_dev… in audio_write() 274 if (dma_buf < audio_devs[dev]->dmap_out->raw_buf) in audio_write() 276 …printk(KERN_ERR "audio: Buffer error 13 (%lx<%lx)\n", (long) dma_buf, (long) audio_devs[dev]->dmap… in audio_write() 279 if(copy_from_user(dma_buf, &(buf)[p], l)) in audio_write() 283 dma_buf, 0, in audio_write() 292 translate_bytes(ulaw_dsp, (unsigned char *) dma_buf, l); in audio_write()
|
D | vidc.h | 56 extern unsigned long dma_buf[2], dma_pbuf[2];
|
D | swarm_cs4297a.c | 220 u64 *dma_buf; // buffer for DMA contents (frames) member 627 dma->dma_buf = kzalloc(DMA_BUF_SIZE, GFP_KERNEL); in init_serdma() 628 if (!dma->dma_buf) { in init_serdma() 633 dma->dma_buf_phys = CPHYSADDR((long)dma->dma_buf); in init_serdma() 641 kfree(dma->dma_buf); in init_serdma() 650 (int)dma->descrtab, (int)dma->dma_buf, in init_serdma() 753 data_p = &d->dma_buf[swptr * 4]; in serdma_reg_access() 943 s_ptr = (u32 *)&(d->dma_buf[d->swptr*4]); in cs4297a_update_ptr() 983 s_ptr = (u32 *)s->dma_adc.dma_buf; in cs4297a_update_ptr() 1016 data_p = &d->dma_buf[d->swptr*4]; in cs4297a_update_ptr() [all …]
|
D | vidc_fill.S | 209 .globl dma_buf 210 dma_buf: label
|
/linux-2.6.39/drivers/net/ |
D | ksz884x.c | 989 struct ksz_dma_buf dma_buf; member 992 #define DMA_BUFFER(desc) ((struct ksz_dma_buf *)(&(desc)->dma_buf)) 4456 static void free_dma_buf(struct dev_info *adapter, struct ksz_dma_buf *dma_buf, in free_dma_buf() argument 4459 pci_unmap_single(adapter->pdev, dma_buf->dma, dma_buf->len, direction); in free_dma_buf() 4460 dev_kfree_skb(dma_buf->skb); in free_dma_buf() 4461 dma_buf->skb = NULL; in free_dma_buf() 4462 dma_buf->dma = 0; in free_dma_buf() 4475 struct ksz_dma_buf *dma_buf; in ksz_init_rx_buffers() local 4482 dma_buf = DMA_BUFFER(desc); in ksz_init_rx_buffers() 4483 if (dma_buf->skb && dma_buf->len != adapter->mtu) in ksz_init_rx_buffers() [all …]
|
/linux-2.6.39/drivers/parport/ |
D | parport_gsc.c | 260 priv->dma_buf = 0; in parport_gsc_probe_port() 395 if (priv->dma_buf) in parport_remove_chip() 397 priv->dma_buf, in parport_remove_chip()
|
D | parport_gsc.h | 80 char *dma_buf; member
|
D | parport_pc.c | 664 memcpy(priv->dma_buf, buf, count); in parport_pc_fifo_write_block_dma() 2320 priv->dma_buf = NULL; in parport_pc_probe_port() 2454 priv->dma_buf = in parport_pc_probe_port() 2459 if (!priv->dma_buf) { in parport_pc_probe_port() 2534 if (priv->dma_buf) in parport_pc_unregister_port() 2536 priv->dma_buf, in parport_pc_unregister_port()
|
/linux-2.6.39/drivers/media/dvb/pluto2/ |
D | pluto2.c | 124 u8 dma_buf[TS_DMA_BYTES]; member 244 pluto->dma_addr = pci_map_single(pluto->pdev, pluto->dma_buf, in pluto_dma_map() 307 while (pluto->dma_buf[i] == 0x47) in pluto_dma_end() 316 dvb_dmx_swfilter_packets(&pluto->demux, pluto->dma_buf, nbpackets); in pluto_dma_end() 320 memset(pluto->dma_buf, 0, nbpackets * 188); in pluto_dma_end()
|
/linux-2.6.39/drivers/spi/ |
D | spi_stmp.c | 206 unsigned char *buf, dma_addr_t dma_buf, int len, in stmp_spi_txrx_dma() argument 210 dma_addr_t spi_buf_dma = dma_buf; in stmp_spi_txrx_dma() 223 if (!dma_buf) in stmp_spi_txrx_dma() 247 if (!dma_buf) in stmp_spi_txrx_dma()
|
/linux-2.6.39/drivers/mtd/nand/ |
D | denali.c | 1023 dma_addr_t addr = denali->buf.dma_buf; in denali_setup_dma() 1050 dma_addr_t addr = denali->buf.dma_buf; in write_page() 1144 dma_addr_t addr = denali->buf.dma_buf; in denali_read_page() 1197 dma_addr_t addr = denali->buf.dma_buf; in denali_read_page_raw() 1493 denali->buf.dma_buf = in denali_pci_probe() 1498 if (pci_dma_mapping_error(dev, denali->buf.dma_buf)) { in denali_pci_probe() 1684 pci_unmap_single(dev, denali->buf.dma_buf, DENALI_BUF_SIZE, in denali_pci_probe() 1707 pci_unmap_single(dev, denali->buf.dma_buf, DENALI_BUF_SIZE, in denali_pci_remove()
|
D | denali.h | 722 dma_addr_t dma_buf; member
|
/linux-2.6.39/include/linux/ |
D | parport_pc.h | 39 char *dma_buf; member
|