Lines Matching defs:freq
184 static int omap4_clk_generic_get_source_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
187 static int omap4_clk_gptimer_get_source_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
190 static int omap4_clk_hsmmc_get_source_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
197 static int omap4_clk_get_sysclk_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
198 static int omap4_clk_get_arm_fclk_freq(struct ti_clock_dev *clkdev, unsigned int *freq);
691 unsigned int *freq
700 if (freq)
701 *freq = (unsigned int)clk_details->src_freq;
764 unsigned int *freq
795 if (freq)
796 *freq = src_freq;
802 * omap4_clk_hsmmc_set_source - sets the source clock (freq)
837 /* For MMC modules 3, 4 & 5 you can't change the freq, it's always 48MHz */
875 unsigned int *freq
918 if (freq)
919 *freq = src_freq;
936 unsigned int *freq)
946 /* Read the input clock freq from the configuration register (CM_SYS_CLKSEL) */
970 panic("%s: Invalid clock freq", __func__);
974 if (freq)
975 *freq = sysclk;
983 * @freq: pointer which upon return will contain the freq in hz
987 * in the freq variable.
994 unsigned int *freq)
1014 /* Get the system clock freq */
1018 /* Calculate the MPU freq */
1022 if (freq)
1023 *freq = mpuclk;
1448 unsigned int freq;
1471 omap4_clk_get_arm_fclk_freq(NULL, &freq);
1472 arm_tmr_change_frequency(freq / 2);