Home
last modified time | relevance | path

Searched +full:sense +full:- (Results 1 – 25 of 1664) sorted by relevance

12345678910>>...67

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_sense.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
51 mlx4_err(dev, "Sense command failed for port: %d\n", port); in mlx4_SENSE_PORT()
56 mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", (long long)out_param); in mlx4_SENSE_PORT()
57 return -EINVAL; in mlx4_SENSE_PORT()
68 struct mlx4_sense *sense = &mlx4_priv(dev)->sense; in mlx4_do_sense_ports() local
72 for (i = 1; i <= dev->caps.num_ports; i++) { in mlx4_do_sense_ports()
73 stype[i - 1] = 0; in mlx4_do_sense_ports()
74 if (sense->do_sense_port[i] && sense->sense_allowed[i] && in mlx4_do_sense_ports()
75 dev->caps.possible_type[i] == MLX4_PORT_TYPE_AUTO) { in mlx4_do_sense_ports()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/afe/
H A Dcurrent-sense-amplifier.yaml1 # 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
15 through the sense resistor, not the voltage output. This binding
16 describes such a current sense circuit.
20 const: current-sense-amplifier
[all …]
H A Dcurrent-sense-amplifier.txt1 Current Sense Amplifier
4 When an io-channel measures the output voltage from a current sense
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>.
21 compatible = "current-sense-amplifier";
[all …]
H A Dtemperature-transducer.yaml1 # 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>
19 When an io-channel measures the output voltage of a temperature analog front
35 -----
37 +---+---+
39 +---+---+ -----
41 V proportional to T +----+----+
[all …]
H A Dcurrent-sense-shunt.yaml1 # 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,
16 sense circuit.
20 const: current-sense-shunt
22 io-channels:
[all …]
H A Dcurrent-sense-shunt.txt1 Current Sense Shunt
4 When an io-channel measures the voltage over a current sense shunt,
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.
19 compatible = "current-sense-shunt";
20 io-channels = <&tiadc 0>;
23 shunt-resistor-micro-ohms = <3300000>;
30 #io-channel-cells = <1>;
[all …]
/freebsd/sys/dev/isci/scil/
H A Dsati_util.c1 /*-
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 …]
H A Dsati_mode_sense_6.c1 /*-
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.
59 * translate the SCSI mode sense 6-byte commands.
77 * @brief This method builds the mode parameter header for a 6-byte SCSI
78 * mode sense data response. The parameter header is 4 bytes in
86 * to be returned as part of this mode sense request.
103 sati_set_data_byte(sequence, scsi_io, 0, (U8)mode_data_length-1); in sati_mode_sense_6_build_header()
[all …]
H A Dsati_mode_sense_10.c1 /*-
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.
59 * translate the SCSI mode sense 10-byte commands.
77 * @brief This method builds the mode parameter header for a 10-byte SCSI
78 * mode sense data response. The parameter header is 4 bytes in
86 * to be returned as part of this mode sense request.
89 * mode sense data buffer.
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_barrier_centralized.c2 * Copyright 2011-2015 Samy Al Bahra.
36 unsigned int sense, value; in ck_barrier_centralized() local
39 * Every execution context has a sense associated with it. in ck_barrier_centralized()
40 * This sense is reversed when the barrier is entered. Every in ck_barrier_centralized()
41 * thread will spin on the global sense until the last thread in ck_barrier_centralized()
44 sense = state->sense = ~state->sense; in ck_barrier_centralized()
45 value = ck_pr_faa_uint(&barrier->value, 1); in ck_barrier_centralized()
46 if (value == n_threads - 1) { in ck_barrier_centralized()
47 ck_pr_store_uint(&barrier->value, 0); in ck_barrier_centralized()
49 ck_pr_store_uint(&barrier->sense, sense); in ck_barrier_centralized()
[all …]
H A Dck_barrier_combining.c2 * 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 Dck_barrier_tournament.c2 * Copyright 2011-2015 Samy Al Bahra.
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()
115 if (barrier->size == 1) in ck_barrier_tournament()
[all …]
H A Dck_barrier_dissemination.c2 * 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()
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()
101 unsigned int size = barrier->size; in ck_barrier_dissemination()
[all …]
/freebsd/lib/libc/stdlib/
H A Dmerge.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
43 #define THRESHOLD 16 /* Best choice for natural merge cut-off. */
77 while (i -= ISIZE)
86 while (i -= 1)
113 int sense; in mergesort_b() local
120 return (-1); in mergesort_b()
131 return (-1); in mergesort_b()
143 f2 = l1 = list1 + (p2 - list2); in mergesort_b()
146 l2 = list1 + (p2 - list2); in mergesort_b()
[all …]
/freebsd/share/examples/scsi_target/
H A Dscsi_cmds.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
117 /* We start out life with a UA to indicate power-on/reset. */ in tcmd_init()
121 istate->pending_ua = UA_POWER_ON; in tcmd_init()
140 atio->ccb_h.flags); in tcmd_handle()
143 a_descr = (struct atio_descr *)atio->ccb_h.targ_descr; in tcmd_handle()
145 /* Do a full lookup if one-behind cache failed */ in tcmd_handle()
146 if (last_cmd == NULL || last_cmd->cmd != a_descr->cdb[0]) { in tcmd_handle()
149 for (h = cdb_handlers; h->cmd != ILLEGAL_CDB; h++) { in tcmd_handle()
150 if (a_descr->cdb[0] == h->cmd) in tcmd_handle()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dmax9611.txt1 * 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
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dcs42l42.txt5 - compatible : "cirrus,cs42l42"
7 - reg : the I2C address of the device for I2C.
9 - VP-supply, VCP-supply, VD_FILT-supply, VL-supply, VA-supply :
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
18 - interrupts : IRQ line info CS42L42.
19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
22 - cirrus,ts-inv : Boolean property. Sets the behaviour of the jack plug
26 This is "inverted tip sense (ITS)" in the datasheet.
29 This is "normal tip sense (TS)" in the datasheet.
31 - cirrus,ts-dbnc-rise : Debounce the rising edge of TIP_SENSE_PLUG. With no
[all …]
H A Dcirrus,cs42l42.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
13 The CS42L42 is a low-power audio codec designed for portable applications.
14 It provides a high-dynamic range, stereo DAC for audio playback and a mono
15 high-dynamic-range ADC for audio capture. There is an integrated headset
21 - cirrus,cs42l42
22 - cirrus,cs42l83
29 VP-supply:
[all …]
/freebsd/sys/cam/scsi/
H A Dscsi_all.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
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-
142 { 0xD8, R, "CD-DA READ" }
149 * to read CD-DA data. I'm not sure which Plextor CDROM
152 * 12-20X does. I don't know about any earlier models,
156 {T_CDROM, SIP_MEDIA_REMOVABLE, "PLEXTOR", "CD-ROM PX*", "*"},
164 * From: http://www.t10.org/lists/op-num.txt
[all …]
/freebsd/sys/dev/ida/
H A Didareg.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 * board register offsets for SMART-2 controllers
66 #define SOFT_ERROR 0x02 /* Non-fatal error. */
76 #define CMD_SENSE_DRV_STATUS 0x12 /* Sense logical drive status */
80 #define CMD_SENSE_DRV_LEDS 0x17 /* Sense Blinking drive tray LEDs */
87 #define CMD_GET_CONFIG 0x50 /* Sense configuration */
100 #define CMD_SENSE_BUS_PARAMS 0x65 /* Sense bus parameters */
101 #define CMD_SENSE_SUBSYS_INFO 0x66 /* Sense Subsystem Information */
102 #define CMD_SENSE_SURFACE_ATS 0x70 /* Sense surface analysis task status */
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_barrier.h2 * Copyright 2011-2015 Samy Al Bahra.
35 unsigned int sense; member
40 unsigned int sense; member
53 unsigned int sense; member
62 unsigned int sense; member
99 unsigned int sense; member
130 unsigned int sense; member
155 unsigned int sense; member
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/
H A Dad5755.txt1 * 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 Dadi,ad5755.yaml1 # 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/cam/ctl/
H A Dctl_error.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2009 Silicon Graphics International Corp.
6 * Copyright (c) 2014-2015 Alexander Motin <mav@FreeBSD.org>
34 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_error.c#2 $
76 * Determine whether to return fixed or descriptor format sense in ctl_set_sense_data_va()
81 * SPC- in ctl_set_sense_data_va()
530 ctl_build_ua(struct ctl_lun * lun,uint32_t initidx,struct scsi_sense_data * sense,u_int * sense_len,scsi_sense_data_type sense_format) ctl_build_ua() argument
[all...]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dstarfive,jh71x0-temp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/starfive,jh71x0-tem
[all...]

12345678910>>...67