Searched refs:bus_hz (Results 1 – 5 of 5) sorted by relevance
103 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()
516 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()
73 sc->bus_hz = 24000000; /* 24MHz */ in hisi_dwmmc_attach()
78 sc->bus_hz = 24000000; in altera_dwmmc_attach()
85 uint64_t bus_hz; member