Searched refs:sst_fw (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/sound/soc/intel/common/ |
D | sst-firmware.c | 330 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, in sst_fw_new() 333 struct sst_fw *sst_fw; in sst_fw_new() local 339 sst_fw = kzalloc(sizeof(*sst_fw), GFP_KERNEL); in sst_fw_new() 340 if (sst_fw == NULL) in sst_fw_new() 343 sst_fw->dsp = dsp; in sst_fw_new() 344 sst_fw->private = private; in sst_fw_new() 345 sst_fw->size = fw->size; in sst_fw_new() 348 sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, in sst_fw_new() 349 &sst_fw->dmable_fw_paddr, GFP_KERNEL); in sst_fw_new() 350 if (!sst_fw->dma_buf) { in sst_fw_new() [all …]
|
D | sst-dsp-priv.h | 20 struct sst_fw; 58 int (*parse_fw)(struct sst_fw *sst_fw); 108 struct sst_fw { struct 191 struct sst_fw *sst_fw; /* parent FW we belong too */ member 337 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, 339 void sst_fw_free(struct sst_fw *sst_fw); 341 int sst_fw_reload(struct sst_fw *sst_fw); 342 void sst_fw_unload(struct sst_fw *sst_fw); 345 struct sst_module *sst_module_new(struct sst_fw *sst_fw,
|
/Linux-v5.4/sound/soc/intel/baytrail/ |
D | sst-baytrail-dsp.c | 57 static int sst_byt_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, in sst_byt_parse_module() 114 static int sst_byt_parse_fw_image(struct sst_fw *sst_fw) in sst_byt_parse_fw_image() argument 118 struct sst_dsp *dsp = sst_fw->dsp; in sst_byt_parse_fw_image() 122 header = (struct fw_header *)sst_fw->dma_buf; in sst_byt_parse_fw_image() 126 (sst_fw->size != header->file_size + sizeof(*header))) { in sst_byt_parse_fw_image() 137 module = (void *)sst_fw->dma_buf + sizeof(*header); in sst_byt_parse_fw_image() 140 ret = sst_byt_parse_module(dsp, sst_fw, module); in sst_byt_parse_fw_image()
|
D | sst-baytrail-ipc.c | 170 struct sst_fw *fw; 677 struct sst_fw *byt_sst_fw; in sst_byt_dsp_init()
|
/Linux-v5.4/sound/soc/intel/haswell/ |
D | sst-haswell-dsp.c | 79 static int hsw_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, in hsw_parse_module() 173 static int hsw_parse_fw_image(struct sst_fw *sst_fw) in hsw_parse_fw_image() argument 177 struct sst_dsp *dsp = sst_fw->dsp; in hsw_parse_fw_image() 181 header = (struct fw_header *)sst_fw->dma_buf; in hsw_parse_fw_image() 185 (sst_fw->size != in hsw_parse_fw_image() 196 module = (void *)sst_fw->dma_buf + sizeof(*header); in hsw_parse_fw_image() 200 ret = hsw_parse_module(dsp, sst_fw, module); in hsw_parse_fw_image()
|
D | sst-haswell-ipc.c | 279 struct sst_fw *sst_fw; member 1577 struct sst_fw *sst_fw, *t; in sst_hsw_dsp_load() local 1594 list_for_each_entry_safe_reverse(sst_fw, t, &dsp->fw_list, list) { in sst_hsw_dsp_load() 1595 ret = sst_fw_reload(sst_fw); in sst_hsw_dsp_load() 1660 struct sst_fw *sst_fw, *t; in sst_hsw_dsp_runtime_sleep() local 1663 list_for_each_entry_safe(sst_fw, t, &dsp->fw_list, list) { in sst_hsw_dsp_runtime_sleep() 1664 sst_fw_unload(sst_fw); in sst_hsw_dsp_runtime_sleep() 1837 struct sst_fw *hsw_sst_fw; in sst_hsw_module_load()
|