Home
last modified time | relevance | path

Searched refs:bus_hz (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/mmc/host/
H A Ddwmmc_rockchip.c103 if (ios->clock && ios->clock != sc->bus_hz) { in dwmmc_rockchip_update_ios()
104 sc->bus_hz = clock = ios->clock; in dwmmc_rockchip_update_ios()
H A Ddwmmc.c516 uint32_t bus_hz = 0; in parse_fdt() local
547 bus_hz = dts_value[0]; in parse_fdt()
618 if (bus_hz != 0) { in parse_fdt()
619 error = clk_set_freq(sc->ciu, bus_hz, 0); in parse_fdt()
622 "cannot set ciu clock to %u\n", bus_hz); in parse_fdt()
629 clk_get_freq(sc->ciu, &sc->bus_hz); in parse_fdt()
657 if (sc->bus_hz == 0) { in parse_fdt()
841 div = (sc->bus_hz != freq) ? DIV_ROUND_UP(sc->bus_hz, 2 * freq) : 0; in dwmmc_setup_bus()
H A Ddwmmc_hisi.c73 sc->bus_hz = 24000000; /* 24MHz */ in hisi_dwmmc_attach()
H A Ddwmmc_altera.c78 sc->bus_hz = 24000000; in altera_dwmmc_attach()
H A Ddwmmc_var.h85 uint64_t bus_hz; member