sst_fw 57 sound/soc/intel/baytrail/sst-baytrail-dsp.c static int sst_byt_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, sst_fw 114 sound/soc/intel/baytrail/sst-baytrail-dsp.c static int sst_byt_parse_fw_image(struct sst_fw *sst_fw) sst_fw 118 sound/soc/intel/baytrail/sst-baytrail-dsp.c struct sst_dsp *dsp = sst_fw->dsp; sst_fw 122 sound/soc/intel/baytrail/sst-baytrail-dsp.c header = (struct fw_header *)sst_fw->dma_buf; sst_fw 126 sound/soc/intel/baytrail/sst-baytrail-dsp.c (sst_fw->size != header->file_size + sizeof(*header))) { sst_fw 137 sound/soc/intel/baytrail/sst-baytrail-dsp.c module = (void *)sst_fw->dma_buf + sizeof(*header); sst_fw 140 sound/soc/intel/baytrail/sst-baytrail-dsp.c ret = sst_byt_parse_module(dsp, sst_fw, module); sst_fw 170 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_fw *fw; sst_fw 677 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_fw *byt_sst_fw; sst_fw 20 sound/soc/intel/common/sst-dsp-priv.h struct sst_fw; sst_fw 58 sound/soc/intel/common/sst-dsp-priv.h int (*parse_fw)(struct sst_fw *sst_fw); sst_fw 191 sound/soc/intel/common/sst-dsp-priv.h struct sst_fw *sst_fw; /* parent FW we belong too */ sst_fw 337 sound/soc/intel/common/sst-dsp-priv.h struct sst_fw *sst_fw_new(struct sst_dsp *dsp, sst_fw 339 sound/soc/intel/common/sst-dsp-priv.h void sst_fw_free(struct sst_fw *sst_fw); sst_fw 341 sound/soc/intel/common/sst-dsp-priv.h int sst_fw_reload(struct sst_fw *sst_fw); sst_fw 342 sound/soc/intel/common/sst-dsp-priv.h void sst_fw_unload(struct sst_fw *sst_fw); sst_fw 345 sound/soc/intel/common/sst-dsp-priv.h struct sst_module *sst_module_new(struct sst_fw *sst_fw, sst_fw 330 sound/soc/intel/common/sst-firmware.c struct sst_fw *sst_fw_new(struct sst_dsp *dsp, sst_fw 333 sound/soc/intel/common/sst-firmware.c struct sst_fw *sst_fw; sst_fw 339 sound/soc/intel/common/sst-firmware.c sst_fw = kzalloc(sizeof(*sst_fw), GFP_KERNEL); sst_fw 340 sound/soc/intel/common/sst-firmware.c if (sst_fw == NULL) sst_fw 343 sound/soc/intel/common/sst-firmware.c sst_fw->dsp = dsp; sst_fw 344 sound/soc/intel/common/sst-firmware.c sst_fw->private = private; sst_fw 345 sound/soc/intel/common/sst-firmware.c sst_fw->size = fw->size; sst_fw 348 sound/soc/intel/common/sst-firmware.c sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, sst_fw 349 sound/soc/intel/common/sst-firmware.c &sst_fw->dmable_fw_paddr, GFP_KERNEL); sst_fw 350 sound/soc/intel/common/sst-firmware.c if (!sst_fw->dma_buf) { sst_fw 352 sound/soc/intel/common/sst-firmware.c kfree(sst_fw); sst_fw 357 sound/soc/intel/common/sst-firmware.c memcpy((void *)sst_fw->dma_buf, (void *)fw->data, fw->size); sst_fw 366 sound/soc/intel/common/sst-firmware.c err = dsp->ops->parse_fw(sst_fw); sst_fw 376 sound/soc/intel/common/sst-firmware.c list_add(&sst_fw->list, &dsp->fw_list); sst_fw 379 sound/soc/intel/common/sst-firmware.c return sst_fw; sst_fw 385 sound/soc/intel/common/sst-firmware.c dma_free_coherent(dsp->dma_dev, sst_fw->size, sst_fw 386 sound/soc/intel/common/sst-firmware.c sst_fw->dma_buf, sst_fw 387 sound/soc/intel/common/sst-firmware.c sst_fw->dmable_fw_paddr); sst_fw 388 sound/soc/intel/common/sst-firmware.c sst_fw->dma_buf = NULL; sst_fw 389 sound/soc/intel/common/sst-firmware.c kfree(sst_fw); sst_fw 394 sound/soc/intel/common/sst-firmware.c int sst_fw_reload(struct sst_fw *sst_fw) sst_fw 396 sound/soc/intel/common/sst-firmware.c struct sst_dsp *dsp = sst_fw->dsp; sst_fw 402 sound/soc/intel/common/sst-firmware.c ret = dsp->ops->parse_fw(sst_fw); sst_fw 410 sound/soc/intel/common/sst-firmware.c void sst_fw_unload(struct sst_fw *sst_fw) sst_fw 412 sound/soc/intel/common/sst-firmware.c struct sst_dsp *dsp = sst_fw->dsp; sst_fw 422 sound/soc/intel/common/sst-firmware.c if (module->sst_fw == sst_fw) { sst_fw 447 sound/soc/intel/common/sst-firmware.c void sst_fw_free(struct sst_fw *sst_fw) sst_fw 449 sound/soc/intel/common/sst-firmware.c struct sst_dsp *dsp = sst_fw->dsp; sst_fw 452 sound/soc/intel/common/sst-firmware.c list_del(&sst_fw->list); sst_fw 455 sound/soc/intel/common/sst-firmware.c if (sst_fw->dma_buf) sst_fw 456 sound/soc/intel/common/sst-firmware.c dma_free_coherent(dsp->dma_dev, sst_fw->size, sst_fw->dma_buf, sst_fw 457 sound/soc/intel/common/sst-firmware.c sst_fw->dmable_fw_paddr); sst_fw 458 sound/soc/intel/common/sst-firmware.c kfree(sst_fw); sst_fw 465 sound/soc/intel/common/sst-firmware.c struct sst_fw *sst_fw, *t; sst_fw 468 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(sst_fw, t, &dsp->fw_list, list) { sst_fw 470 sound/soc/intel/common/sst-firmware.c list_del(&sst_fw->list); sst_fw 471 sound/soc/intel/common/sst-firmware.c dma_free_coherent(dsp->dev, sst_fw->size, sst_fw->dma_buf, sst_fw 472 sound/soc/intel/common/sst-firmware.c sst_fw->dmable_fw_paddr); sst_fw 473 sound/soc/intel/common/sst-firmware.c kfree(sst_fw); sst_fw 480 sound/soc/intel/common/sst-firmware.c struct sst_module *sst_module_new(struct sst_fw *sst_fw, sst_fw 483 sound/soc/intel/common/sst-firmware.c struct sst_dsp *dsp = sst_fw->dsp; sst_fw 492 sound/soc/intel/common/sst-firmware.c sst_module->sst_fw = sst_fw; sst_fw 786 sound/soc/intel/common/sst-firmware.c struct sst_fw *sst_fw = module->sst_fw; sst_fw 821 sound/soc/intel/common/sst-firmware.c sst_fw->dmable_fw_paddr + module->data_offset, sst_fw 79 sound/soc/intel/haswell/sst-haswell-dsp.c static int hsw_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, sst_fw 173 sound/soc/intel/haswell/sst-haswell-dsp.c static int hsw_parse_fw_image(struct sst_fw *sst_fw) sst_fw 177 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_dsp *dsp = sst_fw->dsp; sst_fw 181 sound/soc/intel/haswell/sst-haswell-dsp.c header = (struct fw_header *)sst_fw->dma_buf; sst_fw 185 sound/soc/intel/haswell/sst-haswell-dsp.c (sst_fw->size != sst_fw 196 sound/soc/intel/haswell/sst-haswell-dsp.c module = (void *)sst_fw->dma_buf + sizeof(*header); sst_fw 200 sound/soc/intel/haswell/sst-haswell-dsp.c ret = hsw_parse_module(dsp, sst_fw, module); sst_fw 279 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_fw *sst_fw; sst_fw 1577 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_fw *sst_fw, *t; sst_fw 1594 sound/soc/intel/haswell/sst-haswell-ipc.c list_for_each_entry_safe_reverse(sst_fw, t, &dsp->fw_list, list) { sst_fw 1595 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_fw_reload(sst_fw); sst_fw 1660 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_fw *sst_fw, *t; sst_fw 1663 sound/soc/intel/haswell/sst-haswell-ipc.c list_for_each_entry_safe(sst_fw, t, &dsp->fw_list, list) { sst_fw 1664 sound/soc/intel/haswell/sst-haswell-ipc.c sst_fw_unload(sst_fw); sst_fw 1837 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_fw *hsw_sst_fw;