| /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
| H A D | at91_adc.txt | 1 * AT91's Analog to Digital Converter (ADC) 4 - compatible: Should be "atmel,<chip>-adc" 6 - reg: Should contain ADC registers location and length 7 - interrupts: Should contain the IRQ line for the ADC 8 - clock-names: tuple listing input clock names. 10 - clocks: phandles to input clocks. 11 - atmel,adc-channels-used: Bitmask of the channels muxed and enabled for this 13 - atmel,adc-startup-time: Startup Time of the ADC in microseconds as 15 - atmel,adc-vref: Reference voltage in millivolts for the conversions 16 - atmel,adc-res: List of resolutions in bits supported by the ADC. List size [all …]
|
| H A D | atmel,sama9260-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-ad [all...] |
| /freebsd/sys/arm/freescale/vybrid/ |
| H A D | vf_adc.c | 1 /*- 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 28 * Vybrid Family 12-bit Analog to Digital Converter (ADC) 73 #define CFG_ADLPC (1 << 7) /* Low-Power Configuration */ 79 #define CFG_MODE_12 0x2 /* 12-bit mode */ 110 struct resource *res[2]; member 121 { -1, 0 } 131 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-adc")) in adc_probe() [all …]
|
| /freebsd/sys/arm/allwinner/ |
| H A D | a10_codec.c | 1 /*- 2 * Copyright (c) 2014-2016 Jared D. McNeill <jmcneill@invisible.ca> 5 * Redistribution and use in source and binary forms, with or without 20 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 61 /* toggle DAC/ADC mute */ 84 #define AC_DAC_DPC(_sc) ((_sc)->cfg->DPC) 86 #define AC_DAC_FIFOC(_sc) ((_sc)->cfg->DAC_FIFOC) 110 #define AC_DAC_FIFOS(_sc) ((_sc)->cfg->DAC_FIFOS) 111 #define AC_DAC_TXDATA(_sc) ((_sc)->cfg->DAC_TXDATA) [all …]
|
| H A D | a33_codec.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 133 { "allwinner,sun8i-a33-codec", 1}, 140 { -1, 0 } 145 struct resource *res[2]; member 152 #define CODEC_LOCK(sc) mtx_lock(&(sc)->mtx) 153 #define CODEC_UNLOCK(sc) mtx_unlock(&(sc)->mtx) [all …]
|
| H A D | aw_thermal.c | 1 /*- 4 * Redistribution and use in source and binary forms, with or without 19 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 175 return ((A83T_TEMP_BASE - (val * A83T_TEMP_MUL)) / A83T_TEMP_DIV); in a83t_to_temp() 207 return ((A64_TEMP_BASE - (val * A64_TEMP_MUL)) / A64_TEMP_DIV); in a64_to_temp() 239 return (H3_TEMP_BASE - ((val * H3_TEMP_MUL) / H3_TEMP_DIV)); in h3_to_temp() 245 return ((H3_TEMP_MINUS - (val * H3_TEMP_DIV)) / H3_TEMP_MUL); in h3_to_reg() 275 tmp = H5_TEMP_BASE - (val * H5_TEMP_MUL); in h5_to_temp() 281 tmp = H5_TEMP_BASE_CPU - (val * H5_TEMP_MUL_CPU); in h5_to_temp() [all …]
|
| H A D | axp209.c | 1 /*- 2 * Copyright (c) 2015-2016 Emmanuel Vadot <manu@freebsd.org> 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 29 * X-Power AXP209/AXP211 PMU for Allwinner SoCs 525 .value_convert = -(AXP209_TEMPMON_MIN - AXP209_0C_TO_K), 589 .value_convert = -(AXP221_TEMPMON_MIN - AXP209_0C_TO_K), 600 struct resource * res[1]; member 622 { "x-powers,axp209", AXP209 }, [all …]
|
| /freebsd/sys/dev/sound/pci/ |
| H A D | csapcm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. 11 * Redistribution and use in source and binary forms, with or without 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 63 csa_res res; /* resource */ member 80 /* -------------------------------------------------------------------- */ 118 /* -------------------------------------------------------------------- */ 125 old = csa->active; in csa_active() [all …]
|
| H A D | csa.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. 11 * Redistribution and use in source and binary forms, with or without 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 64 csa_res res; /* resources */ member 192 subcard = card->cards; in csa_findsubcard() 211 device_set_desc(dev, card->name); in csa_probe() 229 scp->dev = dev; in csa_attach() [all …]
|
| /freebsd/sys/arm/allwinner/a64/ |
| H A D | sun50i_a64_acodec.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 120 { "allwinner,sun50i-a64-codec-analog", 1}, 126 struct resource *res; member 131 #define A64CODEC_LOCK(sc) mtx_lock(&(sc)->mtx) 132 #define A64CODEC_UNLOCK(sc) mtx_unlock(&(sc)->mtx) 133 #define A64CODEC_READ(sc, reg) bus_read_4((sc)->res, (reg)) [all …]
|
| /freebsd/crypto/openssl/crypto/bn/asm/ |
| H A D | rsaz-2k-avx512.pl | 1 # Copyright 2020-2024 The OpenSSL Project Authors. All Rights Reserved. 4 # Licensed under the Apache License 2.0 (the "License"). You may not use 18 # Implementation utilizes 256-bit (ymm) registers to avoid frequency scaling issues. 20 # IceLake-Client @ 1.3GHz 21 # |---------+----------------------+--------------+-------------| 22 # | | OpenSSL 3.0.0-alpha9 | this | Unit | 23 # |---------+----------------------+--------------+-------------| 26 # |---------+----------------------+--------------+-------------| 38 ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or 39 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or [all …]
|
| H A D | rsaz-2k-avxifma.pl | 1 # Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 4 # Licensed under the Apache License 2.0 (the "License"). You may not use 26 ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or 27 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or 28 die "can't locate x86_64-xlate.pl"; 30 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1` 31 =~ /GNU assembler version ([2-9]\.[0-9]+)/) { 35 if (!$avxifma && `$ENV{CC} -v 2>&1` 36 =~ /\s*((?:clang|LLVM) version|.*based on LLVM) ([0-9]+)\.([0-9]+)\.([0-9]+)?/) { 37 my $ver = $2 + $3/100.0 + $4/10000.0; # 3.1.0->3.01, 3.10.1->3.1001 [all …]
|
| /freebsd/crypto/openssl/crypto/ec/asm/ |
| H A D | ecp_nistz256-x86_64.pl | 2 # Copyright 2014-2024 The OpenSSL Project Authors. All Rights Reserved. 6 # Licensed under the Apache License 2.0 (the "License"). You may not use 22 # this/original with/without -DECP_NISTZ256_ASM(*) 23 # Opteron +15-49% +150-195% 24 # Bulldozer +18-45% +175-240% 25 # P4 +24-46% +100-150% 26 # Westmere +18-34% +87-160% 27 # Sandy Bridge +14-35% +120-185% 28 # Ivy Bridge +11-35% +125-180% 29 # Haswell +10-37% +160-200% [all …]
|
| H A D | ecp_nistz256-armv8.pl | 2 # Copyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved. 4 # Licensed under the Apache License 2.0 (the "License"). You may not use 24 # with/without -DECP_NISTZ256_ASM 25 # Apple A7 +190-360% 26 # Cortex-A53 +190-400% 27 # Cortex-A57 +190-350% 28 # Denver +230-400% 31 # on benchmark. Lower coefficients are for ECDSA sign, server-side 40 ( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or 41 ( $xlate="${dir}../../perlasm/arm-xlate.pl" and -f $xlate) or [all …]
|
| /freebsd/sys/dev/adlink/ |
| H A D | adlink.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2003-2004 Poul-Henning Kamp 7 * Redistribution and use in source and binary forms, with or without 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * This is a device driver or the Adlink 9812 and 9810 ADC cards, mainly 33 * in the VLF band. See http://phk.freebsd.dk/loran-c 79 # define STATE_RESET -1 105 struct resource *res[3]; member [all …]
|
| /freebsd/sys/dev/sound/pci/hda/ |
| H A D | hdaa.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org> 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 50 #define hdaa_lock(devinfo) snd_mtxlock((devinfo)->lock) 51 #define hdaa_unlock(devinfo) snd_mtxunlock((devinfo)->lock) 52 #define hdaa_lockassert(devinfo) snd_mtxassert((devinfo)->lock) 79 "Green", "Red", "Orange", "Yellow", "Purple", "Pink", "Res.A", "Res.B", [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ScheduleZnver2.td | 1 //=- X86ScheduleZnver2.td - X86 Znver2 Scheduling -------- [all...] |
| H A D | X86ScheduleZnver1.td | 1 //=- X86ScheduleZnver1.td - X86 Znver1 Scheduling -------- [all...] |
| H A D | X86ISelDAGToDAG.cpp | 1 //===- X86ISelDAGToDAG.cpp - A DAG pattern matching inst selector for X86 -===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 23 #include "llvm/Config/llvm-config.h" 39 #define DEBUG_TYPE "x86-isel" 40 #define PASS_NAME "X86 DAG->DAG Instruction Selection" 44 static cl::opt<bool> AndImmShrink("x86-and-imm-shrink", cl::init(true), 49 "x86-promote-anyext-load", cl::init(true), 54 //===----------------------------------------------------------------------===// [all …]
|
| H A D | X86ISelLowering.cpp | 1 //===-- X86ISelLowering.cpp - X86 DAG Lowering Implementation -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 71 #define DEBUG_TYPE "x86-isel" 74 "x86-experimental-pref-innermost-loop-alignment", cl::init(4), 78 "alignment set by x86-experimental-pref-loop-alignment."), 82 "x86-br-merging-base-cost", cl::init(2), 88 "will be merged, and above which conditionals will be split. Set to -1 " 93 "x86-br-merging-ccmp-bias", cl::init(6), [all …]
|
| H A D | X86SchedAlderlakeP.td | 1 //===- X86SchedAlderlakeP.td - X86 Alderlake-P Scheduling ----*- tablegen -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the machine model for Alderlake-P core to support 12 //===----------------------------------------------------------------------===// 15 // Alderlake-P core can allocate 6 uops per cycle. 24 // Based on the LSD (loop-stream detector) queue size (ST). 34 // Alderlake-P core can issue micro-ops to 12 different ports in one cycle. 48 // Workaround to represent invalid ports. WriteRes shouldn't use this resource. 51 // Many micro-ops are capable of issuing on multiple ports. [all …]
|
| /freebsd/sys/contrib/x86emu/ |
| H A D | x86emu.c | 8 * Copyright (C) 1996-1999 SciTech Software, Inc. 9 * Copyright (C) David Mosberger-Tang 15 * Permission to use, copy, modify, distribute, and sell this software and 29 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 30 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 179 if (emu->_x86emu_intrTab[intno]) { in x86emu_intr_dispatch() 180 (*emu->_x86emu_intrTab[intno]) (emu, intno); in x86emu_intr_dispatch() 182 push_word(emu, (uint16_t) emu->x86.R_FLG); in x86emu_intr_dispatch() 185 push_word(emu, emu->x86.R_CS); in x86emu_intr_dispatch() 186 emu->x86.R_CS = fetch_word(emu, 0, intno * 4 + 2); in x86emu_intr_dispatch() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulateInstructionARM.cpp | 1 //===-- EmulateInstructionARM.cpp -----------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 234 // FPA Registers 0-7 in LLDB_PLUGIN_DEFINE_ADV() 260 // Intel wireless MMX general purpose registers 0 - 7 XScale accumulator in LLDB_PLUGIN_DEFINE_ADV() 261 // register 0 - 7 (they do overlap with wCGR0 - wCGR7) in LLDB_PLUGIN_DEFINE_ADV() 287 // Intel wireless MMX data registers 0 - 15 in LLDB_PLUGIN_DEFINE_ADV() 423 // Intel wireless MMX control register in co-processor 0 - 7 in LLDB_PLUGIN_DEFINE_ADV() 449 // VFP-v3/Neon in LLDB_PLUGIN_DEFINE_ADV() 547 // NEON 128-bit vector registers (overlays the d registers) in LLDB_PLUGIN_DEFINE_ADV() [all …]
|
| /freebsd/sys/cam/scsi/ |
| H A D | scsi_all.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 10 * Redistribution and use in source and binary forms, with or without 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 78 #define ERESTART -1 /* restart syscall */ 79 #define EJUSTRETURN -2 /* don't modify regs, just return */ 91 * a minimum value of 100ms. Note that this is pertinent only for SPI- 102 #error "SCSI_DELAY is in milliseconds, not seconds! Please use a larger value" 142 { 0xD8, R, "CD-DA READ" } [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 1 //===- ARMISelLowering.cpp - ARM DAG Lowering Implementation --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 122 #define DEBUG_TYPE "arm-isel" 131 ARMInterworking("arm-interworking", cl::Hidden, 136 "arm-promote-constant", cl::Hidden, 141 "arm-promote-constant-max-size", cl::Hidden, 145 "arm-promote-constant-max-total", cl::Hidden, 150 MVEMaxSupportedInterleaveFactor("mve-max-interleave-factor", cl::Hidden, [all …]
|