Home
last modified time | relevance | path

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

/linux/drivers/soc/tegra/
H A Dpmc.c273 unsigned long *clk_rates; member
714 pg->clk_rates[i] = clk_get_rate(pg->clks[i]); in tegra_powergate_prepare_clocks()
716 if (!pg->clk_rates[i]) { in tegra_powergate_prepare_clocks()
721 if (pg->clk_rates[i] <= safe_rate) in tegra_powergate_prepare_clocks()
739 clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_prepare_clocks()
750 err = clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_unprepare_clocks()
1016 pg->clk_rates = kzalloc(sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_powergate_sequence_power_up()
1017 if (!pg->clk_rates) { in tegra_powergate_sequence_power_up()
1033 kfree(pg->clk_rates); in tegra_powergate_sequence_power_up()
1207 pg->clk_rates = kcalloc(count, sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_powergate_of_get_clks()
[all …]
/linux/drivers/tty/serial/
H A Dsh-sci.c129 unsigned long clk_rates[SCI_NUM_CLKS]; member
574 sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); in sci_port_enable()
576 sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; in sci_port_enable()
2330 unsigned long freq = s->clk_rates[SCI_SCK]; in sci_sck_calc()
2390 unsigned long freq = s->clk_rates[SCI_FCK]; in sci_scbrr_calc()
2528 max_freq = max(max_freq, s->clk_rates[i]); in sci_set_termios()
2540 if (s->clk_rates[SCI_SCK] && port->type != PORT_SCIFA && in sci_set_termios()
2555 if (s->clk_rates[SCI_SCIF_CLK] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2556 err = sci_brg_calc(s, baud, s->clk_rates[SCI_SCIF_CLK], &dl1, in sci_set_termios()
2571 if (s->clk_rates[SCI_BRG_INT] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
[all …]