Searched refs:off_duration (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/cpufreq/
H A Dgx-suspmod.c45 * off_duration + on_duration <= MAX_DURATION
46 * on_duration = off_duration * (stock_freq - freq) / freq
48 * off_duration = (freq * DURATION) / stock_freq
49 * on_duration = DURATION - off_duration
117 u8 off_duration; member in struct:gxfreq_params
211 return (stock_freq * gx_params->off_duration) gx_get_cpuspeed()
212 / (gx_params->on_duration + gx_params->off_duration); gx_get_cpuspeed()
222 u8 *off_duration) gx_validate_speed()
229 *off_duration = 1; gx_validate_speed()
240 *off_duration = tmp_off; gx_validate_speed()
264 &gx_params->off_duration); gx_set_cpuspeed()
302 gx_params->off_duration = 0; gx_set_cpuspeed()
307 gx_write_byte(PCI_MODOFF, gx_params->off_duration); gx_set_cpuspeed()
320 gx_params->on_duration * 32, gx_params->off_duration * 32); gx_set_cpuspeed()
478 &(params->off_duration)); cpufreq_gx_init()
221 gx_validate_speed(unsigned int khz, u8 *on_duration, u8 *off_duration) gx_validate_speed() argument

Completed in 129 milliseconds