/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_sense.c | 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() 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 D | current-sense-amplifier.yaml | 4 $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 D | current-sense-amplifier.txt | 1 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 D | temperature-transducer.yaml | 64 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 D | current-sense-shunt.yaml | 4 $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 D | current-sense-shunt.txt | 1 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 D | sati_util.c | 61 * 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 D | sati_mode_sense_6.c | 59 * 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 D | sati_mode_sense_10.c | 59 * 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 D | ck_barrier_centralized.c | 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() 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 D | ck_barrier_combining.c | 105 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 D | ck_barrier_tournament.c | 54 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 D | ck_barrier_dissemination.c | 84 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 D | merge.c | 113 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 D | scsi_cmds.c | 241 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 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 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 D | ck_barrier.h | 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/sound/ |
H A D | cs42l42.txt | 26 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 D | cirrus,cs42l42.yaml | 65 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 D | idareg.h | 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 */ 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 D | scsi_all.c | 203 /* 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 key entries*/NULL, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/ |
H A D | ad5755.txt | 55 - 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 D | adi,ad5755.yaml | 90 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 D | ctl_error.c | 76 * 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 D | starfive,jh71x0-temp.yaml | 30 - const: sense 42 - const: sense 65 clock-names = "sense", "bus"; 69 reset-names = "sense", "bus";
|