Home
last modified time | relevance | path

Searched refs:freq_max (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/sh/clk/
Dcore.c560 unsigned long freq_max; in clk_round_parent() local
562 freq_max = (freq->frequency + div_min / 2) / div_min; in clk_round_parent()
563 if (error > target - freq_max) { in clk_round_parent()
564 error = target - freq_max; in clk_round_parent()
567 *best_freq = freq_max; in clk_round_parent()
571 target - freq_max); in clk_round_parent()
/linux-2.6.39/drivers/spi/
Dau1550_spi.c57 unsigned freq_max; member
255 if (hz > spi->max_speed_hz || hz > hw->freq_max || hz < hw->freq_min) { in au1550_spi_setupxfer()
305 spi->max_speed_hz = hw->freq_max; in au1550_spi_setup()
306 if (spi->max_speed_hz > hw->freq_max in au1550_spi_setup()
921 hw->freq_max = hw->pdata->mainclk_hz / min_div; in au1550_spi_probe()
/linux-2.6.39/drivers/media/dvb/dvb-core/
Ddvb_frontend.c794 u32 *freq_min, u32 *freq_max) in dvb_frontend_get_frequency_limits() argument
799 *freq_max = fe->ops.tuner_ops.info.frequency_max; in dvb_frontend_get_frequency_limits()
801 *freq_max = fe->ops.info.frequency_max; in dvb_frontend_get_frequency_limits()
803 *freq_max = min(fe->ops.info.frequency_max, fe->ops.tuner_ops.info.frequency_max); in dvb_frontend_get_frequency_limits()
805 if (*freq_min == 0 || *freq_max == 0) in dvb_frontend_get_frequency_limits()
814 u32 freq_max; in dvb_frontend_check_parameters() local
817 dvb_frontend_get_frequency_limits(fe, &freq_min, &freq_max); in dvb_frontend_check_parameters()
819 (freq_max && parms->frequency > freq_max)) { in dvb_frontend_check_parameters()
821 fe->dvb->num, fe->id, parms->frequency, freq_min, freq_max); in dvb_frontend_check_parameters()
/linux-2.6.39/drivers/video/savage/
Dsavagefb_driver.c420 long freq_max, unsigned int *mdiv, in SavageCalcClock() argument
431 if (freq > freq_max / (1 << min_n2)) { in SavageCalcClock()
433 freq = freq_max / (1 << min_n2); in SavageCalcClock()
446 (m * BASE_FREQ <= freq_max * n1)) { in SavageCalcClock()
467 long freq_max, unsigned char *mdiv, in common_calc_clock() argument
484 (m * BASE_FREQ <= freq_max * n1)) { in common_calc_clock()