Searched refs:mhztons (Results 1 – 2 of 2) sorted by relevance
586 #define mhztons(c) (1000000 / (uint32_t)((c) * 1000)) macro
2612 wspeed = mhztons(PCIC_ISA_DEF_SYSCLK) * 3; in pcic_calc_speed()2615 else if (speed <= (wspeed += mhztons(bspeed))) in pcic_calc_speed()2617 else if (speed <= (wspeed += mhztons(bspeed))) in pcic_calc_speed()2690 clk_pulse = mhztons(pcic->bus_speed); in pcic_set_cdtimers()3406 mhztons(pcic->bus_speed) * 3) in pcic_set_window()3410 mhztons(pcic->bus_speed) * 6) in pcic_set_window()