Home
last modified time | relevance | path

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

12345678910>>...93

/OK3568_Linux_fs/kernel/drivers/s390/block/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/s390/char/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/ide/
H A 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 …]
H A Dide-cd.c100 struct request_sense *sense = &drive->sense_data; in cdrom_log_sense() local
103 if (!sense || !rq || (rq->rq_flags & RQF_QUIET)) in cdrom_log_sense()
106 ide_debug_log(IDE_DBG_SENSE, "sense_key: 0x%x", sense->sense_key); in cdrom_log_sense()
108 switch (sense->sense_key) { in cdrom_log_sense()
117 if (sense->asc == 0x3a || sense->asc == 0x04) in cdrom_log_sense()
126 if (scsi_req(rq)->cmd[0] == GPCMD_START_STOP_UNIT && sense->asc == 0x24) in cdrom_log_sense()
133 * Some drives (i.e. Creative) fail to present the correct sense in cdrom_log_sense()
148 struct request_sense *sense = &drive->sense_data; in cdrom_analyze_sense_data() local
154 sense->error_code, sense->sense_key); in cdrom_analyze_sense_data()
169 if (sense->sense_key == 0x05 && sense->asc == 0x24) in cdrom_analyze_sense_data()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/afe/
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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/scsi/
H A 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 …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A 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 …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/is_valid/
H A Dinterface.hpp127 \brief \brief_check{is valid (in the OGC sense)}
133 \return \return_check{is valid (in the OGC sense);
150 \brief \brief_check{is valid (in the OGC sense)}
154 \return \return_check{is valid (in the OGC sense);
170 \brief \brief_check{is valid (in the OGC sense)}
178 \return \return_check{is valid (in the OGC sense);
197 \brief \brief_check{is valid (in the OGC sense)}
203 \return \return_check{is valid (in the OGC sense);
220 \brief \brief_check{is valid (in the OGC sense)}
228 \return \return_check{is valid (in the OGC sense);
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter_arp/
H A Darp_tables.h79 #define ARPT_INV_VIA_IN 0x0001 /* Invert the sense of IN IFACE. */
80 #define ARPT_INV_VIA_OUT 0x0002 /* Invert the sense of OUT IFACE */
81 #define ARPT_INV_SRCIP 0x0004 /* Invert the sense of SRC IP. */
82 #define ARPT_INV_TGTIP 0x0008 /* Invert the sense of TGT IP. */
83 #define ARPT_INV_SRCDEVADDR 0x0010 /* Invert the sense of SRC DEV ADDR. */
84 #define ARPT_INV_TGTDEVADDR 0x0020 /* Invert the sense of TGT DEV ADDR. */
85 #define ARPT_INV_ARPOP 0x0040 /* Invert the sense of ARP OP. */
86 #define ARPT_INV_ARPHRD 0x0080 /* Invert the sense of ARP HRD. */
87 #define ARPT_INV_ARPPRO 0x0100 /* Invert the sense of ARP PRO. */
88 #define ARPT_INV_ARPHLN 0x0200 /* Invert the sense of ARP HLN. */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter_arp/
H A Darp_tables.h79 #define ARPT_INV_VIA_IN 0x0001 /* Invert the sense of IN IFACE. */
80 #define ARPT_INV_VIA_OUT 0x0002 /* Invert the sense of OUT IFACE */
81 #define ARPT_INV_SRCIP 0x0004 /* Invert the sense of SRC IP. */
82 #define ARPT_INV_TGTIP 0x0008 /* Invert the sense of TGT IP. */
83 #define ARPT_INV_SRCDEVADDR 0x0010 /* Invert the sense of SRC DEV ADDR. */
84 #define ARPT_INV_TGTDEVADDR 0x0020 /* Invert the sense of TGT DEV ADDR. */
85 #define ARPT_INV_ARPOP 0x0040 /* Invert the sense of ARP OP. */
86 #define ARPT_INV_ARPHRD 0x0080 /* Invert the sense of ARP HRD. */
87 #define ARPT_INV_ARPPRO 0x0100 /* Invert the sense of ARP PRO. */
88 #define ARPT_INV_ARPHLN 0x0200 /* Invert the sense of ARP HLN. */
/OK3568_Linux_fs/kernel/include/uapi/linux/netfilter_arp/
H A 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. */
/OK3568_Linux_fs/kernel/drivers/iio/afe/
H A Diio-rescale.c151 u32 sense; in rescale_current_sense_amplifier_props() local
157 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props()
158 &sense); in rescale_current_sense_amplifier_props()
160 dev_err(dev, "failed to read the sense resistance: %d\n", ret); in rescale_current_sense_amplifier_props()
164 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props()
165 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()
168 * Calculate the scaling factor, 1 / (gain * sense), or in rescale_current_sense_amplifier_props()
169 * gain_div / (gain_mult * sense), while trying to keep the in rescale_current_sense_amplifier_props()
172 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props()
174 rescale->denominator = sense / factor; in rescale_current_sense_amplifier_props()
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/cio/
H A 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 …]
H A 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
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter/
H A 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. */
/OK3568_Linux_fs/kernel/include/uapi/linux/netfilter/
H A 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. */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter/
H A 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. */
/OK3568_Linux_fs/kernel/drivers/block/
H A Dskd_s1120.h256 uint8_t type:7; /* 00: Bits0-6 indicates the type of sense data. */
259 uint8_t key:4; /* 02: Bits0-3 indicate the sense key. */
265 uint8_t reserved1; /* 07: Additional Sense Length */
267 uint8_t code; /* 0C: Additional Sense Code */
268 uint8_t qual; /* 0D: Additional Sense Code Qualifier */
270 uint8_t sks_high:7; /* 0F: Sense Key Specific (MSB) */
271 uint8_t sks_valid:1; /* 0F: Sense Key Specific Valid */
272 uint16_t sks_low; /* 10: Sense Key Specific (LSW) */
273 uint16_t reserved3; /* 12: Part of additional sense bytes (unused) */
274 uint16_t uec; /* 14: Additional Sense Bytes */
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A 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
H A 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
H A 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
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A 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 …]

12345678910>>...93