/freebsd/sys/contrib/device-tree/Bindings/iio/afe/ |
H A D | current-sense-amplifier.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Amplifier 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the output voltage from a current sense 14 amplifier, the interesting measurement is almost always the current 15 through the sense resistor, not the voltage output. This binding 16 describes such a current sense circuit. [all …]
|
H A D | current-sense-amplifier.txt | 1 Current Sense Amplifier 4 When an io-channel measures the output voltage from a current sense 5 amplifier, the interesting measurement is almost always the current 6 through the sense resistor, not the voltage output. This binding 7 describes such a current sense circuit. 10 - compatible : "current-sense-amplifier" 11 - io-channels : Channel node of a voltage io-channel. 12 - sense-resistor-micro-ohms : The sense resistance in microohms. 15 - sense-gain-mult: Amplifier gain multiplier. The default is <1>. 16 - sense-gain-div: Amplifier gain divider. The default is <1>. [all …]
|
H A D | current-sense-shunt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Shunt 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the voltage over a current sense shunt, 14 the interesting measurement is almost always the current through the 15 shunt, not the voltage over it. This binding describes such a current 16 sense circuit. [all …]
|
H A D | current-sense-shunt.txt | 1 Current Sense Shunt 4 When an io-channel measures the voltage over a current sense shunt, 5 the interesting measurement is almost always the current through the 6 shunt, not the voltage over it. This binding describes such a current 7 sense circuit. 10 - compatible : "current-sense-shunt" 11 - io-channels : Channel node of a voltage io-channel. 12 - shunt-resistor-micro-ohms : The shunt resistance in microohms. 15 The system current is measured by measuring the voltage over a 19 compatible = "current-sense-shunt"; [all …]
|
H A D | temperature-sense-rtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-sense-rtd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Temperature Sense RTD 10 - Liam Beguin <liambeguin@gmail.com> 17 When an io-channel measures the output voltage across an RTD such as a 25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc) 30 ----- 32 +---+----+ [all …]
|
H A D | temperature-transducer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 15 voltage (like the LTC2997), and temperature to current (like the AD590) 19 When an io-channel measures the output voltage of a temperature analog front 31 The following circuits show a temperature to current and a temperature to 35 ----- 37 +---+---+ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | max9611.txt | 1 * Maxim max9611/max9612 current sense amplifier with 12-bits ADC interface 3 Maxim max9611/max9612 is an high-side current sense amplifier with integrated 4 12-bits ADC communicating over I2c bus. 8 - compatible: Should be "maxim,max9611" or "maxim,max9612" 9 - reg: The 7-bits long I2c address of the device 10 - shunt-resistor-micro-ohms: Value, in micro Ohms, of the current sense shunt 20 shunt-resistor-micro-ohms = <5000>; 24 This device node describes a current sense amplifier sitting on I2c4 bus 26 A sense resistor of 0,005 Ohm is installed between RS+ and RS- current-sensing
|
H A D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 28 RS- inputs, across which the current is measured. Value needed to compute [all …]
|
H A D | microchip,pac1921.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip PAC1921 High-Side Power/Current Monitor with Anaog Output 10 - Matteo Martelli <matteomartelli3@gmail.com> 13 The PAC1921 is a power/current monitoring device with an analog output 17 https://ww1.microchip.com/downloads/en/DeviceDoc/PAC1921-Data-Sheet-DS20005293E.pdf 26 vdd-supply: true 28 "#io-channel-cells": 31 shunt-resistor-micro-ohms: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/ |
H A D | ad5755.txt | 1 * Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver 4 - compatible: Has to contain one of the following: 6 adi,ad5755-1 11 - reg: spi chip select number for the device 12 - spi-cpha or spi-cpol: is the only modes that is supported 15 - spi-max-frequency: Definition as per 16 Documentation/devicetree/bindings/spi/spi-bus.txt 19 See include/dt-bindings/iio/ad5755.h 20 - adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an 23 - adi,dc-dc-phase: [all …]
|
H A D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/temperature/ |
H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
H A D | lltc,ltc294x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 for the charge counter and adds voltage, current and temperature monitoring. 17 - Sebastian Reichel <sre@kernel.org> 20 - $ref: power-supply.yaml# 25 - lltc,ltc2941 26 - lltc,ltc2942 27 - lltc,ltc2943 28 - lltc,ltc2944 [all …]
|
H A D | bq2415x.txt | 1 Binding for TI bq2415x Li-Ion Charger 4 - compatible: Should contain one of the following: 17 - reg: integer, i2c address of the device. 18 - ti,current-limit: integer, initial maximum current charger can pull 20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV. 23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV. 24 - ti,charge-current: integer, maximum charging current in mA. 25 - ti,termination-current: integer, charge will be terminated when current in 26 constant-voltage phase drops below this value (in mA). 27 - ti,resistor-sense: integer, value of sensing resistor in milliohm. [all …]
|
H A D | ltc2941.txt | 7 for the charge counter and adds voltage, current and temperature monitoring. 10 - compatible: Should contain "lltc,ltc2941", "lltc,ltc2942", "lltc,ltc2943" 12 - reg: The 7-bit I2C address. 13 - lltc,resistor-sense: The sense resistor value in milli-ohms. Can be a 32-bit 16 - lltc,prescaler-exponent: The prescaler exponent as explained in the datasheet. 18 into the chip only if it differs from the current setting. The setting is 26 lltc,resistor-sense = <15>; 27 lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */
|
/freebsd/sys/dev/isci/scil/ |
H A D | sati_util.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 61 * structure data, fill in sense data, etc. 73 * length for an ATA non-data command. 76 * values in a non-data ATA command constuct. 90 sequence->data_direction = SATI_DATA_DIRECTION_NONE; in sati_ata_non_data_command() 91 sequence->protocol = SAT_PROTOCOL_NON_DATA; in sati_ata_non_data_command() [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_barrier_combining.c | 2 * Copyright 2011-2015 Samy Al Bahra. 43 if (queue->head != NULL) { in ck_barrier_combining_queue_dequeue() 44 front = queue->head; in ck_barrier_combining_queue_dequeue() 45 queue->head = queue->head->next; in ck_barrier_combining_queue_dequeue() 58 tnode->parent = parent; in ck_barrier_combining_insert() 65 parent->k++; in ck_barrier_combining_insert() 80 node_value->next = NULL; in ck_barrier_combining_queue_enqueue() 81 if (queue->head == NULL) { in ck_barrier_combining_queue_enqueue() 82 queue->head = queue->tail = node_value; in ck_barrier_combining_queue_enqueue() 86 queue->tail->next = node_value; in ck_barrier_combining_queue_enqueue() [all …]
|
H A D | ck_barrier_tournament.c | 2 * Copyright 2011-2015 Samy Al Bahra. 36 * move on to the next round, while losers spin in their current rounds 54 state->sense = ~0; in ck_barrier_tournament_subscribe() 55 state->vpid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_tournament_subscribe() 66 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_tournament_init() 67 barrier->size = size = ck_barrier_tournament_size(nthr); in ck_barrier_tournament_init() 76 imod2k = i & (twok - 1); in ck_barrier_tournament_init() 90 rounds[i][k].opponent = &rounds[i - twokm1][k].flag; in ck_barrier_tournament_init() 97 ck_pr_store_ptr(&barrier->rounds, rounds); in ck_barrier_tournament_init() 112 struct ck_barrier_tournament_round **rounds = ck_pr_load_ptr(&barrier->rounds); in ck_barrier_tournament() [all …]
|
H A D | ck_barrier_dissemination.c | 2 * Copyright 2011-2015 Samy Al Bahra. 41 bool p = nthr & (nthr - 1); in ck_barrier_dissemination_init() 43 barrier->nthr = nthr; in ck_barrier_dissemination_init() 44 barrier->size = size = ck_internal_log(ck_internal_power_2(nthr)); in ck_barrier_dissemination_init() 45 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_dissemination_init() 55 * Determine the thread's partner, j, for the current round, k. in ck_barrier_dissemination_init() 62 j = (i + offset) & (nthr - 1); in ck_barrier_dissemination_init() 83 state->parity = 0; in ck_barrier_dissemination_subscribe() 84 state->sense = ~0; in ck_barrier_dissemination_subscribe() 85 state->tid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_dissemination_subscribe() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | tas2562.txt | 3 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for 5 Integrated speaker voltage and current sense provides for 9 - #address-cells - Should be <1>. 10 - #size-cells - Should be <0>. 11 - compatible: - Should contain "ti,tas2562", "ti,tas2563". 12 - reg: - The i2c address. Should be 0x4c, 0x4d, 0x4e or 0x4f. 13 - ti,imon-slot-no:- TDM TX current sense time slot. 14 - ti,vmon-slot-no:- TDM TX voltage sense time slot. This slot must always be 15 greater then ti,imon-slot-no. 18 - interrupt-parent: phandle to the interrupt controller which provides [all …]
|
H A D | tas2770.txt | 3 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for 5 Integrated speaker voltage and current sense provides for 10 - compatible: - Should contain "ti,tas2770". 11 - reg: - The i2c address. Should contain <0x4c>, <0x4d>,<0x4e>, or <0x4f>. 12 - #address-cells - Should be <1>. 13 - #size-cells - Should be <0>. 14 - ti,asi-format: - Sets TDM RX capture edge. 0->Rising; 1->Falling. 15 - ti,imon-slot-no:- TDM TX current sense time slot. 16 - ti,vmon-slot-no:- TDM TX voltage sense time slot. 20 - interrupt-parent: the phandle to the interrupt controller which provides [all …]
|
H A D | tas2764.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 14 The TAS2764 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 22 - ti,tas2764 29 reset-gpios: 33 shutdown-gpios: 40 ti,imon-slot-no: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk809 22 - rockchip,rk817 30 '#clock-cells': 32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 39 clock-names: [all …]
|