Home
last modified time | relevance | path

Searched refs:busfreq (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/arch/powerpc/boot/
Dmvme7100.c27 unsigned long busfreq = bd.bi_busfreq * 1000000; in mvme7100_fixups() local
29 dt_fixup_cpu_clocks(bd.bi_intfreq * 1000000, busfreq / 4, busfreq); in mvme7100_fixups()
33 setprop(devp, "bus-frequency", &busfreq, sizeof(busfreq)); in mvme7100_fixups()
37 setprop(devp, "clock-frequency", &busfreq, sizeof(busfreq)); in mvme7100_fixups()
Dops.h194 void dt_fixup_cpu_clocks(u32 cpufreq, u32 tbfreq, u32 busfreq);
/Linux-v5.15/drivers/cpufreq/
Dpowernow-k6.c26 static unsigned int busfreq; /* FSB, in 10 kHz */ variable
194 busfreq = param_busfreq / 10; in powernow_k6_cpu_init()
201 busfreq = khz / max_multiplier; in powernow_k6_cpu_init()
203 param_busfreq = busfreq * 10; in powernow_k6_cpu_init()
211 pos->frequency = busfreq * f; in powernow_k6_cpu_init()
246 ret = (busfreq * powernow_k6_get_cpu_multiplier()); in powernow_k6_get()
/Linux-v5.15/drivers/i2c/busses/
Di2c-xlr.c368 u32 busfreq; in xlr_i2c_probe() local
404 &busfreq)) in xlr_i2c_probe()
405 busfreq = I2C_MAX_STANDARD_MODE_FREQ; in xlr_i2c_probe()
414 clk_div = DIV_ROUND_UP(clk_rate, 2 * busfreq); in xlr_i2c_probe()
/Linux-v5.15/arch/powerpc/platforms/512x/
Dclock-commonclk.c704 static void mpc512x_clk_setup_clock_tree(struct device_node *np, int busfreq) in mpc512x_clk_setup_clock_tree() argument
732 mpc512x_clk_setup_ref_clock(np, busfreq, &sys_mul, &sys_div, &ips_div); in mpc512x_clk_setup_clock_tree()
1179 int busfreq; in mpc5121_clk_init() local
1205 busfreq = get_freq_from_dt("bus-frequency"); in mpc5121_clk_init()
1206 mpc512x_clk_setup_clock_tree(clk_np, busfreq); in mpc5121_clk_init()