Home
last modified time | relevance | path

Searched refs:sys_clk_freq (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.5.0/drivers/serial/
Duart_cmsdk_apb.c66 uint32_t sys_clk_freq; member
108 if ((dev_data->baud_rate != 0U) && (dev_cfg->sys_clk_freq != 0U)) { in baudrate_set()
110 dev_cfg->uart->bauddiv = (dev_cfg->sys_clk_freq / dev_data->baud_rate); in baudrate_set()
486 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(0, clocks, clock_frequency),
551 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(1, clocks, clock_frequency),
616 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(2, clocks, clock_frequency),
681 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(3, clocks, clock_frequency),
746 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(4, clocks, clock_frequency),
Duart_sifive.c54 uint32_t sys_clk_freq; member
334 uart->div = cfg->sys_clk_freq / cfg->baud_rate - 1; in uart_sifive_init()
388 .sys_clk_freq = SIFIVE_PERIPHERAL_CLOCK_FREQUENCY,
431 .sys_clk_freq = SIFIVE_PERIPHERAL_CLOCK_FREQUENCY,
Duart_pl011.c33 uint32_t sys_clk_freq; member
321 ret = config->clk_enable_func(dev, config->sys_clk_freq); in pl011_init()
328 ret = pl011_set_baudrate(dev, config->sys_clk_freq, in pl011_init()
421 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(n, clocks, clock_frequency), \
431 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(n, clocks, clock_frequency), \
Duart_stellaris.c73 uint32_t sys_clk_freq; member
229 config->sys_clk_freq); in uart_stellaris_init()
584 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(0, clocks, clock_frequency),
623 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(1, clocks, clock_frequency),
662 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(2, clocks, clock_frequency),
Duart_miv.c132 uint32_t sys_clk_freq; member
348 uint16_t baud_value = (cfg->sys_clk_freq / (cfg->baud_rate * 16U)) - 1; in uart_miv_init()
398 .sys_clk_freq = DT_INST_PROP(0, clock_frequency),
Duart_cdns.h132 uint32_t sys_clk_freq; member
Duart_cdns.c51 uart_regs->baud_rate_gen = (dev_cfg->sys_clk_freq + ((dev_cfg->bdiv + 1) * baud_rate) / 2) / in uart_cdns_set_baudrate()
294 .sys_clk_freq = DT_INST_PROP(n, clock_frequency), \
Duart_cc32xx.c24 uint32_t sys_clk_freq; member
330 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(idx, clocks, clock_frequency),\
Duart_ns16550.c251 uint32_t sys_clk_freq; member
474 if (dev_cfg->sys_clk_freq != 0U) {
475 pclk = dev_cfg->sys_clk_freq;
1130 if (dev_cfg->sys_clk_freq != 0U) {
1131 pclk = dev_cfg->sys_clk_freq;
1302 .sys_clk_freq = DT_INST_PROP(n, clock_frequency), \
1306 .sys_clk_freq = 0, \
Duart_cc13xx_cc26xx.c27 uint32_t sys_clk_freq; member
167 config->sys_clk_freq, cfg->baudrate, in uart_cc13xx_cc26xx_configure()
616 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(n, clocks, \
Duart_xlnx_ps.c142 uint32_t sys_clk_freq; member
232 uint32_t clk_freq = dev_cfg->sys_clk_freq; in set_baudrate()
1160 .sys_clk_freq = DT_INST_PROP(port, clock_frequency), \
Duart_mchp_xec.c184 uint32_t sys_clk_freq; member
296 if ((baud_rate != 0U) && (dev_cfg->sys_clk_freq != 0U)) { in set_baud_rate()
301 divisor = ((dev_cfg->sys_clk_freq + (baud_rate << 3)) in set_baud_rate()
1083 .sys_clk_freq = DT_INST_PROP(n, clock_frequency), \
Duart_liteuart.c36 uint32_t sys_clk_freq; member
/Zephyr-Core-3.5.0/drivers/clock_control/
Dclock_control_litex.c329 f = (uint64_t)ldev->sys_clk_freq * (uint64_t)mul; in litex_clk_calc_global_frequency()
1311 vco_freq = (uint64_t)ldev->sys_clk_freq * (uint64_t)mul; in litex_clk_calc_all_params()
1347 max = (uint64_t)ldev->sys_clk_freq * (uint64_t)ldev->clkfbout.max; in litex_clk_check_rate_range()
1352 min = ldev->sys_clk_freq * ldev->clkfbout.min; in litex_clk_check_rate_range()
1695 ldev->sys_clk_freq = SYS_CLOCK_FREQUENCY; in litex_clk_dts_global_read()
1782 .sys_clk_freq = SYS_CLOCK_FREQUENCY,
Dclock_control_litex.h246 uint32_t sys_clk_freq; /* input frequency */ member