Searched refs:clock_get_hz (Results 1 – 12 of 12) sorted by relevance
129 freq = clock_get_hz(s->clock_in); in npcm7xx_clk_update_pll()151 clock_update_hz(s->clock_out, clock_get_hz(s->clock_in[index])); in npcm7xx_clk_update_sel()165 return clock_get_hz(s->clock_in) / s->divisor; in divide_by_constant()170 return clock_get_hz(s->clock_in) / in divide_by_reg_divisor()181 return clock_get_hz(s->clock_in) >> in shift_by_reg_divisor()
102 freq = clock_get_hz(pll->xosc_in) * in pll_update()192 freq = clock_get_hz(channel->pll_in) / (div * channel->fixed_divider); in pll_channel_update()275 freq = clock_get_hz(mux->srcs[src]); in clock_mux_update()
201 trace_npcm7xx_mft_rpm(clock->canonical_path, clock_get_hz(clock), in npcm7xx_mft_compute_cnt()
83 freq = clock_get_hz(p->module->clock); in npcm7xx_pwm_calculate_freq()
249 static inline unsigned clock_get_hz(Clock *clk) in clock_get_hz() function
243 clk = clock_get_hz(s->clk); in pl011_get_baudrate()250 clock_get_hz(s->clk), in pl011_trace_baudrate_change()
259 baud *= clock_get_hz(s->f_clk); in ibex_uart_get_baud()
178 input_clk = clock_get_hz(s->refclk); in uart_parameters_setup()
143 return freq_to_str(clock_get_hz(clk)); in clock_display_freq()
162 clock_get_hz(s->m3clk) / s->apb0div); in m2sxxx_soc_realize()
155 prom_set(prom_buf, index++, "cpuclock=%u", clock_get_hz(cpu->clock)); in load_kernel()
323 or ``clock_get_hz()``.330 ``clock_get_hz()`` returns the frequency of the clock, rounded to the