Lines Matching refs:feature
41 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_setup_read_retry() local
48 feature[0] = mode; in macronix_nand_setup_read_retry()
49 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); in macronix_nand_setup_read_retry()
54 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_randomizer_check_enable() local
58 feature); in macronix_nand_randomizer_check_enable()
62 if (feature[0]) in macronix_nand_randomizer_check_enable()
63 return feature[0]; in macronix_nand_randomizer_check_enable()
65 feature[0] = MACRONIX_RANDOMIZER_MODE_ENTER; in macronix_nand_randomizer_check_enable()
67 feature); in macronix_nand_randomizer_check_enable()
72 feature[0] = 0x0; in macronix_nand_randomizer_check_enable()
73 ret = nand_prog_page_op(chip, 0, 0, feature, 1); in macronix_nand_randomizer_check_enable()
78 feature); in macronix_nand_randomizer_check_enable()
82 feature[0] &= MACRONIX_RANDOMIZER_MODE_EXIT; in macronix_nand_randomizer_check_enable()
84 feature); in macronix_nand_randomizer_check_enable()
190 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in mxic_nand_lock() local
193 feature[0] = MXIC_BLOCK_PROTECTION_ALL_LOCK; in mxic_nand_lock()
196 feature); in mxic_nand_lock()
206 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in mxic_nand_unlock() local
209 feature[0] = MXIC_BLOCK_PROTECTION_ALL_UNLOCK; in mxic_nand_unlock()
212 feature); in mxic_nand_unlock()
222 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_block_protection_support() local
228 feature[0] = MXIC_BLOCK_PROTECTION_ALL_UNLOCK; in macronix_nand_block_protection_support()
231 feature); in macronix_nand_block_protection_support()
233 if (ret || feature[0] != MXIC_BLOCK_PROTECTION_ALL_LOCK) { in macronix_nand_block_protection_support()