| /src/external/bsd/ntp/dist/libntp/ |
| clocktypes.c | 117 register struct clktype *clk; local 119 for (clk = clktypes; clk->code != -1; clk++) { 120 if (num == clk->code) 121 return (clk->abbrev);
|
| /src/sys/arch/arm/imx/ |
| imx31_clock.c | 117 struct imx31_clocks clk; local 118 imx31_get_clocks(&clk); 120 return clk.ipg_clk;
|
| /src/sys/dev/fdt/ |
| dwcwdt_fdt.c | 65 struct clk *clk; local 74 clk = fdtbus_clock_get_index(phandle, 0); 75 if (clk == NULL || clk_enable(clk) != 0) { 95 sc->sc_clkrate = clk_get_rate(clk);
|
| ahcisata_fdt.c | 65 struct clk *clk; local 92 for (i = 0; (clk = fdtbus_clock_get_index(phandle, i)) != NULL; i++) 93 if (clk_enable(clk) != 0) {
|
| dwiic_fdt.c | 93 struct clk *clk; local 95 for (c = 0; (clk = fdtbus_clock_get_index(phandle, c)) != NULL; c++) { 96 if (clk_enable(clk) != 0) {
|
| ehci_fdt.c | 76 struct clk *clk; local 90 for (n = 0; (clk = fdtbus_clock_get_index(phandle, n)) != NULL; n++) 91 if (clk_enable(clk) != 0) {
|
| ohci_fdt.c | 76 struct clk *clk; local 90 for (n = 0; (clk = fdtbus_clock_get_index(phandle, n)) != NULL; n++) 91 if (clk_enable(clk) != 0) {
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
| gt215.h | 9 u32 clk; member in struct:gt215_clk_info
|
| /src/sys/arch/arm/amlogic/ |
| meson_rng.c | 77 struct clk *clk; local 94 clk = fdtbus_clock_get(phandle, "core"); 95 if (clk != NULL && clk_enable(clk) != 0) {
|
| /src/sys/arch/arm/fdt/ |
| aaci_fdt.c | 68 struct clk *clk; local 83 for (int i = 0; (clk = fdtbus_clock_get_index(phandle, i)); i++) 84 if (clk_enable(clk) != 0) {
|
| plkmi_fdt.c | 68 struct clk *clk; local 84 for (int i = 0; (clk = fdtbus_clock_get_index(phandle, i)); i++) 85 if (clk_enable(clk) != 0) {
|
| plmmc_fdt.c | 69 struct clk *clk; local 79 clk = fdtbus_clock_get_index(phandle, 0); 80 if (clk == NULL) { 85 if (clk_enable(clk) != 0) { 97 sc->sc_clock_freq = clk_get_rate(clk);
|
| plcom_fdt.c | 71 struct clk *clk; local 91 for (int i = 0; (clk = fdtbus_clock_get_index(phandle, i)); i++) { 92 if (clk_enable(clk) != 0) { 98 sc->sc_frequency = clk_get_rate(clk);
|
| /src/sys/arch/arm/samsung/ |
| exynos_ehci.c | 75 struct clk *clk; local 88 clk = fdtbus_clock_get(phandle, "usbhost"); 89 if (clk == NULL || clk_enable(clk) != 0) {
|
| exynos_ohci.c | 75 struct clk *clk; local 88 clk = fdtbus_clock_get(phandle, "usbhost"); 89 if (clk == NULL || clk_enable(clk) != 0) {
|
| /src/sys/arch/arm/sunxi/ |
| sun9i_a80_mmcclk.c | 48 { .compat = "allwinner,sun9i-a80-mmc-config-clk" }, 84 struct clk *clk; local 96 clk = fdtbus_clock_get(phandle, "ahb"); 97 if (clk == NULL || clk_enable(clk) != 0) {
|
| sunxi_sata.c | 78 struct clk *clk; local 106 for (i = 0; (clk = fdtbus_clock_get_index(phandle, i)) != NULL; i++) 107 if (clk_enable(clk) != 0) {
|
| /src/sys/arch/arm/ti/ |
| ti_ehci.c | 78 struct clk *clk; local 92 for (n = 0; (clk = fdtbus_clock_get_index(phandle, n)) != NULL; n++) 93 if (clk_enable(clk) != 0) {
|
| /src/sys/arch/mips/mips/ |
| mips_mcclock.c | 85 volatile struct mcclock_pad32_clockdatum *clk = (void *)mcclock_addr; local 97 saved_rega = clk[MC_REGA].datum; 98 saved_regb = clk[MC_REGB].datum; 104 clk[MC_REGA].datum = MC_BASE_32_KHz | MC_RATE_256_Hz; 105 clk[MC_REGB].datum = MC_REGB_BINARY|MC_REGB_24HR|MC_REGB_PIE| MC_REGB_SQWE; 111 clk[MC_REGA].datum = saved_rega; 112 clk[MC_REGB].datum = saved_regb; 145 volatile struct mcclock_pad32_clockdatum *clk = mcclock_addr; local 148 junk = clk[MC_REGC].datum; 156 junk = clk[MC_REGC].datum [all...] |
| /src/sys/arch/sparc64/dev/ |
| pcfiic_ebus.c | 114 int clk = prom_getpropint(findroot(), "clock-frequency", 0); local 116 if (clk < 105000000) 118 else if (clk < 160000000)
|
| /src/sys/arch/vax/vax/ |
| ka410.c | 154 volatile struct ka410_clock *clk = (volatile void *)clk_page; local 160 clk->cpmbx = (clk->cpmbx & ~0x30);
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| gethrtime.c | 67 long long clk; local 71 clk = val ? strtoll (val + 1, NULL, 16) : 0; 72 clock_rate = (int) (clk / 1000000);
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| gethrtime.c | 67 long long clk; local 71 clk = val ? strtoll (val + 1, NULL, 16) : 0; 72 clock_rate = (int) (clk / 1000000);
|
| /src/sys/dev/mvme/ |
| osiop_pcctwo.c | 110 int clk, ctest7; local 123 clk = cpuspeed_khz / 1000; 126 clk = (cpuspeed_khz / 1000) * 2; 139 sc->sc_osiop.sc_clock_freq = clk;
|
| /src/sys/dev/clk/ |
| clk_backend.h | 34 #include <dev/clk/clk.h> 43 struct clk { struct 51 struct clk *(*get)(void *, const char *); 52 void (*put)(void *, struct clk *); 54 u_int (*get_rate)(void *, struct clk *); 55 int (*set_rate)(void *, struct clk *, u_int); 56 u_int (*round_rate)(void *, struct clk *, u_int); 57 int (*enable)(void *, struct clk *); 58 int (*disable)(void *, struct clk *); [all...] |