Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A Dfdt.c249 u32 *clk_rates; in ft_opp_clock_fixups() local
257 clk_rates = dra7_opp_dsp_clk_rates[get_voltrail_opp(VOLT_EVE)]; in ft_opp_clock_fixups()
258 ret = ft_fixup_clocks(fdt, clk_names, clk_rates, OPP_DSP_CLK_NUM); in ft_opp_clock_fixups()
267 clk_rates = dra7_opp_iva_clk_rates[get_voltrail_opp(VOLT_IVA)]; in ft_opp_clock_fixups()
268 ret = ft_fixup_clocks(fdt, clk_names, clk_rates, OPP_IVA_CLK_NUM); in ft_opp_clock_fixups()
277 clk_rates = dra7_opp_gpu_clk_rates[get_voltrail_opp(VOLT_GPU)]; in ft_opp_clock_fixups()
278 ret = ft_fixup_clocks(fdt, clk_names, clk_rates, OPP_GPU_CLK_NUM); in ft_opp_clock_fixups()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-s3c.c126 unsigned long clk_rates[MAX_BUS_CLK]; member
163 rate = ourhost->clk_rates[src]; in sdhci_s3c_get_max_clk()
197 rate = ourhost->clk_rates[src]; in sdhci_s3c_consider_clock()
264 host->max_clk = ourhost->clk_rates[best_src]; in sdhci_s3c_set_clock()
312 rate = ourhost->clk_rates[src] / 256; in sdhci_s3c_get_min_clock()
542 sc->clk_rates[ptr] = clk_get_rate(sc->clk_bus[ptr]); in sdhci_s3c_probe()
545 ptr, name, sc->clk_rates[ptr]); in sdhci_s3c_probe()
/openbmc/linux/drivers/soc/tegra/
H A Dpmc.c273 unsigned long *clk_rates; member
713 pg->clk_rates[i] = clk_get_rate(pg->clks[i]); in tegra_powergate_prepare_clocks()
715 if (!pg->clk_rates[i]) { in tegra_powergate_prepare_clocks()
720 if (pg->clk_rates[i] <= safe_rate) in tegra_powergate_prepare_clocks()
738 clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_prepare_clocks()
749 err = clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_unprepare_clocks()
1015 pg->clk_rates = kzalloc(sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_powergate_sequence_power_up()
1016 if (!pg->clk_rates) { in tegra_powergate_sequence_power_up()
1032 kfree(pg->clk_rates); in tegra_powergate_sequence_power_up()
1206 pg->clk_rates = kcalloc(count, sizeof(*pg->clk_rates), GFP_KERNEL); in tegra_powergate_of_get_clks()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dsh-sci.c129 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()
2270 unsigned long freq = s->clk_rates[SCI_SCK]; in sci_sck_calc()
2330 unsigned long freq = s->clk_rates[SCI_FCK]; in sci_scbrr_calc()
2468 max_freq = max(max_freq, s->clk_rates[i]); in sci_set_termios()
2480 if (s->clk_rates[SCI_SCK] && port->type != PORT_SCIFA && in sci_set_termios()
2495 if (s->clk_rates[SCI_SCIF_CLK] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
2496 err = sci_brg_calc(s, baud, s->clk_rates[SCI_SCIF_CLK], &dl1, in sci_set_termios()
2511 if (s->clk_rates[SCI_BRG_INT] && sci_getreg(port, SCDL)->size) { in sci_set_termios()
[all …]