Lines Matching refs:be32_to_cpu

427 	const u32 *code = base + be32_to_cpu(ucode->code_offset);  in qe_upload_microcode()
438 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode()
441 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode()
442 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
483 length = be32_to_cpu(hdr->length); in qe_upload_firmware()
517 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware()
529 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in qe_upload_firmware()
571 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware()
578 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in qe_upload_firmware()
623 length = be32_to_cpu(hdr->length); in u_qe_upload_firmware()
657 be32_to_cpu(firmware->microcode[i].count); in u_qe_upload_firmware()
669 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in u_qe_upload_firmware()
700 u32 trap = be32_to_cpu(ucode->traps[j]); in u_qe_upload_firmware()
707 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in u_qe_upload_firmware()
759 code = (const void *)firmware + be32_to_cpu(ucode->code_offset); in u_qe_firmware_resume()
762 out_be32(&qe_immrr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in u_qe_firmware_resume()
765 for (i = 0; i < be32_to_cpu(ucode->count); i++) in u_qe_firmware_resume()
766 out_be32(&qe_immrr->iram.idata, be32_to_cpu(code[i])); in u_qe_firmware_resume()
770 u32 trap = be32_to_cpu(ucode->traps[j]); in u_qe_firmware_resume()
777 out_be32(&qe_immrr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in u_qe_firmware_resume()
813 if (length != be32_to_cpu(firmware->header.length)) { in qe_cmd()