Home
last modified time | relevance | path

Searched +full:adc +full:- +full:dev (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd-src/sys/contrib/device-tree/Bindings/iio/adc/
H A Dadi,axi-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ad
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-facebook-yosemitev2.dts1 // 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-pat
[all...]
H A Daspeed-bmc-facebook-wedge100.dts1 // 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/ram rw";
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
24 aspeed,reset-type = "system";
[all …]
H A Daspeed-bmc-facebook-wedge40.dts1 // 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 Daspeed-bmc-facebook-galaxy100.dts1 // 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 Daspeed-bmc-facebook-tiogapass.dts1 // 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-path = &uart5;
47 iio-hwmon {
48 compatible = "iio-hwmon";
49 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
[all …]
H A Daspeed-bmc-facebook-wedge400.dts1 // 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-bmc", "aspeed,ast2500";
14 * PCA9548 (2-0070) provides 8 channels connecting to
27 * PCA9548 (8-0070) provides 8 channels connecting to
40 * PCA9548 (11-0076) provides 8 channels connecting to
56 stdout-path = &uart1;
57 bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
[all …]
/freebsd-src/share/man/man4/man4.arm/
H A Dti_adc.445 .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-src/sys/arm/ti/
H A Dti_adc.c1 /*-
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_evde in ti_adc_ev_report()
734 ti_adc_probe(device_t dev) ti_adc_probe() argument
745 ti_adc_attach(device_t dev) ti_adc_attach() argument
915 ti_adc_detach(device_t dev) ti_adc_detach() argument
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/thermal/
H A Dthermal-generic-adc.txt1 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-src/sys/arm/allwinner/
H A Da10_codec.c1 /*-
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)->cf
160 device_t dev; global() member
256 a10_mixer_set(struct snd_mixer * m,unsigned dev,unsigned left,unsigned right) a10_mixer_set() argument
535 h3_mixer_set(struct snd_mixer * m,unsigned dev,unsigned left,unsigned right) h3_mixer_set() argument
1049 a10codec_probe(device_t dev) a10codec_probe() argument
1062 a10codec_attach(device_t dev) a10codec_attach() argument
[all...]
H A Da33_codec.c1 /*-
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-src/sys/arm/freescale/vybrid/
H A Dvf_adc.c1 /*-
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-src/sys/arm/ti/am335x/
H A Dam335x_scm.c1 /*-
40 #include <dev/syscon/syscon.h>
54 device_t dev; in am335x_scm_temp_sysctl() local
59 dev = (device_t)arg1; in am335x_scm_temp_sysctl()
60 sc = device_get_softc(dev); in am335x_scm_temp_sysctl()
63 for(i = 50; i > 0; i--) { in am335x_scm_temp_sysctl()
64 reg = SYSCON_READ_4(sc->syscon, SCM_BGAP_CTRL); in am335x_scm_temp_sysctl()
70 sc->sc_last_temp = in am335x_scm_temp_sysctl()
72 sc->sc_last_tem in am335x_scm_temp_sysctl()
98 am335x_scm_probe(device_t dev) am335x_scm_probe() argument
110 am335x_scm_attach(device_t dev) am335x_scm_attach() argument
160 am335x_scm_detach(device_t dev) am335x_scm_detach() argument
[all...]
/freebsd-src/sys/dev/iicbus/adc/
H A Dpcf8591.c1 /*-
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 Dad7417.c1 /*-
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 Dad7418.c1 /*-
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-src/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am65-mcu.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
5 * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
10 compatible = "simple-bus";
11 #address-cells = <1>;
12 #size-cells = <1>;
15 cpsw_mac_syscon: ethernet-ma
[all...]
/freebsd-src/sys/dev/sound/pci/
H A Denvy24.c1 /*-
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/pc
118 device_t dev; global() member
153 void *adc[4], *dac[4]; global() member
484 envy24_rdi2c(struct sc_info * sc,u_int32_t dev,u_int32_t addr) envy24_rdi2c() argument
882 i2c_wr(void * codec,void (* ctrl)(void *,unsigned int,unsigned int),u_int32_t dev,int reg,u_int8_t val) i2c_wr() argument
929 envy24_delta_ak4524_create(device_t dev,void * info,int dir,int num) envy24_delta_ak4524_create() argument
1331 envy24_route(struct sc_info * sc,int dac,int class,int adc,int rev) envy24_route() argument
1987 envy24mixer_set(struct snd_mixer * m,unsigned dev,unsigned left,unsigned right) envy24mixer_set() argument
2125 envy24_pci_probe(device_t dev) envy24_pci_probe() argument
2537 envy24_pci_attach(device_t dev) envy24_pci_attach() argument
2638 envy24_pci_detach(device_t dev) envy24_pci_detach() argument
[all...]
H A Dspicds.c1 /*-
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->ci in spicds_wrbit()
140 spicds_create(device_t dev,void * devinfo,int num,spicds_ctrl ctrl) spicds_create() argument
[all...]
H A Dmaestro3.c1 /*-
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/ds
134 device_t dev; global() member
1299 m3_pci_probe(device_t dev) m3_pci_probe() argument
1315 m3_pci_attach(device_t dev) m3_pci_attach() argument
1478 m3_pci_detach(device_t dev) m3_pci_detach() argument
1506 m3_pci_suspend(device_t dev) m3_pci_suspend() argument
1548 m3_pci_resume(device_t dev) m3_pci_resume() argument
1608 m3_pci_shutdown(device_t dev) m3_pci_shutdown() argument
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm/st/
H A Dstm32f429-disco.dts2 * 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-src/sys/contrib/device-tree/src/arm/nuvoton/
H A Dnuvoton-npcm730-kudo.dts1 // 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-src/crypto/openssl/crypto/ec/asm/
H A Dx25519-x86_64.pl2 # 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-src/sys/contrib/device-tree/src/arm/renesas/
H A Dr8a7745-iwg22d-sodimm.dts1 // 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-SODIMM board based on RZ/G1E";
46 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
47 stdout-path = "serial3:115200n8";
51 compatible = "fixed-clock";
[all …]

1234