Home
last modified time | relevance | path

Searched refs:clk_rates (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/tty/serial/
H A Dsh-sci-common.h118 unsigned long clk_rates[SCI_NUM_CLKS]; member
H A Dsh-sci.c724 sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); in sci_port_enable()
726 sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; in sci_port_enable()
2515 unsigned long freq = s->clk_rates[SCI_SCK]; in sci_sck_calc()
2575 unsigned long freq = s->clk_rates[SCI_FCK]; in sci_scbrr_calc()
2713 max_freq = max(max_freq, s->clk_rates[i]); in sci_set_termios()
2725 if (s->clk_rates[SCI_SCK] && s->type != PORT_SCIFA && in sci_set_termios()
2740 if (s->clk_rates[SCI_SCIF_CLK] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2741 err = sci_brg_calc(s, baud, s->clk_rates[SCI_SCIF_CLK], &dl1, in sci_set_termios()
2756 if (s->clk_rates[SCI_BRG_INT] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2757 err = sci_brg_calc(s, baud, s->clk_rates[SCI_BRG_INT], &dl1, in sci_set_termios()
/linux/drivers/soc/tegra/
H A Dpmc.c288 unsigned long *clk_rates;
731 pg->clk_rates[i] = clk_get_rate(pg->clks[i]); in tegra_powergate_prepare_clocks()
733 if (!pg->clk_rates[i]) { in tegra_powergate_prepare_clocks()
738 if (pg->clk_rates[i] <= safe_rate) in tegra_powergate_prepare_clocks()
756 clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_unprepare_clocks()
767 err = clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_enable_clocks()
1138 pg->clk_rates = kzalloc(sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_pmc_restart()
1139 if (!pg->clk_rates) { in tegra_pmc_restart()
1155 kfree(pg->clk_rates); in tegra_pmc_power_off_handler()
274 unsigned long *clk_rates; global() member
[all...]