/src/sys/arch/mips/mips/ |
mips_mcclock.c | 59 * Compute MHz and DELAY() constants using the default 117 * Compute approximate CPU speed in MHz, and an 124 printf("mcclock: iters %d computed MHz %d, instrs per usec=%d\n", 175 * to a CPU speed in MHz. 185 unsigned mhz = 0; local in function:mips_mcclock_to_mhz 193 * iters per 4ms tick = 425 * MHz) 194 * instructions per MHz = kHz * 575 195 * with about 2 MHz slop to allow for variation. 204 mhz = 45; 207 mhz = 50 [all...] |
/src/sys/arch/powerpc/oea/ |
cpu_speedctl.c | 68 scom_speeds[0] = scom_speeds[0] / 1000000; /* Hz -> MHz */ 117 int speed, nspeed = -1, mhz; local in function:sysctl_cpuspeed_temp 121 mhz = scom_speeds[speed]; 122 node.sysctl_data = &mhz; 153 int mhz; local in function:sysctl_cpuspeed_cur 158 mhz = scom_speeds[speed]; 159 node.sysctl_data = &mhz;
|
/src/sys/arch/hppa/dev/ |
cpu.c | 94 u_int mhz = 100 * cpu_ticksnum / cpu_ticksdenom; local in function:cpuattach 124 aprint_normal("%d", mhz / 100); 125 if (mhz % 100 > 9) 126 aprint_normal(".%02d", mhz % 100); 128 aprint_normal(" MHz clk\n%s: %s", device_xname(self),
|
/src/sys/dev/spi/ |
m25p.c | 93 uint16_t mhz; member in struct:m25p_info 149 /* configure for 20MHz, which is the max for normal reads */
|
/src/sys/arch/evbmips/loongson/ |
loongson_clock.c | 273 int mhz, i; local in function:loongson_cpuspeed_temp 275 mhz = sc_scale[sc_step_wanted]; 277 node.sysctl_data = &mhz; 297 int mhz; local in function:loongson_cpuspeed_cur 299 mhz = sc_scale[sc_step]; 300 node.sysctl_data = &mhz;
|
/src/sys/dev/pci/voyager/ |
pwmclock.c | 339 int mhz, i; local in function:pwmclock_cpuspeed_temp 341 mhz = sc->sc_scale[sc->sc_step_wanted]; 343 node.sysctl_data = &mhz; 364 int mhz; local in function:pwmclock_cpuspeed_cur 366 mhz = sc->sc_scale[sc->sc_step]; 367 node.sysctl_data = &mhz;
|
/src/sys/dev/videomode/ |
edid.c | 258 printf("\tMax Dot Clock: %d MHz\n", 542 int mhz; local in function:edid_parse 663 mhz = (max_dotclock + 999) / 1000; 666 if (mhz > edid->edid_range.er_max_clock) 667 edid->edid_range.er_max_clock = mhz; 669 edid->edid_range.er_max_clock = mhz;
|
/src/sys/arch/x86/x86/ |
powernow.c | 379 uint32_t currentfid, maxfid, mhz, startvid; local in function:powernow_k7_init 394 mhz = sc->sc_ci->ci_data.cpu_cc_freq / 1000000; 395 sc->sc_state->fsb = mhz / (powernow_k7_fidtomult[currentfid] / 10); 939 * 800 MHz. The maximum supported frequency is 5000 MHz.
|
/src/sys/dev/ic/ |
hd64570.c | 505 /* assume system clock is 9.8304MHz or 9830400Hz */ 2076 u_int32_t mhz, div; local in function:sca_print_clock_info 2085 mhz = sc->sc_baseclock / (scp->sp_tmc ? scp->sp_tmc : 256); 2097 printf("internal %d Hz", (mhz >> div)); 2100 printf("adpll using internal %d Hz", (mhz >> div)); 2113 printf("internal %d Hz\n", (mhz >> div));
|
atw.c | 1097 /* XXX I guess that the Cardbus clock is 22 MHz? 1099 * to divide the bus clock to get a 1 MHz clock---the datasheet is not 1101 * possible for the ADM8211 to accommodate bus speeds between 22 MHz 1102 * and 33 MHz; maybe this is the way? I see a binary-only driver write 1119 __SHIFTIN(22 * 10 /* IEEE80211_DUR_DS_SIFS */ /* # of 22 MHz cycles */, 1512 * a SAW filter on the radio fixes the IF at 374 MHz, I program the 1513 * Si4126 to generate IF LO = 374 MHz x 2 = 748 MHz. The second 1520 * of XIN than the 2-25 MHz mentioned by the datasheet, even *without* 1527 u_int mhz; local in function:atw_si4126_tune [all...] |
/src/sys/arch/macppc/dev/ |
obio.c | 712 int speed, mhz; local in function:sysctl_cpuspeed_temp 717 mhz = sc->sc_spd_lo; 720 mhz = sc->sc_spd_hi; 725 node.sysctl_data = &mhz; 748 int speed, mhz; local in function:sysctl_cpuspeed_cur 753 mhz = sc->sc_spd_lo; 756 mhz = sc->sc_spd_hi; 761 node.sysctl_data = &mhz;
|
/src/sys/compat/linux/arch/alpha/ |
linux_osf1.h | 125 int mhz; member in struct:osf1_cpu_info
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
nouveau_nvkm_subdev_fb_ramgk104.c | 971 u32 mhz = khz / 1000; local in function:gk104_ram_calc_data 974 if (mhz >= cfg->bios.rammap_min && 975 mhz <= cfg->bios.rammap_max) { 982 nvkm_error(subdev, "ramcfg data for %dMHz not found\n", mhz); 1164 u32 mhz = freq / 1000; local in function:gk104_ram_prog_0 1168 if (mhz >= cfg->bios.rammap_min && 1169 mhz <= cfg->bios.rammap_max)
|