Home
last modified time | relevance | path

Searched full:sense (Results 1 – 25 of 1791) sorted by relevance

12345678910>>...72

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_sense.c51 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()
68 struct mlx4_sense *sense = &mlx4_priv(dev)->sense; in mlx4_do_sense_ports() local
74 if (sense->do_sense_port[i] && sense->sense_allowed[i] && in mlx4_do_sense_ports()
94 struct mlx4_sense *sense = container_of(delay, struct mlx4_sense, in mlx4_sense_port() local
96 struct mlx4_dev *dev = sense->dev; in mlx4_sense_port()
101 if (sense->gone != 0) { in mlx4_sense_port()
114 queue_delayed_work(mlx4_wq , &sense->sense_poll, in mlx4_sense_port()
122 struct mlx4_sense *sense = &priv->sense; in mlx4_start_sense() local
128 sense->gone = 0; in mlx4_start_sense()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/afe/
H A Dcurrent-sense-amplifier.yaml4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml#
7 title: Current Sense Amplifier
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
27 sense-resistor-micro-ohms:
28 description: The sense resistance.
30 sense-gain-mult:
34 sense-gain-div:
[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"
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";
24 sense-resistor-micro-ohms = <20000>;
[all …]
H A Dtemperature-transducer.yaml64 sense-offset-millicelsius:
68 In that case, sense-offset-millicelsius would be set to <(-273150)>.
71 sense-resistor-ohms:
73 The sense resistor.
74 By default sense-resistor-ohms cancels out the resistor making the
101 sense-offset-millicelsius = <(-273150)>; /* Kelvin to degrees Celsius */
102 sense-resistor-ohms = <8060>;
111 sense-offset-millicelsius = <(-273150)>; /* Kelvin to degrees Celsius */
H A Dcurrent-sense-shunt.yaml4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml#
7 title: Current Sense Shunt
13 When an io-channel measures the voltage over a current sense shunt,
16 sense circuit.
20 const: current-sense-shunt
61 compatible = "current-sense-shunt";
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"
19 compatible = "current-sense-shunt";
/freebsd/sys/dev/isci/scil/
H A Dsati_util.c61 * structure data, fill in sense data, etc.
383 * @brief This method is utilized to set a specific byte in the sense
385 * isn't larger then the length of the requested sense data.
388 * for which to set the sense data byte.
390 * the sense data buffer where the data should be written.
392 * into the sense data area.
403 // Ensure that we don't attempt to write past the end of the sense in sati_set_sense_data_byte()
417 * @param[in] sense_data_length This parameter specifies the sense data
440 * @brief This method will construct the buffer for sense data
441 * sense data buffer location. Additionally, it will set the user's
[all …]
H A Dsati_mode_sense_6.c59 * translate the SCSI mode sense 6-byte commands.
78 * mode sense data response. The parameter header is 4 bytes in
86 * to be returned as part of this mode sense request.
127 * SENSE 6 byte commands. This includes building the mode page
170 * @brief This method will translate the SCSI mode sense 6 byte command
181 * sense data has been created as a result of something specified
203 * SENSE 6 commands.
233 * specifically for MODE SENSE 6 commands.
263 * specifically for MODE SENSE 6 commands.
295 * specifically for MODE SENSE 6 commands.
[all …]
H A Dsati_mode_sense_10.c59 * translate the SCSI mode sense 10-byte commands.
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.
197 * SENSE 10 byte commands. This includes building the mode page
249 * @brief This method will translate the SCSI mode sense 6 byte command
260 * sense data has been created as a result of something specified
285 * SENSE 10 commands.
315 * specifically for MODE SENSE 10 commands.
345 * specifically for MODE SENSE 10 commands.
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_barrier_centralized.c36 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()
49 ck_pr_store_uint(&barrier->sense, sense); in ck_barrier_centralized()
54 while (sense != ck_pr_load_uint(&barrier->sense)) in ck_barrier_centralized()
H A Dck_barrier_combining.c105 tnode->sense = 0; in ck_barrier_combining_group_init()
150 init_root->sense = 0; in ck_barrier_combining_init()
160 unsigned int sense) in ck_barrier_combining_aux() argument
165 * Otherwise, it spins on this group's sense. in ck_barrier_combining_aux()
173 ck_barrier_combining_aux(barrier, tnode->parent, sense); in ck_barrier_combining_aux()
178 * sense. Order of these operations is not important since we assume a static in ck_barrier_combining_aux()
186 ck_pr_store_uint(&tnode->sense, ~tnode->sense); in ck_barrier_combining_aux()
188 while (sense != ck_pr_load_uint(&tnode->sense)) in ck_barrier_combining_aux()
202 ck_barrier_combining_aux(barrier, tnode, state->sense); in ck_barrier_combining()
204 /* Reverse the execution context's sense for the next barrier. */ in ck_barrier_combining()
[all …]
H A Dck_barrier_tournament.c54 state->sense = ~0; in ck_barrier_tournament_subscribe()
127 while (ck_pr_load_uint(&rounds[state->vpid][round].flag) != state->sense) in ck_barrier_tournament()
130 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense); in ck_barrier_tournament()
140 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense); in ck_barrier_tournament()
141 while (ck_pr_load_uint(&rounds[state->vpid][round].flag) != state->sense) in ck_barrier_tournament()
150 while (ck_pr_load_uint(&rounds[state->vpid][round].flag) != state->sense) in ck_barrier_tournament()
175 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense); in ck_barrier_tournament()
182 state->sense = ~state->sense; in ck_barrier_tournament()
H A Dck_barrier_dissemination.c84 state->sense = ~0; in ck_barrier_dissemination_subscribe()
110 ck_pr_store_uint(pflag, state->sense); in ck_barrier_dissemination()
113 while (ck_pr_load_uint(tflag) != state->sense) in ck_barrier_dissemination()
120 * be used for the next barrier. They also use a sense reversal technique in ck_barrier_dissemination()
124 state->sense = ~state->sense; in ck_barrier_dissemination()
/freebsd/lib/libc/stdlib/
H A Dmerge.c113 int sense; in mergesort_b() local
151 sense = -1; in mergesort_b()
155 sense = 0; in mergesort_b()
158 while ((b += size) < t && CMP(q, b) >sense) in mergesort_b()
167 CMP(q, p) <= sense) in mergesort_b()
172 } else if (CMP(q, p) <= sense) { in mergesort_b()
181 if (CMP(q, p = b + i) <= sense) in mergesort_b()
189 p = b + (i >>= 1)) <= sense) in mergesort_b()
262 * when THRESHOLD/2 pairs compare with same sense. (Only used when NATURAL
268 int i, length, size2, tmp, sense; in setup() local
[all …]
/freebsd/share/examples/scsi_target/
H A Dscsi_cmds.c241 struct scsi_sense_data_fixed *sense; in tcmd_sense() local
248 sense = (struct scsi_sense_data_fixed *)&istate->sense_data; in tcmd_sense()
249 bzero(sense, sizeof(*sense)); in tcmd_sense()
250 sense->error_code = SSD_CURRENT_ERROR; in tcmd_sense()
251 sense->flags = flags; in tcmd_sense()
252 sense->add_sense_code = asc; in tcmd_sense()
253 sense->add_sense_code_qual = ascq; in tcmd_sense()
254 sense->extra_len = in tcmd_sense()
260 bcopy(sense, &ctio->sense_data, sizeof(*sense)); in tcmd_sense()
261 ctio->sense_len = sizeof(*sense); /* XXX */ in tcmd_sense()
[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
10 - shunt-resistor-micro-ohms: Value, in micro Ohms, of the current sense shunt
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/ck/include/
H A Dck_barrier.h35 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/sound/
H A Dcs42l42.txt26 This is "inverted tip sense (ITS)" in the datasheet.
29 This is "normal tip sense (TS)" in the datasheet.
32 debounce, the tip sense pin might be noisy on a plug event.
44 With no debounce, the tip sense pin might be noisy on an unplug event.
85 - cirrus,hs-bias-sense-disable: This is boolean property. If present the
86 HSBIAS sense is disabled. Configures HSBIAS output current sense through
H A Dcirrus,cs42l42.yaml65 This is "inverted tip sense (ITS)" in the datasheet.
68 This is "normal tip sense (TS)" in the datasheet.
78 debounce, the tip sense pin might be noisy on a plug event.
97 debounce, the tip sense pin might be noisy on an unplug event.
176 cirrus,hs-bias-sense-disable:
178 If present the HSBIAS sense is disabled. Configures HSBIAS output
179 current sense through the external 2.21-k resistor. HSBIAS_SENSE
/freebsd/sys/dev/ida/
H A Didareg.h76 #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 */
109 #define CMD_SENSE_DRV_ERR_LOG 0xa6 /* Sense drive error log */
111 #define CMD_SENSE_CP 0xa8 /* Sense controller performance */
214 * Sense logical drive status
294 * Sense Blinking Drive Tray LEDs
[all …]
/freebsd/sys/cam/scsi/
H A Dscsi_all.c203 /* 03 MMMMMMMMMMOMMM REQUEST SENSE */
204 { 0x03, ALL, "REQUEST SENSE" },
271 /* 1A OMO O OOOO OO MODE SENSE(6) */
272 { 0x1A, ALL & ~(P | R | B | F), "MODE SENSE(6)" },
403 /* 4D OOOOO OOOO OMO LOG SENSE */
404 { 0x4D, ALL & ~(R | B), "LOG SENSE" },
437 /* 5A OOO OMOOOOMOMO MODE SENSE(10) */
438 { 0x5A, ALL & ~(P), "MODE SENSE(10)" },
726 { SSD_KEY_NO_SENSE, SS_NOP, "NO SENSE" },
929 /*sense ke
3741 scsi_desc_iterate(struct scsi_sense_data_desc * sense,u_int sense_len,int (* iter_func)(struct scsi_sense_data_desc * sense,u_int,struct scsi_sense_desc_header *,void *),void * arg) scsi_desc_iterate() argument
3742 scsi_desc_iterate(struct scsi_sense_data_desc * sense,u_int sense_len,int (* iter_func)(struct scsi_sense_data_desc * sense,u_int,struct scsi_sense_desc_header *,void *),void * arg) scsi_desc_iterate() argument
3807 scsi_find_desc_func(struct scsi_sense_data_desc * sense,u_int sense_len,struct scsi_sense_desc_header * header,void * arg) scsi_find_desc_func() argument
3829 scsi_find_desc(struct scsi_sense_data_desc * sense,u_int sense_len,uint8_t desc_type) scsi_find_desc() argument
3850 struct scsi_sense_data_desc *sense; scsi_set_sense_data_desc_va() local
3998 struct scsi_sense_data_fixed *sense; scsi_set_sense_data_fixed_va() local
4156 struct scsi_sense_data_desc *sense; scsi_get_sense_info() local
4209 struct scsi_sense_data_fixed *sense; scsi_get_sense_info() local
4287 struct scsi_sense_data_desc *sense; scsi_get_sks() local
4304 struct scsi_sense_data_fixed *sense; scsi_get_sks() local
4355 struct scsi_sense_data_desc *sense; scsi_get_block_info() local
4369 struct scsi_sense_data_fixed *sense; scsi_get_block_info() local
4408 struct scsi_sense_data_desc *sense; scsi_get_stream_info() local
4422 struct scsi_sense_data_fixed *sense; scsi_get_stream_info() local
4598 scsi_sense_info_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_info_sbuf() argument
4614 scsi_sense_command_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_command_sbuf() argument
4628 scsi_sense_sks_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_sks_sbuf() argument
4648 scsi_sense_fru_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_fru_sbuf() argument
4664 scsi_sense_stream_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_stream_sbuf() argument
4676 scsi_sense_block_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_block_sbuf() argument
4688 scsi_sense_progress_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_progress_sbuf() argument
4722 scsi_sense_ata_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_ata_sbuf() argument
4769 scsi_sense_forwarded_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_forwarded_sbuf() argument
4793 scsi_sense_generic_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_generic_sbuf() argument
4840 scsi_sense_desc_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_desc_sbuf() argument
4903 scsi_print_desc_func(struct scsi_sense_data_desc * sense,u_int sense_len,struct scsi_sense_desc_header * header,void * arg) scsi_print_desc_func() argument
4941 scsi_sense_only_sbuf(struct scsi_sense_data * sense,u_int sense_len,struct sbuf * sb,char * path_str,struct scsi_inquiry_data * inq_data,uint8_t * cdb,int cdb_len) scsi_sense_only_sbuf() argument
5107 struct scsi_sense_data *sense; scsi_sense_sbuf() local
5355 struct scsi_sense_data_desc *sense; scsi_extract_sense_len() local
5378 struct scsi_sense_data_fixed *sense; scsi_extract_sense_len() local
[all...]
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/
H A Dad5755.txt55 - adi,ext-current-sense-resistor: boolean set if the hardware a external
56 current sense resistor.
103 adi,ext-current-sense-resistor;
109 adi,ext-current-sense-resistor;
115 adi,ext-current-sense-resistor;
121 adi,ext-current-sense-resistor;
H A Dadi,ad5755.yaml90 adi,ext-current-sense-resistor:
93 Set if the hardware has an external current sense resistor
146 adi,ext-current-sense-resistor;
152 adi,ext-current-sense-resistor;
158 adi,ext-current-sense-resistor;
164 adi,ext-current-sense-resistor;
/freebsd/sys/cam/ctl/
H A Dctl_error.c76 * Determine whether to return fixed or descriptor format sense in ctl_set_sense_data_va()
88 * sense if the LUN exists and descriptor sense is turned in ctl_set_sense_data_va()
98 * Determine maximum sense data length to return. in ctl_set_sense_data_va()
157 * Transform fixed sense data into descriptor sense data.
159 * For simplicity's sake, we assume that both sense structures are
182 * so, we'll need a stream sense descriptor. in ctl_sense_to_desc()
190 * Utilize our sense setting routine to do the transform. If a in ctl_sense_to_desc()
191 * value is set in the fixed sense dat in ctl_sense_to_desc()
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.yaml30 - const: sense
42 - const: sense
65 clock-names = "sense", "bus";
69 reset-names = "sense", "bus";

12345678910>>...72