Searched refs:inrate (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/clocksource/
H A Dtimer-integrator-ap.c39 static void integrator_clocksource_init(unsigned long inrate, integrator_clocksource_init() argument
43 unsigned long rate = inrate; integrator_clocksource_init()
141 static void integrator_clockevent_init(unsigned long inrate, integrator_clockevent_init() argument
144 unsigned long rate = inrate; integrator_clockevent_init()
/linux-4.4.14/sound/soc/fsl/
H A Dfsl_asrc.c194 int inrate, int outrate) fsl_asrc_set_ideal_ratio()
207 ratio = (inrate / outrate) << IDEAL_RATIO_DECIMAL_DEPTH; fsl_asrc_set_ideal_ratio()
210 inrate %= outrate; fsl_asrc_set_ideal_ratio()
213 inrate <<= 1; fsl_asrc_set_ideal_ratio()
215 if (inrate < outrate) fsl_asrc_set_ideal_ratio()
219 inrate -= outrate; fsl_asrc_set_ideal_ratio()
221 if (!inrate) fsl_asrc_set_ideal_ratio()
243 u32 inrate, outrate, indiv, outdiv; fsl_asrc_config_pair() local
266 inrate = config->input_sample_rate; fsl_asrc_config_pair()
272 if (inrate == supported_input_rate[in]) fsl_asrc_config_pair()
276 pair_err("unsupported input sample rate: %dHz\n", inrate); fsl_asrc_config_pair()
296 div[IN] = clk_get_rate(clk) / inrate; fsl_asrc_config_pair()
299 inrate, clk_index[ideal ? OUT : IN]); fsl_asrc_config_pair()
383 return fsl_asrc_set_ideal_ratio(pair, inrate, outrate); fsl_asrc_config_pair()
193 fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, int inrate, int outrate) fsl_asrc_set_ideal_ratio() argument

Completed in 134 milliseconds