Lines Matching refs:qe_immr
30 qe_map_t *qe_immr; variable
42 out_be32(&qe_immr->cp.cecr, (u32)(cmd | QE_CR_FLG)); in qe_issue_cmd()
44 out_be32(&qe_immr->cp.cecdr, cmd_data); in qe_issue_cmd()
45 out_be32(&qe_immr->cp.cecr, (sbc | QE_CR_FLG | in qe_issue_cmd()
50 cecr = in_be32(&qe_immr->cp.cecr); in qe_issue_cmd()
80 memset((void *)&qe_immr->muram[retloc], 0, size); in qe_muram_alloc()
90 return (void *)&qe_immr->muram[offset]; in qe_muram_addr()
99 p = (sdma_t *)&qe_immr->sdma; in qe_sdma_init()
182 qe_immr = (qe_map_t *)qe_base; in qe_init()
193 out_be32(&qe_immr->iram.iready, QE_IRAM_READY); in qe_init()
206 qe_immr = (qe_map_t *)qe_base; in qe_init()
215 out_be32(&qe_immr->iram.iready, QE_IRAM_READY); in qe_init()
233 qe_immr = (qe_map_t *)(CONFIG_SYS_IMMR + QE_IMMR_OFFSET); in u_qe_init()
269 out_be32(&qe_immr->iram.iready, QE_IRAM_READY); in u_qe_init()
276 qe_immr = (qe_map_t *)(CONFIG_SYS_IMMR + QE_IMMR_OFFSET); in u_qe_init()
302 out_be32(&qe_immr->iram.iready, QE_IRAM_READY); in u_qe_init()
332 out_be32(&qe_immr->cp.cecdr, para_ram_base); in qe_assign_page()
333 out_be32(&qe_immr->cp.cecr, ((u32)snum << QE_CR_ASSIGN_PAGE_SNUM_SHIFT) in qe_assign_page()
338 cecr = in_be32(&qe_immr->cp.cecr); in qe_assign_page()
364 bp = (uint *)&qe_immr->brg.brgc1; in qe_set_brg()
401 cmxgcr = in_be32(&qe_immr->qmx.cmxgcr); in qe_set_mii_clk_src()
404 out_be32(&qe_immr->qmx.cmxgcr, cmxgcr); in qe_set_mii_clk_src()
438 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode()
442 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
539 out_be16(&qe_immr->cp.cercr, in qe_upload_firmware()
540 in_be16(&qe_immr->cp.cercr) | QE_CP_CERCR_CIR); in qe_upload_firmware()
574 out_be32(&qe_immr->rsp[i].tibcr[j], trap); in qe_upload_firmware()
578 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in qe_upload_firmware()
679 out_be16(&qe_immr->cp.cercr, in u_qe_upload_firmware()
680 in_be16(&qe_immr->cp.cercr) | QE_CP_CERCR_CIR); in u_qe_upload_firmware()
703 out_be32(&qe_immr->rsp[i].tibcr[j], trap); in u_qe_upload_firmware()
707 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in u_qe_upload_firmware()