Lines Matching refs:ucode
405 const struct qe_microcode *ucode) in qe_upload_microcode() argument
407 const __be32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode()
410 if (ucode->major || ucode->minor || ucode->revision) in qe_upload_microcode()
413 ucode->id, ucode->major, ucode->minor, ucode->revision); in qe_upload_microcode()
416 "uploading microcode '%s'\n", ucode->id); in qe_upload_microcode()
419 qe_iowrite32be(be32_to_cpu(ucode->iram_offset) | QE_IRAM_IADD_AIE | QE_IRAM_IADD_BADDR, in qe_upload_microcode()
422 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode()
534 const struct qe_microcode *ucode = &firmware->microcode[i]; in qe_upload_firmware() local
537 if (ucode->code_offset) in qe_upload_firmware()
538 qe_upload_microcode(firmware, ucode); in qe_upload_firmware()
542 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware()
550 qe_iowrite32be(be32_to_cpu(ucode->eccr), in qe_upload_firmware()