Home
last modified time | relevance | path

Searched refs:input_clk (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-cadence.c160 unsigned long input_clk; member
669 static int cdns_i2c_calc_divs(unsigned long *f, unsigned long input_clk, in cdns_i2c_calc_divs() argument
677 temp = input_clk / (22 * fscl); in cdns_i2c_calc_divs()
688 div_b = DIV_ROUND_UP(input_clk, 22 * fscl * (div_a + 1)); in cdns_i2c_calc_divs()
694 actual_fscl = input_clk / (22 * (div_a + 1) * (div_b + 1)); in cdns_i2c_calc_divs()
781 unsigned long input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb() local
786 ret = cdns_i2c_calc_divs(&fscl, input_clk, &div_a, &div_b); in cdns_i2c_clk_notifier_cb()
800 id->input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb()
938 id->input_clk = clk_get_rate(id->clk); in cdns_i2c_probe()
948 ret = cdns_i2c_setclk(id->input_clk, id); in cdns_i2c_probe()
/linux-4.19.296/drivers/iio/adc/
Dimx7d_adc.c280 u32 input_clk = 24000000; in imx7d_adc_get_sample_rate() local
285 analogue_core_clk = input_clk / info->pre_div_num; in imx7d_adc_get_sample_rate()