Home
last modified time | relevance | path

Searched refs:onfi (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/nand/raw/
Dnand_onfi.c150 struct onfi_params *onfi; in nand_onfi_detect() local
307 onfi = kzalloc(sizeof(*onfi), GFP_KERNEL); in nand_onfi_detect()
308 if (!onfi) { in nand_onfi_detect()
313 onfi->version = onfi_version; in nand_onfi_detect()
314 onfi->tPROG = le16_to_cpu(p->t_prog); in nand_onfi_detect()
315 onfi->tBERS = le16_to_cpu(p->t_bers); in nand_onfi_detect()
316 onfi->tR = le16_to_cpu(p->t_r); in nand_onfi_detect()
317 onfi->tCCS = le16_to_cpu(p->t_ccs); in nand_onfi_detect()
318 onfi->fast_tCAD = le16_to_cpu(p->nvddr_nvddr2_features) & BIT(0); in nand_onfi_detect()
319 onfi->sdr_timing_modes = le16_to_cpu(p->sdr_timing_modes); in nand_onfi_detect()
[all …]
Dnand_timings.c656 struct onfi_params *onfi = chip->parameters.onfi; in onfi_fill_sdr_interface_config() local
668 if (onfi) { in onfi_fill_sdr_interface_config()
672 timings->tPROG_max = 1000000ULL * onfi->tPROG; in onfi_fill_sdr_interface_config()
673 timings->tBERS_max = 1000000ULL * onfi->tBERS; in onfi_fill_sdr_interface_config()
674 timings->tR_max = 1000000ULL * onfi->tR; in onfi_fill_sdr_interface_config()
677 timings->tCCS_min = 1000UL * onfi->tCCS; in onfi_fill_sdr_interface_config()
692 struct onfi_params *onfi = chip->parameters.onfi; in onfi_fill_nvddr_interface_config() local
704 if (onfi) { in onfi_fill_nvddr_interface_config()
708 timings->tPROG_max = 1000000ULL * onfi->tPROG; in onfi_fill_nvddr_interface_config()
709 timings->tBERS_max = 1000000ULL * onfi->tBERS; in onfi_fill_nvddr_interface_config()
[all …]
Dnand_macronix.c99 if (!p->onfi) in macronix_nand_onfi_init()
105 mxic = (struct nand_onfi_vendor_macronix *)p->onfi->vendor; in macronix_nand_onfi_init()
Dnand_micron.c83 if (p->onfi) { in micron_nand_onfi_init()
84 struct nand_onfi_vendor_micron *micron = (void *)p->onfi->vendor; in micron_nand_onfi_init()
421 if (!chip->parameters.onfi) in micron_supports_on_die_ecc()
Dnand_base.c949 } else if (chip->parameters.onfi) { in nand_choose_best_sdr_timings()
950 best_mode = fls(chip->parameters.onfi->sdr_timing_modes) - 1; in nand_choose_best_sdr_timings()
1000 } else if (chip->parameters.onfi) { in nand_choose_best_nvddr_timings()
1001 best_mode = fls(chip->parameters.onfi->nvddr_timing_modes) - 1; in nand_choose_best_nvddr_timings()
5513 kfree(chip->parameters.onfi); in nand_scan_ident_cleanup()