Lines Matching refs:sdr
843 const struct nand_sdr_timings *sdr) in gpmi_nfc_compute_timings() argument
858 if (sdr->tRC_min >= 30000) { in gpmi_nfc_compute_timings()
863 } else if (sdr->tRC_min >= 25000) { in gpmi_nfc_compute_timings()
886 addr_setup_cycles = TO_CYCLES(sdr->tALS_min, period_ps); in gpmi_nfc_compute_timings()
887 data_setup_cycles = TO_CYCLES(sdr->tDS_min, period_ps); in gpmi_nfc_compute_timings()
888 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings()
889 busy_timeout_ps = max(sdr->tBERS_max, sdr->tPROG_max); in gpmi_nfc_compute_timings()
913 sample_delay_ps = (sdr->tREA_max + 4000 - tRP_ps) * 8; in gpmi_nfc_compute_timings()
979 const struct nand_sdr_timings *sdr; in gpmi_setup_interface() local
983 sdr = nand_get_sdr_timings(conf); in gpmi_setup_interface()
984 if (IS_ERR(sdr)) in gpmi_setup_interface()
985 return PTR_ERR(sdr); in gpmi_setup_interface()
988 if (sdr->tRC_min <= 25000 && !GPMI_IS_MX28(this) && !GPMI_IS_MX6(this)) in gpmi_setup_interface()
996 ret = gpmi_nfc_compute_timings(this, sdr); in gpmi_setup_interface()