Home
last modified time | relevance | path

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

/freebsd-14.2/sys/arm/allwinner/
H A Daw_rtc.c251 int nclocks; in aw_rtc_install_clocks() local
254 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", &clknames); in aw_rtc_install_clocks()
256 if (nclocks <= 0) in aw_rtc_install_clocks()
259 if (nclocks != 3) { in aw_rtc_install_clocks()
260 device_printf(dev, "Having only %d clocks instead of 3, aborting\n", nclocks); in aw_rtc_install_clocks()
/freebsd-14.2/sys/dev/firmware/arm/
H A Dscmi_clk.c313 int nclocks; in scmi_clk_discover() local
332 nclocks = (out.attributes & CLK_ATTRS_NCLOCKS_M) >> in scmi_clk_discover()
335 device_printf(sc->dev, "Found %d clocks.\n", nclocks); in scmi_clk_discover()
339 for (i = 0; i < nclocks; i++) { in scmi_clk_discover()
348 if (failing == nclocks) in scmi_clk_discover()
/freebsd-14.2/sys/arm64/rockchip/
H A Drk_usb2phy.c267 int i, nclocks, ncells, error; in rk_usb2phy_export_clock() local
278 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", in rk_usb2phy_export_clock()
280 if (nclocks != 1) in rk_usb2phy_export_clock()
/freebsd-14.2/sys/dev/sdhci/
H A Dsdhci_fdt.c198 int i, nclocks, ncells, error; in sdhci_export_clocks() local
214 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", in sdhci_export_clocks()
217 if (nclocks <= 0) in sdhci_export_clocks()
223 for (i = 0; i < nclocks; i++) { in sdhci_export_clocks()
/freebsd-14.2/sys/dev/extres/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()