Lines Matching refs:sdr
648 const struct nand_sdr_timings *sdr) in gpmi_nfc_compute_timings() argument
660 if (sdr->tRC_min >= 30000) { in gpmi_nfc_compute_timings()
664 } else if (sdr->tRC_min >= 25000) { in gpmi_nfc_compute_timings()
677 addr_setup_cycles = TO_CYCLES(sdr->tALS_min, period_ps); in gpmi_nfc_compute_timings()
678 data_setup_cycles = TO_CYCLES(sdr->tDS_min, period_ps); in gpmi_nfc_compute_timings()
679 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings()
680 busy_timeout_cycles = TO_CYCLES(sdr->tWB_max + sdr->tR_max, period_ps); in gpmi_nfc_compute_timings()
703 sample_delay_ps = (sdr->tREA_max + 4000 - tRP_ps) * 8; in gpmi_nfc_compute_timings()
748 const struct nand_sdr_timings *sdr; in gpmi_setup_interface() local
751 sdr = nand_get_sdr_timings(conf); in gpmi_setup_interface()
752 if (IS_ERR(sdr)) in gpmi_setup_interface()
753 return PTR_ERR(sdr); in gpmi_setup_interface()
756 if (sdr->tRC_min <= 25000 && !GPMI_IS_MX6(this)) in gpmi_setup_interface()
764 gpmi_nfc_compute_timings(this, sdr); in gpmi_setup_interface()