Home
last modified time | relevance | path

Searched refs:retry_mode (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_micron.c69 static int micron_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in micron_nand_setup_read_retry() argument
71 u8 feature[ONFI_SUBFEATURE_PARAM_LEN] = {retry_mode}; in micron_nand_setup_read_retry()
Dnand_hynix.c108 static int hynix_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in hynix_nand_setup_read_retry() argument
115 (retry_mode * hynix->read_retry->nregs); in hynix_nand_setup_read_retry()
Dnand_base.c3365 static int nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in nand_setup_read_retry() argument
3367 pr_debug("setting READ RETRY mode %d\n", retry_mode); in nand_setup_read_retry()
3369 if (retry_mode >= chip->read_retries) in nand_setup_read_retry()
3375 return chip->ops.setup_read_retry(chip, retry_mode); in nand_setup_read_retry()
3410 int retry_mode = 0; in nand_do_read_ops() local
3505 if (retry_mode + 1 < chip->read_retries) { in nand_do_read_ops()
3506 retry_mode++; in nand_do_read_ops()
3508 retry_mode); in nand_do_read_ops()
3533 if (retry_mode) { in nand_do_read_ops()
3537 retry_mode = 0; in nand_do_read_ops()
/linux-6.1.9/include/linux/mtd/
Drawnand.h1173 int (*setup_read_retry)(struct nand_chip *chip, int retry_mode);