| /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/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() 83 /* No matching sense entry */ in scsi_lib_test_multiple_sense() 127 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" }, [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, 317 { "VI Sense", "Switch", "VMON" }, 318 { "VI Sense", "Switch", "IMON" }, 319 { "SpkFB Sense", "Switch", "FBMON" }, 320 { "Voltage Sense", NULL, "VI Sense" }, [all...] |
| /linux/Documentation/devicetree/bindings/iio/afe/ |
| 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/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/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/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/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() 160 /* Check interrupt number, ignore sense */ in rza1_irqc_parse_map()
|
| /linux/drivers/media/rc/ |
| H A D | serial_ir.c | 56 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ variable 343 sense != -1) { in serial_ir_irq_handler() 350 * sense could be inverted. in serial_ir_irq_handler() 359 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler() 367 if (!(dcd ^ sense)) { in serial_ir_irq_handler() 371 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler() 377 sense = sense ? 0 : 1; in serial_ir_irq_handler() 382 frbwrite(data, !(dcd ^ sense)); in serial_ir_irq_handler() 572 if (sense == -1) { in serial_ir_probe() 589 sense = nlow >= nhigh ? 1 : 0; in serial_ir_probe() [all …]
|
| /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";
|
| /linux/drivers/usb/storage/ |
| H A D | transport.c | 576 * beyond the end. Replace the result code and sense data in last_sector_hacks() 623 /* if there is a transport error, reset and don't auto-sense */ in usb_stor_invoke_transport() 630 /* if the transport provided its own sense data, don't auto-sense */ in usb_stor_invoke_transport() 640 * Determine if we need to auto-sense in usb_stor_invoke_transport() 649 * of determining status on its own, we will auto-sense in usb_stor_invoke_transport() 655 usb_stor_dbg(us, "-- CB transport device requiring auto-sense\n"); in usb_stor_invoke_transport() 662 usb_stor_dbg(us, "-- sense after SYNC CACHE\n"); in usb_stor_invoke_transport() 687 usb_stor_dbg(us, "-- SAT supported, increasing auto-sense\n"); in usb_stor_invoke_transport() 693 * is unusual, but it doesn't mean we need to auto-sense. in usb_stor_invoke_transport() 704 /* Now, if we need to do the auto-sense, let's do it */ in usb_stor_invoke_transport() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/dac/ |
| 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;
|
| /linux/drivers/video/fbdev/ |
| H A D | valkyriefb.c | 87 int sense; member 268 p->sense = read_valkyrie_sense(p); in valkyrie_choose_mode() 269 printk(KERN_INFO "Monitor sense value = 0x%x\n", p->sense); in valkyrie_choose_mode() 278 default_vmode = mac_map_monitor_sense(p->sense); in valkyrie_choose_mode() 399 * Get the monitor sense value. 403 int sense, in; in read_valkyrie_sense() local 407 sense = ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x70) << 4; in read_valkyrie_sense() 408 /* drive each sense line low in turn and collect the other 2 */ in read_valkyrie_sense() 411 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x30); in read_valkyrie_sense() 414 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x40) >> 3; in read_valkyrie_sense() [all …]
|
| /linux/include/uapi/linux/netfilter_ipv4/ |
| H A D | ip_tables.h | 94 #define IPT_INV_VIA_IN 0x01 /* Invert the sense of IN IFACE. */ 95 #define IPT_INV_VIA_OUT 0x02 /* Invert the sense of OUT IFACE */ 96 #define IPT_INV_TOS 0x04 /* Invert the sense of TOS. */ 97 #define IPT_INV_SRCIP 0x08 /* Invert the sense of SRC IP. */ 98 #define IPT_INV_DSTIP 0x10 /* Invert the sense of DST OP. */ 99 #define IPT_INV_FRAG 0x20 /* Invert the sense of FRAG. */ 154 #define IPT_ICMP_INV 0x01 /* Invert the sense of type/code test */
|