Searched refs:prescaler (Results 1 – 3 of 3) sorted by relevance
170 unsigned int prescaler; in gtm_set_ref_timer16() local181 prescaler = gtm->clock / frequency; in gtm_set_ref_timer16()187 if (prescaler > max_prescaler) in gtm_set_ref_timer16()190 if (prescaler > max_prescaler / 16) { in gtm_set_ref_timer16()192 prescaler /= 16; in gtm_set_ref_timer16()195 if (prescaler <= 256) { in gtm_set_ref_timer16()197 sps = prescaler - 1; in gtm_set_ref_timer16()200 sps = prescaler / 256 - 1; in gtm_set_ref_timer16()
126 unsigned int dll, dlm, divisor, prescaler, speed; in udbg_probe_uart_speed() local141 prescaler = 4; in udbg_probe_uart_speed()143 prescaler = 1; in udbg_probe_uart_speed()149 speed = (clock / prescaler) / (divisor * 16); in udbg_probe_uart_speed()
477 u32 prescaler; in omap4_calc_volt_ramp() local486 prescaler = 0; in omap4_calc_volt_ramp()493 prescaler++; in omap4_calc_volt_ramp()499 prescaler++; in omap4_calc_volt_ramp()505 prescaler++; in omap4_calc_volt_ramp()517 return (prescaler << OMAP4430_RAMP_UP_PRESCAL_SHIFT) | in omap4_calc_volt_ramp()