Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mmc/host/
Dsdhci-s3c.c127 unsigned long clk_rates[MAX_BUS_CLK]; member
164 rate = ourhost->clk_rates[src]; in sdhci_s3c_get_max_clk()
198 rate = ourhost->clk_rates[src]; in sdhci_s3c_consider_clock()
265 host->max_clk = ourhost->clk_rates[best_src]; in sdhci_s3c_set_clock()
313 rate = ourhost->clk_rates[src] / 256; in sdhci_s3c_get_min_clock()
543 sc->clk_rates[ptr] = clk_get_rate(sc->clk_bus[ptr]); in sdhci_s3c_probe()
546 ptr, name, sc->clk_rates[ptr]); in sdhci_s3c_probe()
/Linux-v5.15/drivers/soc/tegra/
Dpmc.c262 unsigned long *clk_rates; member
678 pg->clk_rates[i] = clk_get_rate(pg->clks[i]); in tegra_powergate_prepare_clocks()
680 if (!pg->clk_rates[i]) { in tegra_powergate_prepare_clocks()
685 if (pg->clk_rates[i] <= safe_rate) in tegra_powergate_prepare_clocks()
703 clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_prepare_clocks()
714 err = clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_unprepare_clocks()
980 pg->clk_rates = kzalloc(sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_powergate_sequence_power_up()
981 if (!pg->clk_rates) { in tegra_powergate_sequence_power_up()
997 kfree(pg->clk_rates); in tegra_powergate_sequence_power_up()
1148 pg->clk_rates = kcalloc(count, sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_powergate_of_get_clks()
[all …]
/Linux-v5.15/drivers/tty/serial/
Dsh-sci.c128 unsigned long clk_rates[SCI_NUM_CLKS]; member
541 sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); in sci_port_enable()
543 sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; in sci_port_enable()
2222 unsigned long freq = s->clk_rates[SCI_SCK]; in sci_sck_calc()
2282 unsigned long freq = s->clk_rates[SCI_FCK]; in sci_scbrr_calc()
2416 max_freq = max(max_freq, s->clk_rates[i]); in sci_set_termios()
2428 if (s->clk_rates[SCI_SCK] && port->type != PORT_SCIFA && in sci_set_termios()
2443 if (s->clk_rates[SCI_SCIF_CLK] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2444 err = sci_brg_calc(s, baud, s->clk_rates[SCI_SCIF_CLK], &dl1, in sci_set_termios()
2459 if (s->clk_rates[SCI_BRG_INT] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
[all …]