Lines Matching full:config2
145 * On i.MX21 the CONFIG2:INT bit cannot be read if interrupts are masked
446 * complete by checking the INT bit of config2 register.
692 uint32_t config2; in mxc_nand_enable_hwecc_v3() local
697 config2 = readl(NFC_V3_CONFIG2); in mxc_nand_enable_hwecc_v3()
700 config2 |= NFC_V3_CONFIG2_ECC_EN; in mxc_nand_enable_hwecc_v3()
702 config2 &= ~NFC_V3_CONFIG2_ECC_EN; in mxc_nand_enable_hwecc_v3()
704 writel(config2, NFC_V3_CONFIG2); in mxc_nand_enable_hwecc_v3()
1153 uint32_t config2, config3; in preset_v3() local
1169 config2 = NFC_V3_CONFIG2_ONE_CYCLE | in preset_v3()
1179 config2 |= NFC_V3_CONFIG2_PS_2048; in preset_v3()
1180 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1182 config2 |= NFC_V3_CONFIG2_PS_4096; in preset_v3()
1183 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1185 config2 |= NFC_V3_CONFIG2_PS_512; in preset_v3()
1186 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases - 1); in preset_v3()
1191 config2 |= NFC_V3_CONFIG2_ECC_EN; in preset_v3()
1193 config2 |= NFC_V3_CONFIG2_PPB( in preset_v3()
1198 config2 |= NFC_V3_CONFIG2_ECC_MODE_8; in preset_v3()
1201 writel(config2, NFC_V3_CONFIG2); in preset_v3()