Lines Matching refs:fw
354 const struct firmware *fw; in wm0010_firmware_load() local
363 ret = request_firmware(&fw, name, codec->dev); in wm0010_firmware_load()
370 rec = (const struct dfw_binrec *)fw->data; in wm0010_firmware_load()
408 while (offset < fw->size) { in wm0010_firmware_load()
463 if (offset >= fw->size) { in wm0010_firmware_load()
496 release_firmware(fw); in wm0010_firmware_load()
504 const struct firmware *fw; in wm0010_stage2_load() local
512 ret = request_firmware(&fw, "wm0010_stage2.bin", codec->dev); in wm0010_stage2_load()
519 dev_dbg(codec->dev, "Downloading %zu byte stage 2 loader\n", fw->size); in wm0010_stage2_load()
522 img = kzalloc(fw->size, GFP_KERNEL | GFP_DMA); in wm0010_stage2_load()
528 out = kzalloc(fw->size, GFP_KERNEL | GFP_DMA); in wm0010_stage2_load()
534 memcpy(img, &fw->data[0], fw->size); in wm0010_stage2_load()
540 t.len = fw->size; in wm0010_stage2_load()
555 for (i = 0; i < fw->size; i++) { in wm0010_stage2_load()
569 release_firmware(fw); in wm0010_stage2_load()
580 const struct firmware *fw; in wm0010_boot() local
627 ret = request_firmware(&fw, "wm0010_stage2.bin", codec->dev); in wm0010_boot()