Searched refs:nclocks (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/firmware/arm/ |
H A D | scmi_clk.c | 280 int nclocks; in scmi_clk_attrs() 292 nclocks = (out->attributes & CLK_ATTRS_NCLOCKS_M) >> in scmi_clk_attrs() 295 device_printf(sc->dev, "Found %d clocks.\n", nclocks); in scmi_clk_attrs() 299 for (i = 0; i < nclocks; i++) { in scmi_clk_discover() 308 if (failing == nclocks) in scmi_clk_discover() 302 int nclocks; scmi_clk_discover() local
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_rtc.c | 250 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/sdhci/ |
H A D | sdhci_fdt.c | 128 int i, nclocks, ncells, error; in sdhci_export_clocks() local 144 nclocks = ofw_bus_string_list_to_array(node, "clock-output-names", in sdhci_export_clocks() 147 if (nclocks <= 0) in sdhci_export_clocks() 153 for (i = 0; i < nclocks; i++) { in sdhci_export_clocks()
|
/freebsd/sys/arm64/rockchip/ |
H A D | rk_usb2phy.c | 266 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/clk/ |
H A D | clk.c | 1444 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()
|