Searched refs:sst_fw (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/sound/soc/intel/common/ |
D | sst-firmware.c | 339 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, in sst_fw_new() 342 struct sst_fw *sst_fw; in sst_fw_new() local 348 sst_fw = kzalloc(sizeof(*sst_fw), GFP_KERNEL); in sst_fw_new() 349 if (sst_fw == NULL) in sst_fw_new() 352 sst_fw->dsp = dsp; in sst_fw_new() 353 sst_fw->private = private; in sst_fw_new() 354 sst_fw->size = fw->size; in sst_fw_new() 357 sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, in sst_fw_new() 358 &sst_fw->dmable_fw_paddr, GFP_DMA | GFP_KERNEL); in sst_fw_new() 359 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); 117 struct sst_fw { struct 200 struct sst_fw *sst_fw; /* parent FW we belong too */ member 346 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, 348 void sst_fw_free(struct sst_fw *sst_fw); 350 int sst_fw_reload(struct sst_fw *sst_fw); 351 void sst_fw_unload(struct sst_fw *sst_fw); 354 struct sst_module *sst_module_new(struct sst_fw *sst_fw,
|
/Linux-v4.19/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 | 178 struct sst_fw *fw; 687 struct sst_fw *byt_sst_fw; in sst_byt_dsp_init()
|
/Linux-v4.19/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() 182 static int hsw_parse_fw_image(struct sst_fw *sst_fw) in hsw_parse_fw_image() argument 186 struct sst_dsp *dsp = sst_fw->dsp; in hsw_parse_fw_image() 190 header = (struct fw_header *)sst_fw->dma_buf; in hsw_parse_fw_image() 194 (sst_fw->size != in hsw_parse_fw_image() 205 module = (void *)sst_fw->dma_buf + sizeof(*header); in hsw_parse_fw_image() 209 ret = hsw_parse_module(dsp, sst_fw, module); in hsw_parse_fw_image()
|
D | sst-haswell-ipc.c | 288 struct sst_fw *sst_fw; member 1582 struct sst_fw *sst_fw, *t; in sst_hsw_dsp_load() local 1599 list_for_each_entry_safe_reverse(sst_fw, t, &dsp->fw_list, list) { in sst_hsw_dsp_load() 1600 ret = sst_fw_reload(sst_fw); in sst_hsw_dsp_load() 1665 struct sst_fw *sst_fw, *t; in sst_hsw_dsp_runtime_sleep() local 1668 list_for_each_entry_safe(sst_fw, t, &dsp->fw_list, list) { in sst_hsw_dsp_runtime_sleep() 1669 sst_fw_unload(sst_fw); in sst_hsw_dsp_runtime_sleep() 1842 struct sst_fw *hsw_sst_fw; in sst_hsw_module_load()
|