Home
last modified time | relevance | path

Searched refs:clock_rate (Results 1 – 25 of 28) sorted by relevance

12

/external/u-boot/drivers/timer/
Dtsc_timer.c402 if (!gd->arch.clock_rate) { in tsc_timer_ensure_setup()
427 gd->arch.clock_rate = fast_calibrate * 1000000; in tsc_timer_ensure_setup()
438 if (!gd->arch.clock_rate) { in tsc_timer_probe()
443 if (!uc_priv->clock_rate) in tsc_timer_probe()
446 uc_priv->clock_rate = gd->arch.clock_rate; in tsc_timer_probe()
461 return gd->arch.clock_rate; in timer_early_get_rate()
Dtimer-uclass.c40 return uc_priv->clock_rate; in timer_get_rate()
60 uc_priv->clock_rate = ret; in timer_pre_probe()
62 uc_priv->clock_rate = in timer_pre_probe()
74 if (!uc_priv->clock_rate) in timer_post_probe()
Dsandbox_timer.c43 if (!uc_priv->clock_rate) in sandbox_timer_probe()
44 uc_priv->clock_rate = SANDBOX_TIMER_RATE; in sandbox_timer_probe()
Dmtk_timer.c61 uc_priv->clock_rate = clk_get_rate(&clk); in mtk_timer_probe()
62 if (!uc_priv->clock_rate) in mtk_timer_probe()
Dostm_timer.c49 uc_priv->clock_rate = clk_get_rate(&clk); in ostm_probe()
53 uc_priv->clock_rate = CONFIG_SYS_CLK_FREQ / 2; in ostm_probe()
Domap-timer.c64 if (!uc_priv->clock_rate) in omap_timer_probe()
65 uc_priv->clock_rate = TIMER_CLOCK; in omap_timer_probe()
Driscv_timer.c41 uc_priv->clock_rate = dev->driver_data; in riscv_timer_probe()
Dsti-timer.c49 uc_priv->clock_rate = CONFIG_SYS_HZ_CLOCK; in sti_timer_probe()
Datmel_pit_timer.c55 uc_priv->clock_rate = clk_rate / 16; in atmel_pit_probe()
Dast_timer.c48 uc_priv->clock_rate = AST_TMC_RATE; in ast_timer_probe()
Ddw-apb-timer.c57 uc_priv->clock_rate = clk_get_rate(&clk); in dw_apb_timer_probe()
Dstm32_timer.c102 uc_priv->clock_rate = CONFIG_SYS_HZ_CLOCK; in stm32_timer_probe()
Dmpc83xx_timer.c226 uc_priv->clock_rate = (clk_get_rate(&clock) + 3L) / 4L; in mpc83xx_timer_probe()
Drockchip_timer.c143 uc_priv->clock_rate = plat->dtd.clock_frequency; in rockchip_timer_probe()
/external/u-boot/drivers/i2c/
Dimx_lpi2c.c277 u32 clock_rate; in bus_i2c_set_bus_speed() local
284 clock_rate = clk_get_rate(&i2c_bus->per_clk); in bus_i2c_set_bus_speed()
285 if (clock_rate <= 0) { in bus_i2c_set_bus_speed()
286 dev_err(bus, "Failed to get i2c clk: %d\n", clock_rate); in bus_i2c_set_bus_speed()
287 return clock_rate; in bus_i2c_set_bus_speed()
290 clock_rate = imx_get_i2cclk(bus->seq); in bus_i2c_set_bus_speed()
291 if (!clock_rate) in bus_i2c_set_bus_speed()
304 rate = (clock_rate / preescale) / (1 + 3 + 2 + 2 / preescale); in bus_i2c_set_bus_speed()
306 rate = (clock_rate / preescale / (3 * clkhi + 2 + 2 / preescale)); in bus_i2c_set_bus_speed()
/external/u-boot/drivers/serial/
Dserial_stm32.c19 u32 clock_rate, in _stm32_serial_setbrg() argument
25 int_div = DIV_ROUND_CLOSEST(clock_rate, baudrate); in _stm32_serial_setbrg()
46 plat->clock_rate, baudrate); in stm32_serial_setbrg()
198 plat->clock_rate = clk_get_rate(&clk); in stm32_serial_probe()
199 if (!plat->clock_rate) { in stm32_serial_probe()
Dserial_stm32.h53 unsigned long int clock_rate; member
/external/u-boot/arch/x86/cpu/slimbootloader/
Dslimbootloader.c40 gd->arch.clock_rate = data->frequency * 1000; in tsc_init()
41 debug("freq=0x%lx\n", gd->arch.clock_rate); in tsc_init()
/external/kernel-headers/original/uapi/linux/hdlc/
Dioctl.h41 unsigned int clock_rate; /* bits per second */ member
47 unsigned int clock_rate; /* bits per second */ member
/external/iproute2/include/uapi/linux/hdlc/
Dioctl.h41 unsigned int clock_rate; /* bits per second */ member
47 unsigned int clock_rate; /* bits per second */ member
/external/u-boot/arch/arm/mach-aspeed/ast2500/
Dsdram_ast2500.c72 ulong clock_rate; member
347 clk_set_rate(&priv->ddr_clk, priv->clock_rate); in ast2500_sdrammc_probe()
401 priv->clock_rate = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ast2500_sdrammc_ofdata_to_platdata()
404 if (!priv->clock_rate) { in ast2500_sdrammc_ofdata_to_platdata()
/external/u-boot/drivers/spi/
Dstm32_qspi.c120 ulong clock_rate; member
363 priv->clock_rate = clk_get_rate(&clk); in stm32_qspi_probe()
364 if (!priv->clock_rate) { in stm32_qspi_probe()
442 u32 qspi_clk = priv->clock_rate; in stm32_qspi_set_speed()
/external/u-boot/include/
Dtimer.h66 unsigned long clock_rate; member
/external/u-boot/arch/x86/include/asm/
Dglobal_data.h80 unsigned long clock_rate; /* Clock rate of timer in Hz */ member
/external/rmi4utils/f54test/
Df54test.h195 unsigned short clock_rate; member

12