Home
last modified time | relevance | path

Searched refs:dma_buf (Results 1 – 4 of 4) sorted by relevance

/sound/soc/intel/common/
Dsst-firmware.c348 sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, in sst_fw_new()
350 if (!sst_fw->dma_buf) { in sst_fw_new()
357 memcpy((void *)sst_fw->dma_buf, (void *)fw->data, fw->size); in sst_fw_new()
386 sst_fw->dma_buf, in sst_fw_new()
388 sst_fw->dma_buf = NULL; in sst_fw_new()
455 if (sst_fw->dma_buf) in sst_fw_free()
456 dma_free_coherent(dsp->dma_dev, sst_fw->size, sst_fw->dma_buf, in sst_fw_free()
471 dma_free_coherent(dsp->dev, sst_fw->size, sst_fw->dma_buf, in sst_fw_free_all()
Dsst-dsp-priv.h113 void *dma_buf; /* virtual address of fw data */ member
/sound/soc/intel/baytrail/
Dsst-baytrail-dsp.c122 header = (struct fw_header *)sst_fw->dma_buf; in sst_byt_parse_fw_image()
137 module = (void *)sst_fw->dma_buf + sizeof(*header); in sst_byt_parse_fw_image()
/sound/soc/intel/haswell/
Dsst-haswell-dsp.c150 mod->data_offset = mod->data - fw->dma_buf; in hsw_parse_module()
181 header = (struct fw_header *)sst_fw->dma_buf; in hsw_parse_fw_image()
196 module = (void *)sst_fw->dma_buf + sizeof(*header); in hsw_parse_fw_image()