Searched refs:sst_fw (Results 1 – 6 of 6) sorted by relevance
/sound/soc/intel/common/ |
D | sst-firmware.c | 342 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, in sst_fw_new() 345 struct sst_fw *sst_fw; in sst_fw_new() local 351 sst_fw = kzalloc(sizeof(*sst_fw), GFP_KERNEL); in sst_fw_new() 352 if (sst_fw == NULL) in sst_fw_new() 355 sst_fw->dsp = dsp; in sst_fw_new() 356 sst_fw->private = private; in sst_fw_new() 357 sst_fw->size = fw->size; in sst_fw_new() 360 sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, in sst_fw_new() 361 &sst_fw->dmable_fw_paddr, GFP_DMA | GFP_KERNEL); in sst_fw_new() 362 if (!sst_fw->dma_buf) { in sst_fw_new() [all …]
|
D | sst-dsp-priv.h | 29 struct sst_fw; 67 int (*parse_fw)(struct sst_fw *sst_fw); 113 struct sst_fw { struct 196 struct sst_fw *sst_fw; /* parent FW we belong too */ member 342 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, 344 void sst_fw_free(struct sst_fw *sst_fw); 346 int sst_fw_reload(struct sst_fw *sst_fw); 347 void sst_fw_unload(struct sst_fw *sst_fw); 350 struct sst_module *sst_module_new(struct sst_fw *sst_fw,
|
/sound/soc/intel/baytrail/ |
D | sst-baytrail-dsp.c | 65 static int sst_byt_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, in sst_byt_parse_module() 122 static int sst_byt_parse_fw_image(struct sst_fw *sst_fw) in sst_byt_parse_fw_image() argument 126 struct sst_dsp *dsp = sst_fw->dsp; in sst_byt_parse_fw_image() 130 header = (struct fw_header *)sst_fw->dma_buf; in sst_byt_parse_fw_image() 134 (sst_fw->size != header->file_size + sizeof(*header))) { in sst_byt_parse_fw_image() 145 module = (void *)sst_fw->dma_buf + sizeof(*header); in sst_byt_parse_fw_image() 148 ret = sst_byt_parse_module(dsp, sst_fw, module); in sst_byt_parse_fw_image()
|
D | sst-baytrail-ipc.c | 179 struct sst_fw *fw; 688 struct sst_fw *byt_sst_fw; in sst_byt_dsp_init()
|
/sound/soc/intel/haswell/ |
D | sst-haswell-dsp.c | 88 static int hsw_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, in hsw_parse_module() 179 static int hsw_parse_fw_image(struct sst_fw *sst_fw) in hsw_parse_fw_image() argument 183 struct sst_dsp *dsp = sst_fw->dsp; in hsw_parse_fw_image() 187 header = (struct fw_header *)sst_fw->dma_buf; in hsw_parse_fw_image() 191 (sst_fw->size != header->file_size + sizeof(*header))) { in hsw_parse_fw_image() 201 module = (void *)sst_fw->dma_buf + sizeof(*header); in hsw_parse_fw_image() 205 ret = hsw_parse_module(dsp, sst_fw, module); in hsw_parse_fw_image()
|
D | sst-haswell-ipc.c | 289 struct sst_fw *sst_fw; member 1583 struct sst_fw *sst_fw, *t; in sst_hsw_dsp_load() local 1600 list_for_each_entry_safe_reverse(sst_fw, t, &dsp->fw_list, list) { in sst_hsw_dsp_load() 1601 ret = sst_fw_reload(sst_fw); in sst_hsw_dsp_load() 1666 struct sst_fw *sst_fw, *t; in sst_hsw_dsp_runtime_sleep() local 1669 list_for_each_entry_safe(sst_fw, t, &dsp->fw_list, list) { in sst_hsw_dsp_runtime_sleep() 1670 sst_fw_unload(sst_fw); in sst_hsw_dsp_runtime_sleep() 1843 struct sst_fw *hsw_sst_fw; in sst_hsw_module_load()
|