/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | adi,axi-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AXI ADC IP core 10 - Michael Hennerich <michael.hennerich@analog.com> 13 Analog Devices Generic AXI ADC IP core for interfacing an ADC device 17 interface for the actual ADC, while this IP core will interface 18 to the data-lines of the ADC and handle the streaming of data into 26 - adi,axi-adc-10.0.a [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-facebook-yosemitev2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/i2c/i2c.h> 9 compatible = "facebook,yosemitev2-bmc", "aspeed,ast2500"; 14 stdout-path = &uart5; 21 iio-hwmon { 23 compatible = "iio-hwmon"; 24 io-channels = <&adc 0> , <&adc 1> , <&adc 2> , <&adc 3> , 25 <&adc 4> , <&adc 5> , <&adc 6> , <&adc 7> , [all …]
|
H A D | aspeed-bmc-facebook-wedge100.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "ast2400-facebook-netbmc-common.dtsi" 9 compatible = "facebook,wedge100-bmc", "aspeed,ast2400"; 12 stdout-path = &uart3; 13 bootargs = "console=ttyS2,9600n8 root=/dev/ra [all...] |
H A D | aspeed-bmc-facebook-wedge40.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "ast2400-facebook-netbmc-common.dtsi" 9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400"; 12 stdout-path = &uart3; 13 bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; 16 ast-adc-hwmon { 17 compatible = "iio-hwmon"; 18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 28 pinctrl-names = "default"; [all …]
|
H A D | aspeed-bmc-facebook-galaxy100.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "ast2400-facebook-netbmc-common.dtsi" 9 compatible = "facebook,galaxy100-bmc", "aspeed,ast2400"; 12 stdout-path = &uart5; 13 bootargs = "console=ttyS0,9600n8 root=/dev/ram rw"; 16 ast-adc-hwmon { 17 compatible = "iio-hwmon"; 18 io-channels = <&adc 3>, <&adc 4>, <&adc 8>, <&adc 9>; 24 aspeed,reset-type = "system"; [all …]
|
H A D | aspeed-bmc-facebook-tiogapass.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 /dts-v1/; 6 #include "aspeed-g5.dtsi" 7 #include <dt-bindings/gpio/aspeed-gpio.h> 8 #include <dt-bindings/i2c/i2c.h> 12 compatible = "facebook,tiogapass-bmc", "aspeed,ast2500"; 39 stdout-pat [all...] |
H A D | aspeed-bmc-facebook-wedge400.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include "ast2500-facebook-netbmc-common.dtsi" 10 compatible = "facebook,wedge400-bm [all...] |
/freebsd/share/man/man4/man4.arm/ |
H A D | ti_adc.4 | 45 .Bd -literal 46 dev.ti_adc.0.%desc: TI ADC controller 48 dev.ti_adc.0.%pnpinfo: name=adc@44E0D000 compat=ti,adc 85 On Beaglebone-black the analog input 7 is connected to the 3V3B rail through 91 .Bl -tag -width ".Va dev.ti_adc.0.clockdiv" 92 .It Va dev.ti_adc.0.clockdiv 93 Sets the ADC clock prescaler. 95 The ADC clock is based on CLK_M_OSC (24Mhz) / clockdiv. 96 This gives a maximum of ~2.4Mhz for the ADC clock and ~10Khz for the default 101 .Bl -tag -width ".Va dev.ti_adc.0.ain.%d.samples_avg" [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_adc.c | 1 /*- 50 #include <dev/ofw/openfirm.h> 51 #include <dev/ofw/ofw_bus.h> 52 #include <dev/ofw/ofw_bus_subr.h> 55 #include <dev/evdev/input.h> 56 #include <dev/evdev/evdev.h> 87 static int ti_adc_detach(device_t dev); 94 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_X, sc->sc_x); in ti_adc_ev_report() 95 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_Y, sc->sc_y); in ti_adc_ev_report() 96 evdev_push_event(sc->sc_evdev, EV_KEY, BTN_TOUCH, sc->sc_pen_down); in ti_adc_ev_report() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | thermal-generic-adc.txt | 1 General Purpose Analog To Digital Converter (ADC) based thermal sensor. 4 one of ADC channel and sensor resistance is read via voltage across the 6 temperature using voltage-temperature lookup table. 10 - compatible: Must be "generic-adc-thermal". 11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen… 15 - temperature-lookup-table: Two dimensional array of Integer; lookup table 16 to map the relation between ADC value and 17 temperature. When ADC is read, the value is 23 the each row of array is the ADC read value. 25 If not specified, driver assumes the ADC channel [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | a10_codec.c | 1 /*- 2 * Copyright (c) 2014-2016 Jared D. McNeill <jmcneill@invisible.ca> 42 #include <dev/sound/pcm/sound.h> 44 #include <dev/ofw/ofw_bus.h> 45 #include <dev/ofw/ofw_bus_subr.h> 47 #include <dev/gpio/gpiobusvar.h> 49 #include <dev/clk/clk.h> 50 #include <dev/hwreset/hwreset.h> 61 /* toggle DAC/ADC mute */ 84 #define AC_DAC_DPC(_sc) ((_sc)->cfg->DPC) [all …]
|
H A D | a33_codec.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 41 #include <dev/ofw/ofw_bus.h> 42 #include <dev/ofw/ofw_bus_subr.h> 44 #include <dev/clk/clk.h> 45 #include <dev/hwreset/hwreset.h> 47 #include <dev/gpio/gpiobusvar.h> 50 #include <dev/sound/pcm/sound.h> 51 #include <dev/sound/fdt/audio_dai.h> 133 { "allwinner,sun8i-a33-codec", 1}, [all …]
|
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_adc.c | 1 /*- 28 * Vybrid Family 12-bit Analog to Digital Converter (ADC) 42 #include <dev/ofw/openfirm.h> 43 #include <dev/ofw/ofw_bus.h> 44 #include <dev/ofw/ofw_bus_subr.h> 73 #define CFG_ADLPC (1 << 7) /* Low-Power Configuration */ 79 #define CFG_MODE_12 0x2 /* 12-bit mode */ 121 { -1, 0 } 125 adc_probe(device_t dev) in adc_probe() argument 128 if (!ofw_bus_status_okay(dev)) in adc_probe() [all …]
|
/freebsd/sys/dev/iicbus/adc/ |
H A D | pcf8591.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 41 #include <dev/iicbus/iicbus.h> 42 #include <dev/iicbus/iiconf.h> 45 #include <dev/ofw/ofw_bus.h> 46 #include <dev/ofw/ofw_bus_subr.h> 50 * Driver for PCF8591 I2C 8-bit ADC and DAC. 77 pcf8591_set_config(device_t dev) in pcf8591_set_config() argument 85 sc = device_get_softc(dev); in pcf8591_set_config() 86 data[0] = sc->sc_cfg; in pcf8591_set_config() [all …]
|
H A D | ad7417.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 45 #include <dev/iicbus/iicbus.h> 46 #include <dev/iicbus/iiconf.h> 48 #include <dev/ofw/openfirm.h> 49 #include <dev/ofw/ofw_bus.h> 52 /* CPU A/B sensors, temp and adc: AD7417. */ 64 device_t dev; member 88 static int ad7417_write(device_t dev, uint32_t addr, uint8_t reg, 90 static int ad7417_read_1(device_t dev, uint32_t addr, uint8_t reg, [all …]
|
H A D | ad7418.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 40 #include <dev/iicbus/iiconf.h> 56 #define AD7418_VOLT 4 /* ADC aka Voltage (r/o) */ 69 static int ad7418_read_1(device_t dev, int reg); 70 static int ad7418_write_1(device_t dev, int reg, int v); 73 ad7418_probe(device_t dev) in ad7418_probe() argument 76 device_set_desc(dev, "Analog Devices AD7418 ADC"); in ad7418_probe() 86 sx_xlock(&sc->sc_lock); in ad7418_sysctl_temp() 88 temp = (sc->sc_curtemp / 64) * 25; in ad7418_sysctl_temp() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/ti/ |
H A D | k3-am65-mcu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/ 9 mcu_conf: scm-conf@40f00000 { 10 compatible = "syscon", "simple-mfd"; 12 #address-cells = <1>; 13 #size-cells = <1>; 17 compatible = "ti,am654-ph [all...] |
/freebsd/sys/dev/sound/pci/ |
H A D | envy24.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <dev/sound/pcm/sound.h> 35 #include <dev/sound/pcm/ac97.h> 36 #include <dev/sound/pci/spicds.h> 37 #include <dev/sound/pci/envy24.h> 39 #include <dev/pci/pcireg.h> 40 #include <dev/pci/pcivar.h> 46 /* -------------------------------------------------------------------- */ 97 void *(*create)(device_t dev, void *devinfo, int dir, int num); [all …]
|
H A D | spicds.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <dev/sound/pcm/sound.h> 36 #include <dev/sound/pci/spicds.h> 42 device_t dev; member 49 unsigned int dvc; /* De-emphasis and Volume Control */ 59 if (codec->cif) in spicds_wrbit() 67 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit() 69 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit() 81 device_printf(codec->dev, "spicds_wrcd(codec, 0x%02x, 0x%02x)\n", reg, val); in spicds_wrcd() [all …]
|
H A D | maestro3.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Maestro-3/Allegro FreeBSD pcm sound driver 34 * (+) /dev/dsp multiple concurrent play channels. 35 * (+) /dev/dsp config (speed, mono/stereo, 8/16 bit). 36 * (+) /dev/mixer sets left/right volumes. 37 * (+) /dev/dsp recording works. Tested successfully with the cdrom channel 39 * (-) hardware volme controls don't work =-( 40 * (-) setblocksize() does nothing. 50 * Taku YAMAMOTO for his Maestro-1/2 FreeBSD driver and sanity reference. [all …]
|
H A D | envy24ht.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * generous gift - an 'Audiotrak Prodigy HD2' audio card! I also want to 46 #include <dev/sound/pcm/sound.h> 47 #include <dev/sound/pcm/ac97.h> 48 #include <dev/sound/pci/spicds.h> 49 #include <dev/sound/pci/envy24ht.h> 51 #include <dev/pci/pcireg.h> 52 #include <dev/pci/pcivar.h> 58 /* -------------------------------------------------------------------- */ [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/ |
H A D | nuvoton-npcm730-kudo.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 41 stdout-path = &serial3; 48 iio-hwmon { 49 compatible = "iio-hwmon"; 50 io-channel [all...] |
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32f429-disco.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 53 #include <dt-bindings/gpio/gpio.h> 56 model = "STMicroelectronics STM32F429i-DISCO board"; 57 compatible = "st,stm32f429i-disco", "st,stm32f429"; [all …]
|
/freebsd/crypto/openssl/crypto/ec/asm/ |
H A D | x25519-x86_64.pl | 2 # Copyright 2018-2020 The OpenSSL Project Authors. All Rights Reserved. 16 # X25519 lower-level primitives for x86_64. 22 # reduction. Latter radix is used on ADCX/ADOX-capable processors such 26 # in combination with them being effectively processor-specific makes 38 # amd64-51(*) gcc-5.x(**) 41 # Sandy Bridge -3% +11% 42 # Haswell -1% +13% 51 # (*) amd64-51 is popular assembly implementation with 2^51 radix, 72 ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or 73 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/renesas/ |
H A D | r8a7745-iwg22d-sodimm.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board 9 * SSI-SGTL5000 31 /dts-v1/; 32 #include "r8a7745-iwg22m.dtsi" 33 #include <dt-bindings/pwm/pwm.h> 36 model = "iWave Systems RainboW-G22D-SODIM [all...] |