Searched refs:dma_buf (Results 1 – 9 of 9) sorted by relevance
/sound/oss/ |
D | vidc.c | 446 memset(dma_buf, 0, sizeof(dma_buf)); in attach_vidc() 471 dma_buf[i] = get_zeroed_page(GFP_KERNEL); in attach_vidc() 472 if (!dma_buf[i]) { in attach_vidc() 477 dma_pbuf[i] = virt_to_phys((void *)dma_buf[i]); in attach_vidc() 500 free_page(dma_buf[i]); in attach_vidc() 531 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 | swarm_cs4297a.c | 237 u64 *dma_buf; // buffer for DMA contents (frames) member 644 dma->dma_buf = kzalloc(DMA_BUF_SIZE, GFP_KERNEL); in init_serdma() 645 if (!dma->dma_buf) { in init_serdma() 650 dma->dma_buf_phys = CPHYSADDR((long)dma->dma_buf); in init_serdma() 658 kfree(dma->dma_buf); in init_serdma() 667 (int)dma->descrtab, (int)dma->dma_buf, in init_serdma() 770 data_p = &d->dma_buf[swptr * 4]; in serdma_reg_access() 960 s_ptr = (u32 *)&(d->dma_buf[d->swptr*4]); in cs4297a_update_ptr() 1000 s_ptr = (u32 *)s->dma_adc.dma_buf; in cs4297a_update_ptr() 1033 data_p = &d->dma_buf[d->swptr*4]; in cs4297a_update_ptr() [all …]
|
D | vidc.h | 56 extern unsigned long dma_buf[2], dma_pbuf[2];
|
D | vidc_fill.S | 209 .globl dma_buf symbol 210 dma_buf: label
|
/sound/soc/intel/common/ |
D | sst-firmware.c | 360 sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, in sst_fw_new() 362 if (!sst_fw->dma_buf) { in sst_fw_new() 369 memcpy((void *)sst_fw->dma_buf, (void *)fw->data, fw->size); in sst_fw_new() 398 sst_fw->dma_buf, in sst_fw_new() 400 sst_fw->dma_buf = NULL; in sst_fw_new() 467 if (sst_fw->dma_buf) in sst_fw_free() 468 dma_free_coherent(dsp->dma_dev, sst_fw->size, sst_fw->dma_buf, in sst_fw_free() 483 dma_free_coherent(dsp->dev, sst_fw->size, sst_fw->dma_buf, in sst_fw_free_all()
|
D | sst-dsp-priv.h | 118 void *dma_buf; /* virtual address of fw data */ member
|
/sound/soc/intel/baytrail/ |
D | sst-baytrail-dsp.c | 130 header = (struct fw_header *)sst_fw->dma_buf; in sst_byt_parse_fw_image() 145 module = (void *)sst_fw->dma_buf + sizeof(*header); in sst_byt_parse_fw_image()
|
/sound/soc/intel/haswell/ |
D | sst-haswell-dsp.c | 157 mod->data_offset = mod->data - fw->dma_buf; in hsw_parse_module() 187 header = (struct fw_header *)sst_fw->dma_buf; in hsw_parse_fw_image() 201 module = (void *)sst_fw->dma_buf + sizeof(*header); in hsw_parse_fw_image()
|