Searched refs:ideal_sample_delay_in_ns (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-lib.c344 int ideal_sample_delay_in_ns; gpmi_nfc_compute_hardware_timing() local
491 ideal_sample_delay_in_ns = target.gpmi_sample_delay_in_ns + gpmi_nfc_compute_hardware_timing()
504 while ((ideal_sample_delay_in_ns > max_sample_delay_in_ns) && gpmi_nfc_compute_hardware_timing()
508 ideal_sample_delay_in_ns -= clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
510 if (ideal_sample_delay_in_ns < 0) gpmi_nfc_compute_hardware_timing()
511 ideal_sample_delay_in_ns = 0; gpmi_nfc_compute_hardware_timing()
526 ideal_sample_delay_in_ns << dll_delay_shift, gpmi_nfc_compute_hardware_timing()
595 ideal_sample_delay_in_ns = gpmi_nfc_compute_hardware_timing()
639 if (ideal_sample_delay_in_ns < 0) gpmi_nfc_compute_hardware_timing()
640 ideal_sample_delay_in_ns = 0; gpmi_nfc_compute_hardware_timing()
646 while ((ideal_sample_delay_in_ns > max_sample_delay_in_ns) && gpmi_nfc_compute_hardware_timing()
660 ideal_sample_delay_in_ns -= (clock_period_in_ns >> 1); gpmi_nfc_compute_hardware_timing()
663 if (ideal_sample_delay_in_ns < 0) gpmi_nfc_compute_hardware_timing()
664 ideal_sample_delay_in_ns = 0; gpmi_nfc_compute_hardware_timing()
677 ns_to_cycles(ideal_sample_delay_in_ns << dll_delay_shift, gpmi_nfc_compute_hardware_timing()
688 #define IDEAL_DELAY ((int) ideal_sample_delay_in_ns) gpmi_nfc_compute_hardware_timing()
739 ideal_sample_delay_in_ns -= (clock_period_in_ns >> 1); gpmi_nfc_compute_hardware_timing()
742 ideal_sample_delay_in_ns -= clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
745 if (ideal_sample_delay_in_ns < 0) gpmi_nfc_compute_hardware_timing()
746 ideal_sample_delay_in_ns = 0; gpmi_nfc_compute_hardware_timing()
754 ideal_sample_delay_in_ns << dll_delay_shift, gpmi_nfc_compute_hardware_timing()

Completed in 130 milliseconds