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

/linux-4.1.27/drivers/cpufreq/
H A Dsa1110-cpufreq.c125 static inline u_int ns_to_cycles(u_int ns, u_int khz) ns_to_cycles() function
161 if ((ns_to_cycles(sdram->tck, sd_khz) > 1) || sdram_calculate_timing()
167 twr = ns_to_cycles(sdram->twr, mem_khz); sdram_calculate_timing()
170 trp = ns_to_cycles(sdram->trp, mem_khz) - 1; sdram_calculate_timing()
189 ns_to_cycles(sdram->trcd, mem_khz)); sdram_calculate_timing()
219 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; sdram_update_refresh()
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-lib.c315 static unsigned int ns_to_cycles(unsigned int time, ns_to_cycles() function
385 data_setup_in_cycles = ns_to_cycles(target.data_setup_in_ns, gpmi_nfc_compute_hardware_timing()
387 data_hold_in_cycles = ns_to_cycles(target.data_hold_in_ns, gpmi_nfc_compute_hardware_timing()
389 address_setup_in_cycles = ns_to_cycles(target.address_setup_in_ns, gpmi_nfc_compute_hardware_timing()
520 * Notice that we use the ns_to_cycles function to compute the gpmi_nfc_compute_hardware_timing()
525 ns_to_cycles( gpmi_nfc_compute_hardware_timing()
672 * Notice that we use the ns_to_cycles function to compute the sample gpmi_nfc_compute_hardware_timing()
677 ns_to_cycles(ideal_sample_delay_in_ns << dll_delay_shift, gpmi_nfc_compute_hardware_timing()
753 ns_to_cycles( gpmi_nfc_compute_hardware_timing()

Completed in 109 milliseconds