Searched refs:prescale (Results 1 – 4 of 4) sorted by relevance
343 unsigned prescale; in clk_round_rate() local352 for (prescale = 0; prescale < 7; prescale++) { in clk_round_rate()359 prescale--; in clk_round_rate()367 return (prescale < 7) ? actual : -ENOENT; in clk_round_rate()374 unsigned prescale; in clk_set_rate() local394 for (prescale = 0; prescale < 7; prescale++) { in clk_set_rate()400 pckr |= prescale << prescale_offset; in clk_set_rate()409 return (prescale < 7) ? actual : -ENOENT; in clk_set_rate()
401 u32 prescale; in mpc52xx_gpt_do_start() local435 prescale = (clocks >> 16) + 1; in mpc52xx_gpt_do_start()436 do_div(clocks, prescale); in mpc52xx_gpt_do_start()439 prescale, clocks); in mpc52xx_gpt_do_start()451 out_be32(&gpt->regs->count, prescale << 16 | clocks); in mpc52xx_gpt_do_start()505 u64 prescale; in mpc52xx_gpt_timer_period() local512 prescale = period >> 16; in mpc52xx_gpt_timer_period()514 if (prescale == 0) in mpc52xx_gpt_timer_period()515 prescale = 0x10000; in mpc52xx_gpt_timer_period()516 period = period * prescale * 1000000000ULL; in mpc52xx_gpt_timer_period()
75 unsigned int prescale; member356 adc->prescale = S3C2410_ADCCON_PRSCVL(49); in s3c_adc_probe()394 tmp = adc->prescale | S3C2410_ADCCON_PRSCEN; in s3c_adc_probe()460 tmp = adc->prescale | S3C2410_ADCCON_PRSCEN; in s3c_adc_resume()
397 .prescale = 0xfa,