Lines Matching full:config1

146 	 * (CONFIG1:INT_MSK is set). To handle this the driver uses
147 * enable_irq/disable_irq_nosync instead of CONFIG1:INT_MSK
674 uint16_t config1; in mxc_nand_enable_hwecc_v1_v2() local
679 config1 = readw(NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
682 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
684 config1 &= ~NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
686 writew(config1, NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
1001 uint16_t config1 = 0; in preset_v1() local
1005 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v1()
1008 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v1()
1012 writew(config1, NFC_V1_V2_CONFIG1); in preset_v1()
1033 u16 config1; in mxc_nand_v2_setup_interface() local
1039 config1 = readw(NFC_V1_V2_CONFIG1); in mxc_nand_v2_setup_interface()
1052 config1 |= NFC_V2_CONFIG1_ONE_CYCLE; in mxc_nand_v2_setup_interface()
1057 config1 &= ~NFC_V2_CONFIG1_ONE_CYCLE; in mxc_nand_v2_setup_interface()
1091 writew(config1, NFC_V1_V2_CONFIG1); in mxc_nand_v2_setup_interface()
1094 config1 & NFC_V2_CONFIG1_ONE_CYCLE ? "One cycle (EDO)" : in mxc_nand_v2_setup_interface()
1104 uint16_t config1 = 0; in preset_v2() local
1106 config1 |= NFC_V2_CONFIG1_FP_INT; in preset_v2()
1109 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v2()
1115 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v2()
1119 config1 |= NFC_V2_CONFIG1_ECC_MODE_4; in preset_v2()
1121 config1 |= NFC_V2_CONFIG1_PPB(ffs(pages_per_block) - 6); in preset_v2()
1126 writew(config1, NFC_V1_V2_CONFIG1); in preset_v2()