Lines Matching full:config2
144 * On i.MX21 the CONFIG2:INT bit cannot be read if interrupts are masked
440 * complete by checking the INT bit of config2 register.
686 uint32_t config2; in mxc_nand_enable_hwecc_v3() local
691 config2 = readl(NFC_V3_CONFIG2); in mxc_nand_enable_hwecc_v3()
694 config2 |= NFC_V3_CONFIG2_ECC_EN; in mxc_nand_enable_hwecc_v3()
696 config2 &= ~NFC_V3_CONFIG2_ECC_EN; in mxc_nand_enable_hwecc_v3()
698 writel(config2, NFC_V3_CONFIG2); in mxc_nand_enable_hwecc_v3()
1268 uint32_t config2, config3; in preset_v3() local
1284 config2 = NFC_V3_CONFIG2_ONE_CYCLE | in preset_v3()
1294 config2 |= NFC_V3_CONFIG2_PS_2048; in preset_v3()
1295 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1297 config2 |= NFC_V3_CONFIG2_PS_4096; in preset_v3()
1298 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1300 config2 |= NFC_V3_CONFIG2_PS_512; in preset_v3()
1301 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases - 1); in preset_v3()
1306 config2 |= NFC_V3_CONFIG2_ECC_EN; in preset_v3()
1308 config2 |= NFC_V3_CONFIG2_PPB( in preset_v3()
1313 config2 |= NFC_V3_CONFIG2_ECC_MODE_8; in preset_v3()
1316 writel(config2, NFC_V3_CONFIG2); in preset_v3()