Searched refs:dma_buf (Results 1 – 4 of 4) sorted by relevance
/sound/soc/intel/common/ |
D | sst-firmware.c | 348 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()
|
D | sst-dsp-priv.h | 113 void *dma_buf; /* virtual address of fw data */ member
|
/sound/soc/intel/baytrail/ |
D | sst-baytrail-dsp.c | 122 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/ |
D | sst-haswell-dsp.c | 150 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()
|