Home
last modified time | relevance | path

Searched refs:mhztons (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dpcic_var.h584 #define mhztons(c) (1000000 / (uint32_t)((c) * 1000)) macro
/illumos-gate/usr/src/uts/common/io/
H A Dpcic.c2613 wspeed = mhztons(PCIC_ISA_DEF_SYSCLK) * 3; in pcic_calc_speed()
2616 else if (speed <= (wspeed += mhztons(bspeed))) in pcic_calc_speed()
2618 else if (speed <= (wspeed += mhztons(bspeed))) in pcic_calc_speed()
2691 clk_pulse = mhztons(pcic->bus_speed); in pcic_set_cdtimers()
3407 mhztons(pcic->bus_speed) * 3) in pcic_set_window()
3411 mhztons(pcic->bus_speed) * 6) in pcic_set_window()