Lines Matching refs:clk_rates
129 unsigned long clk_rates[SCI_NUM_CLKS]; member
542 sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); in sci_port_enable()
544 sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; in sci_port_enable()
2209 unsigned long freq = s->clk_rates[SCI_SCK]; in sci_sck_calc()
2269 unsigned long freq = s->clk_rates[SCI_FCK]; in sci_scbrr_calc()
2407 max_freq = max(max_freq, s->clk_rates[i]); in sci_set_termios()
2419 if (s->clk_rates[SCI_SCK] && port->type != PORT_SCIFA && in sci_set_termios()
2434 if (s->clk_rates[SCI_SCIF_CLK] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2435 err = sci_brg_calc(s, baud, s->clk_rates[SCI_SCIF_CLK], &dl1, in sci_set_termios()
2450 if (s->clk_rates[SCI_BRG_INT] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2451 err = sci_brg_calc(s, baud, s->clk_rates[SCI_BRG_INT], &dl1, in sci_set_termios()