Home
last modified time | relevance | path

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

/freebsd/sys/arm/allwinner/
H A Daw_rtc.c250 int nclocks; in aw_rtc_install_clocks() local
253 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", &clknames); in aw_rtc_install_clocks()
255 if (nclocks <= 0) in aw_rtc_install_clocks()
258 if (nclocks != 3) { in aw_rtc_install_clocks()
259 device_printf(dev, "Having only %d clocks instead of 3, aborting\n", nclocks); in aw_rtc_install_clocks()
/freebsd/sys/dev/firmware/arm/
H A Dscmi_clk.c280 int nclocks; in scmi_clk_discover() local
292 nclocks = (out->attributes & CLK_ATTRS_NCLOCKS_M) >> in scmi_clk_discover()
295 device_printf(sc->dev, "Found %d clocks.\n", nclocks); in scmi_clk_discover()
299 for (i = 0; i < nclocks; i++) { in scmi_clk_discover()
308 if (failing == nclocks) in scmi_clk_discover()
/freebsd/sys/arm64/rockchip/
H A Drk_usb2phy.c266 int i, nclocks, ncells, error; in rk_usb2phy_export_clock() local
277 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", in rk_usb2phy_export_clock()
279 if (nclocks != 1) in rk_usb2phy_export_clock()
/freebsd/sys/dev/sdhci/
H A Dsdhci_fdt.c197 int i, nclocks, ncells, error; in sdhci_export_clocks() local
213 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", in sdhci_export_clocks()
216 if (nclocks <= 0) in sdhci_export_clocks()
222 for (i = 0; i < nclocks; i++) { in sdhci_export_clocks()
/freebsd/sys/dev/clk/
H A Dclk.c1444 int rv, nclocks, nrates, nparents, i; in clk_set_assigned() local
1447 "assigned-clocks", "#clock-cells", &nclocks); in clk_set_assigned()
1464 for (i = 0; i < nclocks; i++) { in clk_set_assigned()