Home
last modified time | relevance | path

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

12345678910>>...59

/Linux-v5.15/drivers/s390/block/
Ddasd_3990_erp.c34 * 24 and 32 byte sense ERP functions
294 * sense sense data of the actual error
302 dasd_3990_erp_action_4(struct dasd_ccw_req * erp, char *sense) in dasd_3990_erp_action_4() argument
319 if (sense && (sense[25] == 0x1D)) { /* state change pending */ in dasd_3990_erp_action_4()
328 } else if (sense && (sense[25] == 0x1E)) { /* busy */ in dasd_3990_erp_action_4()
350 * 24 byte sense ERP functions (only)
385 * Does a analysis of the sense data (message Format)
389 * sense current sense data
395 dasd_3990_handle_env_data(struct dasd_ccw_req * erp, char *sense) in dasd_3990_handle_env_data() argument
399 char msg_format = (sense[7] & 0xF0); in dasd_3990_handle_env_data()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/iio/afe/
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 …]
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";
/Linux-v5.15/drivers/s390/char/
Dtape_3590.c48 [0x10] = "Lost Sense",
491 * SENSE Medium: Get Sense data about medium state
585 * 1. A unit check is presented, when attention sense is present (e.g. when
586 * a medium has been unloaded). The attention sense comes then
669 struct tape_3590_med_sense *sense) in tape_3590_med_state_set() argument
675 DBF_EVENT(6, "medium state: %x:%x\n", sense->macst, sense->masst); in tape_3590_med_state_set()
676 switch (sense->macst) { in tape_3590_med_state_set()
692 if (sense->flags & MSENSE_CRYPT_MASK) { in tape_3590_med_state_set()
693 DBF_EVENT(6, "Medium is encrypted (%04x)\n", sense->flags); in tape_3590_med_state_set()
696 DBF_EVENT(6, "Medium is not encrypted %04x\n", sense->flags); in tape_3590_med_state_set()
[all …]
Dtape_34xx.c53 * Medium sense for 34xx tapes. There is no 'real' medium sense call.
54 * So we just do a normal sense.
59 unsigned char *sense; in __tape_34xx_medium_sense() local
62 sense = request->cpdata; in __tape_34xx_medium_sense()
70 if (sense[0] & SENSE_INTERVENTION_REQUIRED) in __tape_34xx_medium_sense()
75 if (sense[1] & SENSE_WRITE_PROTECT) in __tape_34xx_medium_sense()
80 DBF_EVENT(4, "tape_34xx: medium sense failed with rc=%d\n", in __tape_34xx_medium_sense()
97 tape_ccw_end(request->cpaddr, SENSE, 32, request->cpdata); in tape_34xx_medium_sense()
114 tape_ccw_end(request->cpaddr, SENSE, 32, request->cpdata); in tape_34xx_medium_sense_async()
312 * This function analyses the tape's sense-data in case of a unit-check.
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dsense.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", 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()
111 queue_delayed_work(mlx4_wq , &sense->sense_poll, in mlx4_sense_port()
118 struct mlx4_sense *sense = &priv->sense; in mlx4_start_sense() local
123 queue_delayed_work(mlx4_wq , &sense->sense_poll, in mlx4_start_sense()
129 cancel_delayed_work_sync(&mlx4_priv(dev)->sense.sense_poll); in mlx4_stop_sense()
[all …]
/Linux-v5.15/drivers/scsi/
Dscsi_common.c130 * descriptor sense data format into a common format.
132 * @sense_buffer: byte array containing sense data returned by device
138 * The "main elements" from sense data are: response_code, sense_key,
145 * true if valid sense data information found, else false;
193 * scsi_sense_desc_find - search for a given descriptor type in descriptor sense data format.
194 * @sense_buffer: byte array of descriptor format sense data
200 * only valid when sense data is in descriptor format
232 * scsi_build_sense_buffer - build sense data in a buffer
233 * @desc: Sense format (non-zero == descriptor format,
235 * @buf: Where to build sense data
[all …]
/Linux-v5.15/sound/soc/codecs/
Dssm4567.c176 SND_SOC_DAPM_SIGGEN("Sense"),
178 SND_SOC_DAPM_PGA("Current Sense", SSM4567_REG_POWER_CTRL, 4, 1, NULL, 0),
179 SND_SOC_DAPM_PGA("Voltage Sense", SSM4567_REG_POWER_CTRL, 5, 1, NULL, 0),
180 SND_SOC_DAPM_PGA("VBAT Sense", SSM4567_REG_POWER_CTRL, 6, 1, NULL, 0),
190 { "Current Sense", NULL, "Sense" },
191 { "Voltage Sense", NULL, "Sense" },
192 { "VBAT Sense", NULL, "Sense" },
193 { "Capture Sense", NULL, "Current Sense" },
194 { "Capture Sense", NULL, "Voltage Sense" },
195 { "Capture Sense", NULL, "VBAT Sense" },
[all …]
Dmax98373.c70 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0,
72 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0,
74 SND_SOC_DAPM_AIF_OUT("Speaker FB Sense", "HiFi Capture", 0,
76 SND_SOC_DAPM_SWITCH("VI Sense", SND_SOC_NOPM, 0, 0,
78 SND_SOC_DAPM_SWITCH("SpkFB Sense", SND_SOC_NOPM, 0, 0,
316 { "VI Sense", "Switch", "VMON" },
317 { "VI Sense", "Switch", "IMON" },
318 { "SpkFB Sense", "Switch", "FBMON" },
319 { "Voltage Sense", NULL, "VI Sense" },
320 { "Current Sense", NULL, "VI Sense" },
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dcs42l42.txt22 - cirrus,ts-inv : Boolean property. For jacks that invert the tip sense
23 polarity. Normal jacks will short tip sense pin to HS1 when headphones are
24 plugged in and leave tip sense floating when not plugged in. Inverting jacks
25 short tip sense when unplugged and float when plugged in.
31 debounce, the tip sense pin might be noisy on a plug event.
43 With no debounce, the tip sense pin might be noisy on an unplug event.
84 - cirrus,hs-bias-sense-disable: This is boolean property. If present the
85 HSBIAS sense is disabled. Configures HSBIAS output current sense through
/Linux-v5.15/include/uapi/linux/netfilter/
Dxt_tcpudp.h18 #define XT_TCP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
19 #define XT_TCP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
20 #define XT_TCP_INV_FLAGS 0x04 /* Invert the sense of TCP flags. */
21 #define XT_TCP_INV_OPTION 0x08 /* Invert the sense of option test. */
32 #define XT_UDP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
33 #define XT_UDP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
/Linux-v5.15/include/uapi/linux/netfilter_arp/
Darp_tables.h81 #define ARPT_INV_VIA_IN 0x0001 /* Invert the sense of IN IFACE. */
82 #define ARPT_INV_VIA_OUT 0x0002 /* Invert the sense of OUT IFACE */
83 #define ARPT_INV_SRCIP 0x0004 /* Invert the sense of SRC IP. */
84 #define ARPT_INV_TGTIP 0x0008 /* Invert the sense of TGT IP. */
85 #define ARPT_INV_SRCDEVADDR 0x0010 /* Invert the sense of SRC DEV ADDR. */
86 #define ARPT_INV_TGTDEVADDR 0x0020 /* Invert the sense of TGT DEV ADDR. */
87 #define ARPT_INV_ARPOP 0x0040 /* Invert the sense of ARP OP. */
88 #define ARPT_INV_ARPHRD 0x0080 /* Invert the sense of ARP HRD. */
89 #define ARPT_INV_ARPPRO 0x0100 /* Invert the sense of ARP PRO. */
90 #define ARPT_INV_ARPHLN 0x0200 /* Invert the sense of ARP HLN. */
/Linux-v5.15/Documentation/hwmon/
Dltc4260.rst50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor
51 is installed. If a different sense resistor is installed, calculate the real
52 current by dividing the reported value by the sense resistor value in mOhm.
62 curr1_input SENSE current (mA)
63 curr1_alarm SENSE overcurrent alarm
Dltc2945.rst50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor
51 is installed. If a different sense resistor is installed, calculate the real
52 current by dividing the reported value by the sense resistor value in mOhm.
56 SENSE+ or VDD pin depending on chip configuration.
74 curr1_input SENSE current (mA)
83 power1_input Power (in uW). Power is calculated based on SENSE+/VDD
Dltc4261.rst50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor
51 is installed. If a different sense resistor is installed, calculate the real
52 current by dividing the reported value by the sense resistor value in mOhm.
69 curr1_input SENSE current (mA)
70 curr1_alarm SENSE overcurrent alarm
/Linux-v5.15/drivers/iio/afe/
Diio-rescale.c166 * Using .read_avail() is fringe to begin with and makes no sense in rescale_configure_channel()
180 u32 sense; in rescale_current_sense_amplifier_props() local
186 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props()
187 &sense); in rescale_current_sense_amplifier_props()
189 dev_err(dev, "failed to read the sense resistance: %d\n", ret); in rescale_current_sense_amplifier_props()
193 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props()
194 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()
197 * Calculate the scaling factor, 1 / (gain * sense), or in rescale_current_sense_amplifier_props()
198 * gain_div / (gain_mult * sense), while trying to keep the in rescale_current_sense_amplifier_props()
201 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props()
[all …]
/Linux-v5.15/drivers/s390/cio/
Ddevice_id.c3 * CCW device SENSE ID I/O handling.
31 * diag210_to_senseid - convert diag 0x210 data to sense id information
32 * @senseid: sense id
132 * Initialize SENSE ID data.
144 * Check for complete SENSE ID data.
151 /* Check for incomplete SENSE ID data. */ in snsid_check()
156 /* Check for incompatible SENSE ID data. */ in snsid_check()
170 * Process SENSE ID request result.
194 * ccw_device_sense_id_start - perform SENSE ID
197 * Execute a SENSE ID channel program on @cdev to update its sense id
Ddevice_status.c7 * Status accumulation and basic sense functions.
89 /* Copy concurrent sense / model dependent information. */ in ccw_device_accumulate_ecw()
183 /* Copy concurrent sense bit. */ in ccw_device_accumulate_esw()
291 * Check whether we must issue a SENSE CCW ourselves if there is no in ccw_device_accumulate_irb()
292 * concurrent sense facility installed for the subchannel. in ccw_device_accumulate_irb()
293 * No sense is required if no delayed sense is pending in ccw_device_accumulate_irb()
294 * and we did not get a unit check without sense information. in ccw_device_accumulate_irb()
299 * sense facility available/supported when enabling the in ccw_device_accumulate_irb()
300 * concurrent sense facility. in ccw_device_accumulate_irb()
308 * Do a basic sense.
[all …]
/Linux-v5.15/drivers/irqchip/
Dirq-renesas-rza1.c31 #define ICR1_IRQS(n, sense) ((sense) << ((n) * 2)) /* IRQ Sense Select */ argument
72 u16 sense, tmp; in rza1_irqc_set_type() local
76 sense = ICR1_IRQS_LEVEL_LOW; in rza1_irqc_set_type()
80 sense = ICR1_IRQS_EDGE_FALLING; in rza1_irqc_set_type()
84 sense = ICR1_IRQS_EDGE_RISING; in rza1_irqc_set_type()
88 sense = ICR1_IRQS_EDGE_BOTH; in rza1_irqc_set_type()
97 tmp |= ICR1_IRQS(hw_irq, sense); in rza1_irqc_set_type()
159 /* Check interrupt number, ignore sense */ in rza1_irqc_parse_map()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbusnv04.c32 u8 sense; member
62 return !!(nvkm_rdvgac(device, 0, bus->sense) & 0x04); in nv04_i2c_bus_sense_scl()
70 return !!(nvkm_rdvgac(device, 0, bus->sense) & 0x08); in nv04_i2c_bus_sense_sda()
83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, in nv04_i2c_bus_new() argument
94 bus->sense = sense; in nv04_i2c_bus_new()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Di2c.c96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse()
103 info->sense = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse()
148 info->sense = nvbios_rd08(bios, ent + 5); in dcb_i2c_parse()
149 if (!info->sense) info->sense = 0x3e; in dcb_i2c_parse()
154 info->sense = nvbios_rd08(bios, ent + 7); in dcb_i2c_parse()
155 if (!info->sense) info->sense = 0x36; in dcb_i2c_parse()
/Linux-v5.15/drivers/media/rc/
Dserial_ir.c55 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ variable
342 sense != -1) { in serial_ir_irq_handler()
349 * sense could be inverted. in serial_ir_irq_handler()
358 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
366 if (!(dcd ^ sense)) { in serial_ir_irq_handler()
370 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
376 sense = sense ? 0 : 1; in serial_ir_irq_handler()
381 frbwrite(data, !(dcd ^ sense)); in serial_ir_irq_handler()
571 if (sense == -1) { in serial_ir_probe()
588 sense = nlow >= nhigh ? 1 : 0; in serial_ir_probe()
[all …]
/Linux-v5.15/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.h119 * @ASCQ: Additional Sense Code Qualifier. Can be specific or 0xFF for
121 * @ASC: Additional Sense Code. Can be specific or 0xFF for wildcard
122 * @SenseKey: SCSI Sense Key
124 * Defines a sense key (single or many variants) that should induce a
136 * list of SCSI sense codes that should trigger a DIAG_SERVICE event when
140 * @SCSITriggerEntry: List of SCSI Sense Code trigger elements.
142 * This binary structure is transferred via sysfs to get/set SCSI Sense Code
/Linux-v5.15/drivers/hwmon/
Dltc2945.c96 * an 1mOhm sense resistor, similar to current in ltc2945_reg_to_val()
98 * Control register bit 0 selects if voltage at SENSE+/VDD in ltc2945_reg_to_val()
135 * an 1 mOhm sense resistor, in mA. If a different sense in ltc2945_reg_to_val()
137 * dividing the reported current by the sense resistor value in ltc2945_reg_to_val()
163 * with an 1mOhm sense resistor, similar to current in ltc2945_val_to_reg()
165 * Control register bit 0 selects if voltage at SENSE+/VDD in ltc2945_val_to_reg()
207 * an 1 mOhm sense resistor, in mA. If a different sense in ltc2945_val_to_reg()
209 * dividing the reported current by the sense resistor value in ltc2945_val_to_reg()
364 /* Currents (via sense resistor) */
/Linux-v5.15/Documentation/devicetree/bindings/power/supply/
Dlltc,ltc294x.yaml33 lltc,resistor-sense:
36 Sense resistor value in milli-ohms.
50 - lltc,resistor-sense
63 lltc,resistor-sense = <15>;

12345678910>>...59