Lines Matching +full:32 +full:khz
28 * 32us intervals which the SUSP# pin is asserted(ON)/de-asserted(OFF)
90 #define PCI_MODOFF 0x94 /* suspend modulation OFF counter register, 1 = 32us */
128 * (32us * MAX_DURATION). If no parameter is given, this defaults
132 * though. 781.25 kHz(!) for a 200 MHz processor -- wow. */
217 static unsigned int gx_validate_speed(unsigned int khz, u8 *on_duration, in gx_validate_speed() argument
229 tmp_off = ((khz * i) / stock_freq) & 0xff; in gx_validate_speed()
232 /* if this relation is closer to khz, use this. If it's equal, in gx_validate_speed()
234 if (abs(tmp_freq - khz) <= abs(old_tmp_freq - khz)) { in gx_validate_speed()
247 * set cpu speed in khz.
250 static void gx_set_cpuspeed(struct cpufreq_policy *policy, unsigned int khz) in gx_set_cpuspeed() argument
259 new_khz = gx_validate_speed(khz, &gx_params->on_duration, in gx_set_cpuspeed()
268 /* if new khz == 100% of CPU speed, it is special case */ in gx_set_cpuspeed()
316 gx_params->on_duration * 32, gx_params->off_duration * 32); in gx_set_cpuspeed()
317 pr_debug("suspend modulation w/ clock speed: %d kHz.\n", freqs.new); in gx_set_cpuspeed()
327 * This function checks if a given frequency range in kHz is valid