/linux/drivers/s390/block/ |
H A D | dasd_3990_erp.c | 30 * 24 and 32 byte sense ERP functions 290 * sense sense data of the actual error 298 dasd_3990_erp_action_4(struct dasd_ccw_req * erp, char *sense) in dasd_3990_erp_action_4() argument 315 if (sense && (sense[25] == 0x1D)) { /* state change pending */ in dasd_3990_erp_action_4() 324 } else if (sense && (sense[25] == 0x1E)) { /* busy */ in dasd_3990_erp_action_4() 346 * 24 byte sense ERP functions (only) 381 * Does a analysis of the sense data (message Format) 385 * sense current sense data 391 dasd_3990_handle_env_data(struct dasd_ccw_req * erp, char *sense) in dasd_3990_handle_env_data() argument 395 char msg_format = (sense[7] & 0xF0); in dasd_3990_handle_env_data() [all …]
|
/linux/Documentation/devicetree/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 | 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";
|
/linux/drivers/s390/char/ |
H A D | tape_3590.c | 48 [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 D | tape_34xx.c | 53 * 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/drivers/net/ethernet/mellanox/mlx4/ |
H A D | 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", 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/drivers/scsi/ |
H A D | scsi_lib_test.c | 20 .sense = DATA_PROTECT, in scsi_lib_test_multiple_sense() 26 .sense = UNIT_ATTENTION, in scsi_lib_test_multiple_sense() 33 .sense = NOT_READY, in scsi_lib_test_multiple_sense() 40 .sense = ABORTED_COMMAND, in scsi_lib_test_multiple_sense() 47 .sense = HARDWARE_ERROR, in scsi_lib_test_multiple_sense() 53 .sense = ILLEGAL_REQUEST, in scsi_lib_test_multiple_sense() 64 u8 sense[SCSI_SENSE_BUFFERSIZE] = {}; in scsi_lib_test_multiple_sense() local 66 .sense_buffer = sense, in scsi_lib_test_multiple_sense() 76 /* No matching sense entry */ in scsi_lib_test_multiple_sense() 120 u8 sense[SCSI_SENSE_BUFFERSIZE] = {}; in scsi_lib_test_any_sense() local [all …]
|
H A D | scsi_common.c | 174 * descriptor sense data format into a common format. 176 * @sense_buffer: byte array containing sense data returned by device 182 * The "main elements" from sense data are: response_code, sense_key, 189 * true if valid sense data information found, else false; 236 * scsi_sense_desc_find - search for a given descriptor type in descriptor sense data format. 237 * @sense_buffer: byte array of descriptor format sense data 243 * only valid when sense data is in descriptor format 275 * scsi_build_sense_buffer - build sense data in a buffer 276 * @desc: Sense format (non-zero == descriptor format, 278 * @buf: Where to build sense data [all …]
|
/linux/sound/soc/codecs/ |
H A D | ssm4567.c | 176 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 …]
|
H A D | max98373.c | 70 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/include/uapi/linux/netfilter/ |
H A D | xt_tcpudp.h | 18 #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/include/uapi/linux/netfilter_arp/ |
H A D | arp_tables.h | 81 #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/drivers/iio/afe/ |
H A D | iio-rescale.c | 311 * Using .read_avail() is fringe to begin with and makes no sense in rescale_configure_channel() 325 u32 sense; in rescale_current_sense_amplifier_props() local 331 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props() 332 &sense); in rescale_current_sense_amplifier_props() 334 dev_err(dev, "failed to read the sense resistance: %d\n", ret); in rescale_current_sense_amplifier_props() 338 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props() 339 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props() 342 * Calculate the scaling factor, 1 / (gain * sense), or in rescale_current_sense_amplifier_props() 343 * gain_div / (gain_mult * sense), while trying to keep the in rescale_current_sense_amplifier_props() 346 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props() [all …]
|
/linux/Documentation/hwmon/ |
H A D | ltc2945.rst | 50 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 D | ltc4260.rst | 50 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 D | ltc4261.rst | 50 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/drivers/s390/cio/ |
H A D | device_status.c | 7 * Status accumulation and basic sense functions. 90 /* Copy concurrent sense / model dependent information. */ in ccw_device_accumulate_ecw() 184 /* Copy concurrent sense bit. */ in ccw_device_accumulate_esw() 292 * Check whether we must issue a SENSE CCW ourselves if there is no in ccw_device_accumulate_irb() 293 * concurrent sense facility installed for the subchannel. in ccw_device_accumulate_irb() 294 * No sense is required if no delayed sense is pending in ccw_device_accumulate_irb() 295 * and we did not get a unit check without sense information. in ccw_device_accumulate_irb() 300 * sense facility available/supported when enabling the in ccw_device_accumulate_irb() 301 * concurrent sense facility. in ccw_device_accumulate_irb() 309 * Do a basic sense. [all …]
|
H A D | device_id.c | 3 * 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
|
/linux/drivers/irqchip/ |
H A D | irq-renesas-rza1.c | 31 #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/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | busnv04.c | 32 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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | i2c.c | 96 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/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_trigger_diag.h | 119 * @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/Documentation/devicetree/bindings/sound/ |
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
|
/linux/Documentation/devicetree/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";
|