Home
last modified time | relevance | path

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

12345678910>>...120

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
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 */
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";
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/afe/
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-cd_verbose.c19 struct request_sense *sense) in ide_cd_log_error() argument
23 if (sense->sense_key == UNIT_ATTENTION || in ide_cd_log_error()
24 (sense->sense_key == NOT_READY && (sense->asc == 4 || in ide_cd_log_error()
25 sense->asc == 0x3a))) in ide_cd_log_error()
30 name, sense->error_code, sense->sense_key, in ide_cd_log_error()
31 sense->asc, sense->ascq); in ide_cd_log_error()
41 { GPCMD_REQUEST_SENSE, "Request Sense" },
71 { GPCMD_MODE_SENSE_10, "Mode Sense 10" },
94 "No sense data",
117 { 0x000000, "No additional sense information" },
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_common.c121 * descriptor sense data format into a common format.
123 * @sense_buffer: byte array containing sense data returned by device
129 * The "main elements" from sense data are: response_code, sense_key,
136 * true if valid sense data information found, else false;
184 * scsi_sense_desc_find - search for a given descriptor type in descriptor sense data format.
185 * @sense_buffer: byte array of descriptor format sense data
191 * only valid when sense data is in descriptor format
223 * scsi_build_sense_buffer - build sense data in a buffer
224 * @desc: Sense format (non-zero == descriptor format,
226 * @buf: Where to build sense data
[all …]
/kernel/linux/linux-6.6/drivers/scsi/
Dscsi_common.c173 * descriptor sense data format into a common format.
175 * @sense_buffer: byte array containing sense data returned by device
181 * The "main elements" from sense data are: response_code, sense_key,
188 * true if valid sense data information found, else false;
235 * scsi_sense_desc_find - search for a given descriptor type in descriptor sense data format.
236 * @sense_buffer: byte array of descriptor format sense data
242 * only valid when sense data is in descriptor format
274 * scsi_build_sense_buffer - build sense data in a buffer
275 * @desc: Sense format (non-zero == descriptor format,
277 * @buf: Where to build sense data
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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. */
/kernel/linux/linux-5.10/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. */
/kernel/linux/linux-6.6/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. */
/kernel/linux/linux-5.10/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. */
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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

12345678910>>...120