Lines Matching refs:be32_to_cpu
422 const u32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode()
433 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode()
436 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode()
437 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
477 length = be32_to_cpu(hdr->length); in qe_upload_firmware()
511 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware()
523 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in qe_upload_firmware()
565 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware()
572 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in qe_upload_firmware()
616 length = be32_to_cpu(hdr->length); in u_qe_upload_firmware()
650 be32_to_cpu(firmware->microcode[i].count); in u_qe_upload_firmware()
662 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in u_qe_upload_firmware()
693 u32 trap = be32_to_cpu(ucode->traps[j]); in u_qe_upload_firmware()
700 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in u_qe_upload_firmware()
752 code = (const void *)firmware + be32_to_cpu(ucode->code_offset); in u_qe_firmware_resume()
755 out_be32(&qe_immrr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in u_qe_firmware_resume()
758 for (i = 0; i < be32_to_cpu(ucode->count); i++) in u_qe_firmware_resume()
759 out_be32(&qe_immrr->iram.idata, be32_to_cpu(code[i])); in u_qe_firmware_resume()
763 u32 trap = be32_to_cpu(ucode->traps[j]); in u_qe_firmware_resume()
770 out_be32(&qe_immrr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in u_qe_firmware_resume()
806 if (length != be32_to_cpu(firmware->header.length)) { in qe_cmd()