| /freebsd-src/sys/contrib/device-tree/Bindings/iio/adc/ |
| H A D | ingenic,adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019-2020 Artur Rojek 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Artur Rojek <contact@artur-rojek.eu> 17 ADC clients must use the format described in 18 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml, 19 giving a phandle and IIO specifier pair ("io-channels") to the ADC controller. 24 - ingenic,jz4725b-adc 25 - ingenic,jz4740-adc [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/clock/ |
| H A D | silabs,si5351.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 8 outputs. Si5351A also has a reduced pin-count package (10-MSOP) where only 3 12 output clocks are accessible. The internal structure of the clock generators 16 https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/Si5351-B.pdf 19 - Alvin Šipraga <alsi@bang-olufsen.dk> 24 - silabs,si5351a # Si5351A, 20-QFN package 25 - silabs,si5351a-msop # Si5351A, 10-MSOP package 26 - silabs,si5351b # Si5351B, 20-QFN package [all …]
|
| H A D | silabs,si5341.txt | 6 https://www.silabs.com/documents/public/data-sheets/Si5341-40-D-DataSheet.pdf 8 https://www.silabs.com/documents/public/reference-manuals/Si5341-40-D-RM.pdf 10 https://www.silabs.com/documents/public/reference-manuals/Si5345-44-42-D-RM.pdf 14 in turn can be directed to any of the 10 (or 4) outputs through a divider. 15 The internal structure of the clock generators can be found in [2]. 21 chip at boot, in case you have a (pre-)programmed device. If the PLL is not 33 - compatible: shall be one of the following: 34 "silabs,si5340" - Si5340 A/B/C/D 35 "silabs,si5341" - Si5341 A/B/C/D 36 "silabs,si5342" - Si5342 A/B/C/D [all …]
|
| H A D | stericsson,u8500-clks.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/stericsson,u8500-clks.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DB8500 (U8500) clocks 10 - Ulf Hansson <ulf.hansson@linaro.org> 11 - Linus Walleij <linus.walleij@linaro.org> 14 DB8500 digital baseband system-on-chip and its siblings such as 16 itself, not off-chip clocks. There are four different on-chip 17 clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/timer/ |
| H A D | nxp,sysctr-timer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/nxp,sysctr-time [all...] |
| /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx6qdl-gw5904.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 29 * restriction, including without limitation the rights to use, 44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/linux-event-codes.h> 50 #include <dt-binding [all...] |
| /freebsd-src/sys/dev/firmware/xilinx/ |
| H A D | pm_defs.h | 2 * Copyright (c) 2013-2022, ARM Limited and Contributors. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 266 * @PM_RET_ERROR_INTERNAL: internal error 273 * @PM_RET_ERROR_NODE_USED: node is already in use 363 * @PM_CLOCK_DIV0_ID: Clock divider 0 364 * @PM_CLOCK_DIV1_ID: Clock divider 1
|
| /freebsd-src/sys/dev/mmc/host/ |
| H A D | dwmmc_reg.h | 1 /*- 6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 9 * Redistribution and use in source and binary forms, with or without 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 #define SDMMC_CTRL_USE_IDMAC (1 << 25) /* Use Internal DMAC */ 43 #define SDMMC_CLKDIV 0x8 /* Clock Divider Register */ 46 #define SDMMC_CLKENA_LP (1 << 16) /* Low-power mode */ 56 #define SDMMC_INTMASK_EBE (1 << 15) /* End-bit error */ 58 #define SDMMC_INTMASK_SBE (1 << 13) /* Start-bit error */ [all …]
|
| /freebsd-src/sys/dev/sound/pci/ |
| H A D | es137x.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 #define DAC2_SRTODIV(x) (((1411200 + (x) / 2) / (x) - 2) & 0x1fff) 62 #define CTRL_PCLKDIV 0x1fff0000 /* ADC/DAC2 clock divider */ 75 #define CTRL_BREQ 0x00000080 /* 1 = test mode (internal mem test) */ 180 /* Use ES1370_REG_CONTROL */ 183 /* Use ES1370_REG_STATUS */
|
| /freebsd-src/sys/arm/xilinx/ |
| H A D | zy7_qspi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * This is a driver for the Quad-SPI Flash Controller in the Xilinx 32 * Zynq-700 [all...] |
| /freebsd-src/sys/arm64/qoriq/clk/ |
| H A D | qoriq_clkgen.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 { -1, 0 } 96 if (sc->flags & QORIQ_LITTLE_ENDIAN) in qoriq_clkgen_write_4() 97 bus_write_4(sc->res, addr, htole32(val)); in qoriq_clkgen_write_4() 99 bus_write_4(sc->res, addr, htobe32(val)); in qoriq_clkgen_write_4() 110 if (sc->flags & QORIQ_LITTLE_ENDIAN) in qoriq_clkgen_read_4() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BranchProbability.h | 1 //===- BranchProbability.h - Branch Probability Wrapper ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 26 // This class represents Branch Probability as a non-negative fraction that is 27 // no greater than 1. It uses a fixed-point-like implementation, in which the 28 // denominator is always a constant value (here we use 1<<31 for maximum 39 // is 1<<31. For internal use only. 55 // Create a BranchProbability object from 64-bit integers. 68 // Return (1 - Probability). [all …]
|
| /freebsd-src/sys/amd64/vmm/io/ |
| H A D | vrtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 71 uint8_t nvram2[128 - 51]; 86 #define VRTC_LOCK(vrtc) mtx_lock(&((vrtc)->mt [all...] |
| /freebsd-src/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers-comparisons_test.cc | 4 // Redistribution and use in source and binary forms, with or without 24 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 // Google Mock - a framework for writing C++ mock classes. 40 #include "test/gmock-matchers_test.h" 119 if (listener->stream() != nullptr) { in MatchAndExplain() 122 *listener->stream() << " == " << (x % 2); in MatchAndExplain() 140 // Tests default-constructing a matcher. 209 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST_P() 213 // Tests that a C-strin 2300 int divider() const { return divider_; } TEST() function in testing::gmock_matchers_test::__anon7dac90070111::DivisibleByImpl [all...] |
| /freebsd-src/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_rng.c | 5 * Redistribution and use in source and binary forms, with or without 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 61 #define RNG_JCLK_BYP_DIV_CNT 0x0000ff00 /* Jitter clk bypass divider 153 {"broadcom,bcm2835-rng", (uintptr_t)&bcm2835_rng_conf}, 154 {"brcm,bcm2835-rng", (uintptr_t)&bcm2835_rng_conf}, 156 {"brcm,bcm2711-rng200", (uintptr_t)&bcm2838_rng_conf}, 157 {"brcm,bcm2838-rng", (uintptr_t)&bcm2838_rng_conf}, 158 {"brcm,bcm2838-rng200", (uintptr_t)&bcm2838_rng_conf}, 159 {"brcm,bcm7211-rng", (uintptr_t)&bcm2838_rng_conf}, [all …]
|
| /freebsd-src/sys/dev/rtsx/ |
| H A D | rtsxreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * Permission to use, copy, modify, and distribute this software for any 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 196 /* Internal clock. */ 201 /* Internal clock divisor values. */ 208 /* Internal clock selection. */ 241 /* RTS5229-only. */ 311 /* SD configuration register 1 (clock divider, bus mode and width). */ [all …]
|
| /freebsd-src/contrib/ntp/libntp/ |
| H A D | ntp_calendar.c | 2 * ntp_calendar.c - calendar and helper functions 7 * -------------------------------------------------------------------- 17 * constant-divider case. 44 * an internal overflow, and these are coded in a way that avoids 45 * it. All other functions do not suffer from internal overflow and 61 * macros are not defined, check a few well-known compiler/architecture 63 * integers is unknown and shift-arithmetic-right is not available. 92 *--------------------------------------------------------------------- 94 *--------------------------------------------------------------------- 124 *--------------------------------------------------------------------- [all …]
|
| /freebsd-src/lib/libpmc/ |
| H A D | pmc.atom.3 | 3 .\" Redistribution and use in source and binary forms, with or without 18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 .Bl -tag -width "Li PMC_CLASS_IAP" 46 Fixed-function counters that count only one hardware event per counter. 58 .%B "IA-32 Intel(R) Architecture Software Developer's Manual" 60 .%N "Order Number 253669-027US" 69 .Bl -column "PMC_CAP_INTERRUPT" "Support" 86 .Bl -tag -width indent 94 Configure the PMC to count the number of de-asserted to asserted [all …]
|
| H A D | pmc.core2.3 | 3 .\" Redistribution and use in source and binary forms, with or without 18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 .Bl -tag -width "Li PMC_CLASS_IAP" 46 Fixed-function counters that count only one hardware event per counter. 58 .%B "IA-32 Intel(R) Architecture Software Developer's Manual" 60 .%N "Order Number 253669-027US" 67 Not all CPUs in this family implement fixed-function counters. 70 .Bl -column "PMC_CAP_INTERRUPT" "Support" 87 .Bl -tag -width indent [all …]
|
| /freebsd-src/sys/dev/neta/ |
| H A D | if_mvnetareg.h | 7 * Redistribution and use in source and binary forms, with or without 22 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 46 /* XXX: Currently multi-queue can be used on the Tx side only */ 53 #if MVNETA_TX_QNUM_MAX & (MVNETA_TX_QNUM_MAX - 1) != 0 56 #if MVNETA_RX_QNUM_MAX & (MVNETA_RX_QNUM_MAX - 1) != 0 62 #define MVNETA_TX_QUEUE_ALL ((1<<MVNETA_TX_QNUM_MAX)-1) 63 #define MVNETA_RX_QUEUE_ALL ((1<<MVNETA_RX_QNUM_MAX)-1) 89 #define MVNETA_EUIAE 0x2098 /* Ethernet Unit Internal Addr Error */ 134 /* Rx DMA Wake on LAN Registers 0x3690 - 0x36b8 */ [all …]
|
| /freebsd-src/sys/dev/sdhci/ |
| H A D | sdhci_fsl_fdt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2020 - 2021 Alstom Group. 5 * Copyright (c) 2020 - 2021 Semihalf. 7 * Redistribution and use in source and binary forms, with or without 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * OUT OF THE USE O [all...] |
| /freebsd-src/sys/arm/ti/ |
| H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 8 * Redistribution and use in source and binary forms, with or without 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * This driver currently doesn't use DMA for the transfer, although I hope to 100 uint8_t psc; /* Fast/Standard mode prescale divider */ [all...] |
| /freebsd-src/sys/contrib/device-tree/src/arm64/ti/ |
| H A D | k3-am68-sk-base-board.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 10 #include "k3-am68-sk-so [all...] |
| /freebsd-src/share/doc/papers/timecounter/ |
| H A D | timecounter.ms | 5 .\" ---------------------------------------------------------------------------- 6 .\" "THE BEER-WARE LICENSE" (Revision 42): 9 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 10 .\" ---------------------------------------------------------------------------- 16 .A "Poul-Henning Kamp" "The FreeBSD Project" 18 The FreeBSD timecounters are an architecture-independent implementation 21 multiplication to canonical timescales based on micro- or nano-seconds 23 synchronisation. Timecounters are implemented using lock-less 24 stable-storage based primitives which scale efficiently in SMP 80 for instance transport or consumption of a substance at a well-known [all …]
|
| /freebsd-src/sys/dev/bhnd/cores/chipc/ |
| H A D | chipcreg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 5 * Copyright (c) 2010-2015 Broadcom Corporation 10 * distributed with the Asus RT-N16 firmware source code release. 12 * Permission to use, copy, modify, and/or distribute this software for any 20 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 22 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 77 /* siba backplane configuration broadcast (siba-only) */ 81 #define CHIPC_GPIOPU 0x58 /**< pull-up mask (rev >= 20) */ [all …]
|