Home
last modified time | relevance | path

Searched refs:CPU_FREQ (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.6.0/soc/arc/snps_arc_iot/
Dsoc.c16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
21 if (arc_iot_pll_fout_config(CPU_FREQ / 1000000) < 0) { in arc_iot_init()
/Zephyr-Core-3.6.0/drivers/clock_control/
Dclock_control_gd32.c24 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
114 *rate = CPU_FREQ >> ahb_exp[psc]; in clock_control_gd32_get_rate()
123 *rate = CPU_FREQ >> apb1_exp[psc]; in clock_control_gd32_get_rate()
127 *rate = CPU_FREQ >> apb2_exp[psc]; in clock_control_gd32_get_rate()
157 *rate = CPU_FREQ; in clock_control_gd32_get_rate()
164 *rate = CPU_FREQ; in clock_control_gd32_get_rate()
/Zephyr-Core-3.6.0/soc/arm/nxp_lpc/lpc54xxx/
Dsoc.c47 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
65 CLOCK_SetFLASHAccessCyclesForFreq(CPU_FREQ); in clock_init()
68 CLOCK_SetupFROClocking(CPU_FREQ); in clock_init()
/Zephyr-Core-3.6.0/drivers/spi/
Dspi_cc13xx_cc26xx.c35 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
88 if (2 * config->frequency > CPU_FREQ) { in spi_cc13xx_cc26xx_configure()
119 SSIConfigSetExpClk(cfg->base, CPU_FREQ, prot, in spi_cc13xx_cc26xx_configure()
/Zephyr-Core-3.6.0/drivers/watchdog/
Dwdt_cc13xx_cc26xx.c36 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
38 #define WATCHDOG_MS_RATIO (CPU_FREQ / WATCHDOG_DIV_RATIO / 1000)
/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_cc13xx_cc26xx_timer.c26 #define CPU_FREQ ((uint32_t)DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)) macro
119 *cycles = CPU_FREQ; in get_cycles_per_sec()
/Zephyr-Core-3.6.0/drivers/entropy/
Dentropy_cc13xx_cc26xx.c25 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
28 CONFIG_ENTROPY_CC13XX_CC26XX_SAMPLES_PER_CYCLE / CPU_FREQ + 1ULL)
/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_cc13xx_cc26xx.c229 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) macro
261 I2CMasterInitExpClk(config->base, CPU_FREQ, fast); in i2c_cc13xx_cc26xx_configure()