| /freebsd/sys/contrib/device-tree/src/arm/nvidia/ |
| H A D | tegra20-cpu-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 cpu0_opp_table: opp-table-cpu0 { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 opp-216000000-750 { 9 clock-latency-ns = <400000>; 10 opp-supported-hw = <0x0F 0x0003>; 11 opp-hz = /bits/ 64 <216000000>; 12 opp-suspend; 15 opp-216000000-800 { [all …]
|
| H A D | tegra30-cpu-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 cpu0_opp_table: opp-table-cpu0 { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 opp-51000000-800 { 9 clock-latency-ns = <100000>; 10 opp-supported-hw = <0x1F 0x31FE>; 11 opp-hz = /bits/ 64 <51000000>; 14 opp-51000000-850 { 15 clock-latency-ns = <100000>; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/opp/ |
| H A D | opp.txt | 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 21 freq: clock frequency in kHz 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; 30 operating-points = < [all …]
|
| H A D | opp-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 - $ref: opp-v2-base.yaml# 17 const: operating-points-v2 22 - | 24 * Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states 28 #address-cells = <1>; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
| H A D | bcm23550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include "bcm2166x-common.dtsi" 11 interrupt-parent = <&gic>; 14 #address-cells = <1>; 15 #size-cells = <0>; 19 compatible = "arm,cortex-a7"; 21 clock-frequency = <1000000000>; 26 compatible = "arm,cortex-a7"; 27 enable-method = "brcm,bcm23550"; 28 secondary-boot-reg = <0x35004178>; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/samsung/ |
| H A D | exynos5422-cpus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 * Exynos5420 and Exynos5800 always boot from Cortex-A15. On Exynos5422 15 * the gpg2-1 GPIO. By default all Exynos5422 based boards choose booting 16 * from the LITTLE: Cortex-A7. 21 #address-cells = <1>; 22 #size-cells = <0>; 24 cpu-map { 58 compatible = "arm,cortex-a7"; 60 clocks = <&clock CLK_KFC_CLK>; 61 clock-frequency = <1000000000>; [all …]
|
| H A D | exynos5420-cpus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 14 * Exynos5420 and Exynos5800 always boot from Cortex-A15. On Exynos5422 16 * the gpg2-1 GPIO. By default all Exynos5422 based boards choose booting 17 * from the LITTLE: Cortex-A7. 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { 59 compatible = "arm,cortex-a15"; 61 clocks = <&clock CLK_ARM_CLK>; 62 clock-frequency = <1800000000>; [all …]
|
| H A D | exynos4212.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 23 #address-cells = <1>; 24 #size-cells = <0>; 26 cpu-map { 39 compatible = "arm,cortex-a9"; 41 clocks = <&clock CLK_ARM_CLK>; 42 clock-names = "cpu"; 43 operating-points-v2 = <&cpu0_opp_table>; 44 #cooling-cells = <2>; /* min followed by max */ 49 compatible = "arm,cortex-a9"; [all …]
|
| H A D | exynos5800.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 19 &clock { 20 compatible = "samsung,exynos5800-clock", "syscon"; 24 opp-2000000000 { 25 opp-hz = /bits/ 64 <2000000000>; 26 opp-microvolt = <1312500 1312500 1500000>; 27 clock-latency-ns = <140000>; 29 opp-1900000000 { 30 opp-hz = /bits/ 64 <1900000000>; 31 opp-microvolt = <1262500 1262500 1500000>; [all …]
|
| H A D | exynos4412.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 23 #address-cells = <1>; 24 #size-cells = <0>; 26 cpu-map { 45 compatible = "arm,cortex-a9"; 47 clocks = <&clock CLK_ARM_CLK>; 48 clock-names = "cpu"; 49 operating-points-v2 = <&cpu0_opp_table>; 50 #cooling-cells = <2>; /* min followed by max */ 55 compatible = "arm,cortex-a9"; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/clock/ |
| H A D | gated-fixed-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/gated-fixed-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Gated Fixed clock 10 - Heiko Stuebner <heiko@sntech.de> 14 const: gated-fixed-clock 16 "#clock-cells": 19 clock-frequency: true 21 clock-output-names: [all …]
|
| H A D | nvidia,tegra124-car.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/nvidia,tegra124-ca [all...] |
| /freebsd/sys/contrib/device-tree/src/arm64/amlogic/ |
| H A D | meson-g12b-s922x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12b.dtsi" 10 cpu_opp_table_0: opp-table-0 { 11 compatible = "operating-points-v2"; 12 opp-shared; 14 opp-1000000000 { 15 opp-hz = /bits/ 64 <1000000000>; 16 opp-microvolt = <731000>; 17 clock-latency-ns = <50000>; 20 opp-1200000000 { [all …]
|
| H A D | meson-g12b-a311d.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12b.dtsi" 10 cpu_opp_table_0: opp-table-0 { 11 compatible = "operating-points-v2"; 12 opp-shared; 14 opp-1000000000 { 15 opp-hz = /bits/ 64 <1000000000>; 16 opp-microvolt = <761000>; 17 clock-latency-ns = <50000>; 20 opp-1200000000 { [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | pwm-vibrator.txt | 12 - compatible: should contain "pwm-vibrator" 13 - pwm-names: Should contain "enable" and optionally "direction" 14 - pwms: Should contain a PWM handle for each entry in pwm-names 17 - vcc-supply: Phandle for the regulator supplying power 18 - direction-duty-cycle-ns: Duty cycle of the direction PWM channel in 26 pinctrl-single,pins = < 32 pinctrl-single,pins = < 39 pwm8: dmtimer-pwm { 40 pinctrl-names = "default"; 41 pinctrl-0 = <&vibrator_direction_pin>; [all …]
|
| /freebsd/contrib/ntp/util/ |
| H A D | sht.c | 2 * sht.c - Testprogram for shared memory refclock 26 int mode; /* 0 - if valid set 29 * 1 - if valid set 54 if (shmid==-1) { in getShmTime() 60 if ((int)(long)p==-1) { in getShmTime() 126 printf (" uu use clock unit uu (default: 2)\n"); in main() 128 printf (" c clear valid-flag\n"); in main() 133 printf (" pnnnn set precision to -nnn\n"); in main() 150 p->nsamples=atoi(argp+1); in main() 154 p->leap=atoi(argp+1); in main() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/sigmastar/ |
| H A D | mstar-infinity2m.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include "mstar-infinity.dtsi" 10 opp-1000000000 { 11 opp-hz = /bits/ 64 <1000000000>; 12 opp-microvolt = <1000000>; 13 clock-latency-ns = <300000>; 16 opp-1200000000 { 17 opp-hz = /bits/ 64 <1200000000>; 18 opp-microvolt = <1000000>; 19 clock-latency-ns = <300000>; [all …]
|
| /freebsd/sys/sys/ |
| H A D | time.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 63 _u = _bt->frac; in bintime_addx() 64 _bt->frac += _x; in bintime_addx() 65 if (_u > _bt->frac) in bintime_addx() 66 _bt->sec++; in bintime_addx() 74 _u = _bt->frac; in bintime_add() 75 _bt->frac += _bt2->frac; in bintime_add() 76 if (_u > _bt->frac) in bintime_add() 77 _bt->sec++; in bintime_add() [all …]
|
| /freebsd/sys/dev/goldfish/ |
| H A D | goldfish_rtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * initially for Android but now also used for RISC-V's virt machine. 32 …* https://android.googlesource.com/platform/external/qemu/+/master/docs/GOLDFISH-VIRTUAL-HARDWARE.… 38 #include <sys/clock.h> 70 if (ofw_bus_is_compatible(dev, "google,goldfish-rtc")) { in goldfish_rtc_probe() 85 sc->rid = 0; in goldfish_rtc_attach() 86 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid, in goldfish_rtc_attach() 88 if (sc->res == NULL) { in goldfish_rtc_attach() 93 mtx_init(&sc->mtx, device_get_nameunit(dev), NULL, MTX_DEF); in goldfish_rtc_attach() [all …]
|
| /freebsd/contrib/libfido2/fuzz/ |
| H A D | clock.c | 3 * Use of this source code is governed by a BSD-style 5 * SPDX-License-Identifier: BSD-2-Clause 14 * A pseudo-random monotonic clock with a probabilistic discontinuity to 41 if (LLONG_MAX - drift < (long long)fuzz_clock.tv_nsec) { in tick() 43 } else if (drift + (long long)fuzz_clock.tv_nsec < 1000000000) { in tick() 46 fuzz_clock.tv_sec += (long)(drift / 1000000000); in tick() 47 fuzz_clock.tv_nsec += (long)(drift % 1000000000); in tick() 57 return -1; in __wrap_clock_gettime() 69 return -1; in __wrap_usleep()
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3588-opp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 cluster0_opp_table: opp-table-cluster0 { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 opp-1008000000 { 9 opp-hz = /bits/ 64 <1008000000>; 10 opp-microvolt = <675000 675000 950000>; 11 clock-latency-ns = <40000>; 13 opp-1200000000 { 14 opp-hz = /bits/ 64 <1200000000>; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/ti/ |
| H A D | k3-am625.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 7 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/ 10 /dts-v1/; 12 #include "k3-am62.dtsi" 16 #address-cells = <1>; 17 #size-cells = <0>; 19 cpu-map { 40 compatible = "arm,cortex-a53"; 43 enable-method = "psci"; 44 i-cache-size = <0x8000>; [all …]
|
| H A D | k3-am62p5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 4 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 9 /dts-v1/; 11 #include "k3-am62p.dtsi" 15 #address-cells = <1>; 16 #size-cells = <0>; 18 cpu-map { 39 compatible = "arm,cortex-a53"; 42 enable-method = "psci"; 43 i-cache-size = <0x8000>; [all …]
|
| H A D | k3-am62a7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 7 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/ 10 /dts-v1/; 12 #include "k3-am62a.dtsi" 16 #address-cells = <1>; 17 #size-cells = <0>; 19 cpu-map { 40 compatible = "arm,cortex-a53"; 43 enable-method = "psci"; 44 i-cache-size = <0x8000>; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/renesas/ |
| H A D | r8a779g0-white-hawk-ard-audio-da7212.dtso | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the White Hawk board with ARD-AUDIO-DA7212 Board 5 * You can find and buy "ARD-AUDIO-DA7212" at Digi-Key 7 * https://www.digikey.jp/en/products/detail/ARD-AUDIO-DA7212/1564-1021-ND/5456357 14 * White Hawk ARD-AUDIO-DA7212 15 * +----------------------------+ 19 * | AUDIO_CLKIN_V pin1 |<--\ +---------------+ 20 * |(*) GP1_25/SL_SW2_V pin2 |<--/ |J2 | 21 * | AUDIO_CLKOUT_V pin5 |<----->| pin7 MCLK | 22 * | SSI_SCK_V pin9 |<----->| pin1 BCLK | [all …]
|