Lines Matching refs:pclk
359 static void set_baud_rate(const struct device *dev, uint32_t baud_rate, uint32_t pclk) argument
366 if ((baud_rate != 0U) && (pclk != 0U)) {
371 divisor = ((pclk + (baud_rate << 3))
393 uint32_t pclk = 0U; local
429 pclk = dev_cfg->sys_clk_freq;
437 &pclk);
440 set_baud_rate(dev, cfg->baudrate, pclk);
1038 uint32_t mdc, chg, pclk = 0U; local
1042 pclk = dev_cfg->sys_clk_freq;
1045 clock_control_get_rate(dev_cfg->clock_dev, dev_cfg->clock_subsys, &pclk);
1051 set_baud_rate(dev, val, pclk);