Lines Matching defs:freq
186 static int omap4_clk_generic_get_source_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
189 static int omap4_clk_gptimer_get_source_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
192 static int omap4_clk_hsmmc_get_source_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
199 static int omap4_clk_get_sysclk_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
200 static int omap4_clk_get_arm_fclk_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
693 unsigned int *freq
702 if (freq)
703 *freq = (unsigned int)clk_details->src_freq;
766 unsigned int *freq
797 if (freq)
798 *freq = src_freq;
804 * omap4_clk_hsmmc_set_source - sets the source clock (freq)
839 /* For MMC modules 3, 4 & 5 you can't change the freq, it's always 48MHz */
877 unsigned int *freq
920 if (freq)
921 *freq = src_freq;
938 unsigned int *freq)
948 /* Read the input clock freq from the configuration register (CM_SYS_CLKSEL) */
972 panic("%s: Invalid clock freq", __func__);
976 if (freq)
977 *freq = sysclk;
985 * @freq: pointer which upon return will contain the freq in hz
989 * in the freq variable.
996 unsigned int *freq)
1016 /* Get the system clock freq */
1020 /* Calculate the MPU freq */
1024 if (freq)
1025 *freq = mpuclk;
1472 unsigned int freq;
1487 omap4_clk_get_arm_fclk_freq(NULL, &freq);
1488 arm_tmr_change_frequency(freq / 2);