Lines Matching full:ciu
596 * CIU (Controller Interface Unit clock) is mandatory in parse_fdt()
599 error = clk_get_by_ofw_name(sc->dev, 0, "ciu", &sc->ciu); in parse_fdt()
603 device_printf(sc->dev, "Cannot get 'ciu' clock\n"); in parse_fdt()
607 if (sc->ciu) { in parse_fdt()
609 error = clk_set_freq(sc->ciu, bus_hz, 0); in parse_fdt()
612 "cannot set ciu clock to %u\n", bus_hz); in parse_fdt()
614 error = clk_enable(sc->ciu); in parse_fdt()
616 device_printf(sc->dev, "cannot enable ciu clock\n"); in parse_fdt()
619 clk_get_freq(sc->ciu, &sc->bus_hz); in parse_fdt()
791 if (sc->ciu != NULL && clk_disable(sc->ciu) != 0) in dwmmc_detach()
792 device_printf(sc->dev, "cannot disable ciu clock\n"); in dwmmc_detach()