Lines Matching refs:ns_2_cycles
552 static inline u32 ns_2_cycles(u32 ns) in ns_2_cycles() function
694 val = max(min_tck->tRRD, ns_2_cycles(timings->tRRD)) - 1; in get_sdram_tim_1_reg()
698 val = ns_2_cycles(timings->tRASmin + timings->tRPab) - 1; in get_sdram_tim_1_reg()
701 val = max(min_tck->tRAS_MIN, ns_2_cycles(timings->tRASmin)) - 1; in get_sdram_tim_1_reg()
704 val = max(min_tck->tWR, ns_2_cycles(timings->tWR)) - 1; in get_sdram_tim_1_reg()
707 val = max(min_tck->tRCD, ns_2_cycles(timings->tRCD)) - 1; in get_sdram_tim_1_reg()
710 val = max(min_tck->tRP_AB, ns_2_cycles(timings->tRPab)) - 1; in get_sdram_tim_1_reg()
730 val = ns_2_cycles(timings->tXSR) - 1; in get_sdram_tim_2_reg()
748 val = ns_2_cycles(timings->tRFCab) - 1; in get_sdram_tim_3_reg()
754 val = ns_2_cycles(timings->tZQCS) - 1; in get_sdram_tim_3_reg()
757 val = max(min_tck->tCKESR, ns_2_cycles(timings->tCKESR)) - 1; in get_sdram_tim_3_reg()
829 val = ns_2_cycles(READ_IDLE_INTERVAL_DVFS) / 64 - 1; in get_read_idle_ctrl_reg()