• Home
  • Raw
  • Download

Lines Matching refs:file

211 	const char *file;  member
213 [WM_ADSP_FW_MBC_VSS] = { .file = "mbc-vss" },
214 [WM_ADSP_FW_TX] = { .file = "tx" },
215 [WM_ADSP_FW_TX_SPK] = { .file = "tx-spk" },
216 [WM_ADSP_FW_RX_ANC] = { .file = "rx-anc" },
535 char *file, *text = NULL; in wm_adsp_load() local
541 file = kzalloc(PAGE_SIZE, GFP_KERNEL); in wm_adsp_load()
542 if (file == NULL) in wm_adsp_load()
545 snprintf(file, PAGE_SIZE, "%s-dsp%d-%s.wmfw", dsp->part, dsp->num, in wm_adsp_load()
546 wm_adsp_fw[dsp->fw].file); in wm_adsp_load()
547 file[PAGE_SIZE - 1] = '\0'; in wm_adsp_load()
549 ret = request_firmware(&firmware, file, dsp->dev); in wm_adsp_load()
551 adsp_err(dsp, "Failed to request '%s'\n", file); in wm_adsp_load()
559 file, firmware->size); in wm_adsp_load()
566 adsp_err(dsp, "%s: invalid magic\n", file); in wm_adsp_load()
572 file, header->ver); in wm_adsp_load()
579 file, header->core, dsp->type); in wm_adsp_load()
591 file, le32_to_cpu(adsp1_sizes->dm), in wm_adsp_load()
603 file, le32_to_cpu(adsp2_sizes->xm), in wm_adsp_load()
617 file, le32_to_cpu(header->len)); in wm_adsp_load()
621 adsp_dbg(dsp, "%s: timestamp %llu\n", file, in wm_adsp_load()
672 file, regions, type, pos, pos); in wm_adsp_load()
676 adsp_dbg(dsp, "%s.%d: %d bytes at %d in %s\n", file, in wm_adsp_load()
684 file, regions, region_name, in wm_adsp_load()
692 adsp_info(dsp, "%s: %s\n", file, text); in wm_adsp_load()
721 file, regions, in wm_adsp_load()
745 file, regions, pos - firmware->size); in wm_adsp_load()
753 kfree(file); in wm_adsp_load()
1200 char *file; in wm_adsp_load_coeff() local
1204 file = kzalloc(PAGE_SIZE, GFP_KERNEL); in wm_adsp_load_coeff()
1205 if (file == NULL) in wm_adsp_load_coeff()
1208 snprintf(file, PAGE_SIZE, "%s-dsp%d-%s.bin", dsp->part, dsp->num, in wm_adsp_load_coeff()
1209 wm_adsp_fw[dsp->fw].file); in wm_adsp_load_coeff()
1210 file[PAGE_SIZE - 1] = '\0'; in wm_adsp_load_coeff()
1212 ret = request_firmware(&firmware, file, dsp->dev); in wm_adsp_load_coeff()
1214 adsp_warn(dsp, "Failed to request '%s'\n", file); in wm_adsp_load_coeff()
1222 file, firmware->size); in wm_adsp_load_coeff()
1228 adsp_err(dsp, "%s: invalid magic\n", file); in wm_adsp_load_coeff()
1237 file, be32_to_cpu(hdr->rev) & 0xff); in wm_adsp_load_coeff()
1242 adsp_dbg(dsp, "%s: v%d.%d.%d\n", file, in wm_adsp_load_coeff()
1258 file, blocks, le32_to_cpu(blk->id), in wm_adsp_load_coeff()
1263 file, blocks, le32_to_cpu(blk->len), offset, type); in wm_adsp_load_coeff()
1297 file, blocks, le32_to_cpu(blk->len), in wm_adsp_load_coeff()
1326 file, blocks, type, pos); in wm_adsp_load_coeff()
1335 file, blocks, region_name, in wm_adsp_load_coeff()
1352 file, blocks, le32_to_cpu(blk->len), in wm_adsp_load_coeff()
1359 file, blocks, reg, region_name, ret); in wm_adsp_load_coeff()
1378 file, blocks, pos - firmware->size); in wm_adsp_load_coeff()
1385 kfree(file); in wm_adsp_load_coeff()