Searched refs:retry_mode (Results 1 – 3 of 3) sorted by relevance
69 static int micron_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in micron_nand_setup_read_retry() argument71 u8 feature[ONFI_SUBFEATURE_PARAM_LEN] = {retry_mode}; in micron_nand_setup_read_retry()
108 static int hynix_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in hynix_nand_setup_read_retry() argument115 (retry_mode * hynix->read_retry->nregs); in hynix_nand_setup_read_retry()
3121 static int nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in nand_setup_read_retry() argument3123 pr_debug("setting READ RETRY mode %d\n", retry_mode); in nand_setup_read_retry()3125 if (retry_mode >= chip->read_retries) in nand_setup_read_retry()3131 return chip->setup_read_retry(chip, retry_mode); in nand_setup_read_retry()3166 int retry_mode = 0; in nand_do_read_ops() local3254 if (retry_mode + 1 < chip->read_retries) { in nand_do_read_ops()3255 retry_mode++; in nand_do_read_ops()3257 retry_mode); in nand_do_read_ops()3282 if (retry_mode) { in nand_do_read_ops()3286 retry_mode = 0; in nand_do_read_ops()