Lines Matching refs:config1
670 uint16_t config1; in mxc_nand_enable_hwecc_v1_v2() local
675 config1 = readw(NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
678 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
680 config1 &= ~NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
682 writew(config1, NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
1118 uint16_t config1 = 0; in preset_v1() local
1122 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v1()
1125 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v1()
1129 writew(config1, NFC_V1_V2_CONFIG1); in preset_v1()
1150 u16 config1; in mxc_nand_v2_setup_interface() local
1156 config1 = readw(NFC_V1_V2_CONFIG1); in mxc_nand_v2_setup_interface()
1169 config1 |= NFC_V2_CONFIG1_ONE_CYCLE; in mxc_nand_v2_setup_interface()
1174 config1 &= ~NFC_V2_CONFIG1_ONE_CYCLE; in mxc_nand_v2_setup_interface()
1208 writew(config1, NFC_V1_V2_CONFIG1); in mxc_nand_v2_setup_interface()
1211 config1 & NFC_V2_CONFIG1_ONE_CYCLE ? "One cycle (EDO)" : in mxc_nand_v2_setup_interface()
1221 uint16_t config1 = 0; in preset_v2() local
1223 config1 |= NFC_V2_CONFIG1_FP_INT; in preset_v2()
1226 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v2()
1232 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v2()
1236 config1 |= NFC_V2_CONFIG1_ECC_MODE_4; in preset_v2()
1238 config1 |= NFC_V2_CONFIG1_PPB(ffs(pages_per_block) - 6); in preset_v2()
1243 writew(config1, NFC_V1_V2_CONFIG1); in preset_v2()