Lines Matching refs:ifc_nand
149 ifc_out32(page_addr, &ifc->ifc_nand.row0); in set_addr()
150 ifc_out32((oob ? IFC_NAND_COL_MS : 0) | column, &ifc->ifc_nand.col0); in set_addr()
184 &ifc->ifc_nand.nand_csel); in fsl_ifc_run_command()
189 ifc_in32(&ifc->ifc_nand.nand_fir0), in fsl_ifc_run_command()
190 ifc_in32(&ifc->ifc_nand.nand_fcr0)); in fsl_ifc_run_command()
195 ifc_out32(IFC_NAND_SEQ_STRT_FIR_STRT, &ifc->ifc_nand.nandseq_strt); in fsl_ifc_run_command()
218 eccstat_regs = ifc->ifc_nand.nand_eccstat; in fsl_ifc_run_command()
265 &ifc->ifc_nand.nand_fir0); in fsl_ifc_do_read()
266 ifc_out32(0x0, &ifc->ifc_nand.nand_fir1); in fsl_ifc_do_read()
270 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_do_read()
276 &ifc->ifc_nand.nand_fir0); in fsl_ifc_do_read()
277 ifc_out32(0x0, &ifc->ifc_nand.nand_fir1); in fsl_ifc_do_read()
282 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_do_read()
286 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_do_read()
306 ifc_out32(0, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
321 ifc_out32(mtd->oobsize - column, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
347 &ifc->ifc_nand.nand_fir0); in fsl_ifc_cmdfunc()
349 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_cmdfunc()
350 ifc_out32(column, &ifc->ifc_nand.row3); in fsl_ifc_cmdfunc()
352 ifc_out32(len, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
370 &ifc->ifc_nand.nand_fir0); in fsl_ifc_cmdfunc()
374 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_cmdfunc()
376 ifc_out32(0, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
399 &ifc->ifc_nand.nand_fir0); in fsl_ifc_cmdfunc()
404 &ifc->ifc_nand.nand_fir1); in fsl_ifc_cmdfunc()
419 &ifc->ifc_nand.nand_fir0); in fsl_ifc_cmdfunc()
425 &ifc->ifc_nand.nand_fir1); in fsl_ifc_cmdfunc()
440 ifc_out32(nand_fcr0, &ifc->ifc_nand.nand_fcr0); in fsl_ifc_cmdfunc()
450 &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
452 ifc_out32(0, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
464 &ifc->ifc_nand.nand_fir0); in fsl_ifc_cmdfunc()
466 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_cmdfunc()
467 ifc_out32(1, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
487 &ifc->ifc_nand.nand_fir0); in fsl_ifc_cmdfunc()
489 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_cmdfunc()
616 &ifc->ifc_nand.nand_fir0); in fsl_ifc_wait()
618 &ifc->ifc_nand.nand_fcr0); in fsl_ifc_wait()
619 ifc_out32(1, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_wait()
625 nand_fsr = ifc_in32(&ifc->ifc_nand.nand_fsr); in fsl_ifc_wait()
793 ncfgr = ifc_in32(&ifc_runtime->ifc_nand.ncfgr); in fsl_ifc_sram_init()
794 ifc_out32(ncfgr | IFC_NAND_NCFGR_SRAM_INIT_EN, &ifc_runtime->ifc_nand.ncfgr); in fsl_ifc_sram_init()
797 ret = readx_poll_timeout(ifc_in32, &ifc_runtime->ifc_nand.ncfgr, in fsl_ifc_sram_init()
819 &ifc_runtime->ifc_nand.nand_fir0); in fsl_ifc_sram_init()
821 &ifc_runtime->ifc_nand.nand_fcr0); in fsl_ifc_sram_init()
822 ifc_out32(0x0, &ifc_runtime->ifc_nand.row3); in fsl_ifc_sram_init()
824 ifc_out32(0x0, &ifc_runtime->ifc_nand.nand_fbcr); in fsl_ifc_sram_init()
827 ifc_out32(0x0, &ifc_runtime->ifc_nand.row0); in fsl_ifc_sram_init()
828 ifc_out32(0x0, &ifc_runtime->ifc_nand.col0); in fsl_ifc_sram_init()
832 &ifc_runtime->ifc_nand.nand_csel); in fsl_ifc_sram_init()
836 &ifc_runtime->ifc_nand.nandseq_strt); in fsl_ifc_sram_init()
887 ifc_out32(0x0, &ifc_runtime->ifc_nand.ncfgr); in fsl_ifc_chip_init()
1055 &ifc->ifc_nand.nand_evter_en); in fsl_ifc_nand_probe()
1061 &ifc->ifc_nand.nand_evter_intr_en); in fsl_ifc_nand_probe()