Lines Matching full:hynix
33 * struct hynix_nand - private Hynix NAND struct
44 * @nregs: number of hynix private registers to set before reading the reading
110 struct hynix_nand *hynix = nand_get_manufacturer_data(chip); in hynix_nand_setup_read_retry() local
114 values = hynix->read_retry->values + in hynix_nand_setup_read_retry()
115 (retry_mode * hynix->read_retry->nregs); in hynix_nand_setup_read_retry()
117 /* Enter 'Set Hynix Parameters' mode */ in hynix_nand_setup_read_retry()
131 for (i = 0; i < hynix->read_retry->nregs; i++) { in hynix_nand_setup_read_retry()
132 ret = hynix_nand_reg_write_op(chip, hynix->read_retry->regs[i], in hynix_nand_setup_read_retry()
290 struct hynix_nand *hynix = nand_get_manufacturer_data(chip); in hynix_mlc_1xnm_rr_init() local
339 hynix->read_retry = rr; in hynix_mlc_1xnm_rr_init()
391 * FIXME: Hynix recommend to copy the in hynix_nand_rr_init()
437 * happens, this probably means Hynix decided to use in hynix_nand_extract_oobsize()
470 * happens, this probably means Hynix decided to use in hynix_nand_extract_oobsize()
532 * happens, this probably means Hynix decided to use in hynix_nand_extract_ecc_requirements()
559 * happens, this probably means Hynix decided in hynix_nand_extract_ecc_requirements()
670 struct hynix_nand *hynix = nand_get_manufacturer_data(chip); in hynix_nand_cleanup() local
672 if (!hynix) in hynix_nand_cleanup()
675 kfree(hynix->read_retry); in hynix_nand_cleanup()
676 kfree(hynix); in hynix_nand_cleanup()
701 struct hynix_nand *hynix; in hynix_nand_init() local
709 hynix = kzalloc(sizeof(*hynix), GFP_KERNEL); in hynix_nand_init()
710 if (!hynix) in hynix_nand_init()
713 nand_set_manufacturer_data(chip, hynix); in hynix_nand_init()