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

/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-lib.c336 unsigned int clock_period_in_ns; gpmi_nfc_compute_hardware_timing() local
373 clock_period_in_ns = NSEC_PER_SEC / clock_frequency_in_hz; gpmi_nfc_compute_hardware_timing()
386 clock_period_in_ns, 1); gpmi_nfc_compute_hardware_timing()
388 clock_period_in_ns, 1); gpmi_nfc_compute_hardware_timing()
390 clock_period_in_ns, 0); gpmi_nfc_compute_hardware_timing()
450 if (clock_period_in_ns > (nfc->max_dll_clock_period_in_ns >> 1)) { gpmi_nfc_compute_hardware_timing()
463 if (clock_period_in_ns > nfc->max_dll_clock_period_in_ns) gpmi_nfc_compute_hardware_timing()
471 (nfc->max_sample_delay_factor * clock_period_in_ns) >> gpmi_nfc_compute_hardware_timing()
508 ideal_sample_delay_in_ns -= clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
527 clock_period_in_ns, 0); gpmi_nfc_compute_hardware_timing()
551 data_setup_in_ns = clock_period_in_ns * data_setup_in_cycles; gpmi_nfc_compute_hardware_timing()
580 data_setup_in_ns += clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
582 tEYE += clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
652 data_setup_in_ns += clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
654 tEYE += clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
660 ideal_sample_delay_in_ns -= (clock_period_in_ns >> 1); gpmi_nfc_compute_hardware_timing()
678 clock_period_in_ns, 0); gpmi_nfc_compute_hardware_timing()
691 ((int) ((sample_delay_factor * clock_period_in_ns) >> \ gpmi_nfc_compute_hardware_timing()
731 data_setup_in_ns += clock_period_in_ns; gpmi_nfc_compute_hardware_timing()
733 tEYE += clock_period_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()
755 clock_period_in_ns, 0); gpmi_nfc_compute_hardware_timing()
995 unsigned int clock_period_in_ns; gpmi_begin() local
1061 clock_period_in_ns = NSEC_PER_SEC / clk_get_rate(r->clock[0]); gpmi_begin()
1062 dll_wait_time_in_us = (clock_period_in_ns * 64) / 1000; gpmi_begin()

Completed in 58 milliseconds