Home
last modified time | relevance | path

Searched +full:sense +full:- (Results 1 – 25 of 1053) sorted by relevance

12345678910>>...43

/linux-6.14.4/drivers/s390/block/
Ddasd_3990_erp.c1 // SPDX-License-Identifier: GPL-2.0
30 * 24 and 32 byte sense ERP functions
51 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup()
53 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup()
54 cqr->status = final_status; in dasd_3990_erp_cleanup()
70 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue()
76 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue()
78 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue()
79 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue()
80 if (erp->block) in dasd_3990_erp_block_queue()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/iio/afe/
Dcurrent-sense-amplifier.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Current Sense Amplifier
10 - Peter Rosin <[email protected]>
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
[all …]
Dtemperature-transducer.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Beguin <[email protected]>
19 When an io-channel measures the output voltage of a temperature analog front
35 -----
37 +---+---+
39 +---+---+ -----
41 V proportional to T +----+----+
[all …]
Dcurrent-sense-shunt.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Current Sense Shunt
10 - Peter Rosin <[email protected]>
13 When an io-channel measures the voltage over a current sense shunt,
16 sense circuit.
20 const: current-sense-shunt
22 io-channels:
[all …]
/linux-6.14.4/drivers/s390/char/
Dtape_3590.c1 // SPDX-License-Identifier: GPL-2.0
37 * - Read Opposite: implemented
38 * - Read Device (buffered) log: BRA
39 * - Read Library log: BRA
40 * - Swap Devices: BRA
41 * - Long Busy: implemented
42 * - Special Intercept: BRA
43 * - Read Alternate: implemented
48 [0x10] = "Lost Sense",
57 [0x25] = "Read-Only Format",
[all …]
Dtape_34xx.c1 // SPDX-License-Identifier: GPL-2.0
7 * Tuan Ngo-Anh <[email protected]>
53 * Medium sense for 34xx tapes. There is no 'real' medium sense call.
54 * So we just do a normal sense.
58 struct tape_device *device = request->device; in __tape_34xx_medium_sense()
59 unsigned char *sense; in __tape_34xx_medium_sense() local
61 if (request->rc == 0) { in __tape_34xx_medium_sense()
62 sense = request->cpdata; in __tape_34xx_medium_sense()
66 * means that the drive is 'neither ready nor on-line' it is in __tape_34xx_medium_sense()
70 if (sense[0] & SENSE_INTERVENTION_REQUIRED) in __tape_34xx_medium_sense()
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx4/
Dsense.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
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()
57 return -EINVAL; in mlx4_SENSE_PORT()
68 struct mlx4_sense *sense = &mlx4_priv(dev)->sense; in mlx4_do_sense_ports() local
72 for (i = 1; i <= dev->caps.num_ports; i++) { in mlx4_do_sense_ports()
73 stype[i - 1] = 0; in mlx4_do_sense_ports()
74 if (sense->do_sense_port[i] && sense->sense_allowed[i] && in mlx4_do_sense_ports()
75 dev->caps.possible_type[i] == MLX4_PORT_TYPE_AUTO) { in mlx4_do_sense_ports()
[all …]
/linux-6.14.4/drivers/scsi/
Dscsi_lib_test.c1 // SPDX-License-Identifier: GPL-2.0
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()
79 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
[all …]
Dscsi_common.c1 // SPDX-License-Identifier: GPL-2.0
29 "Direct-Access ",
30 "Sequential-Access",
34 "CD-ROM ",
43 "Direct-Access-RBC",
49 "Direct-Access-ZBC",
53 * scsi_device_type - Return 17-char string indicating device type.
59 return "Well-known LUN "; in scsi_device_type()
111 * scsilun_to_int - convert a scsi_lun to an int
115 * Convert @scsilun from a struct scsi_lun to a four-byte host byte-ordered
[all …]
/linux-6.14.4/sound/soc/codecs/
Dssm4567.c1 // SPDX-License-Identifier: GPL-2.0-only
137 /* The datasheet states that soft reset register is read-only, in ssm4567_writeable_reg()
138 * but logically it is write-only. */ in ssm4567_writeable_reg()
158 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm4567_vol_tlv, -7125, 2400);
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" },
[all …]
/linux-6.14.4/include/uapi/linux/netfilter/
Dxt_tcpudp.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
11 __u8 option; /* TCP Option iff non-zero*/
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-6.14.4/include/uapi/linux/netfilter_arp/
Darp_tables.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
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. */
[all …]
/linux-6.14.4/drivers/iio/afe/
Diio-rescale.c1 // SPDX-License-Identifier: GPL-2.0
33 *val *= rescale->numerator; in rescale_process_scale()
34 if (rescale->denominator == 1) in rescale_process_scale()
36 *val2 = rescale->denominator; in rescale_process_scale()
44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale()
45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale()
53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale()
54 tmp *= rescale->numerator; in rescale_process_scale()
82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale()
86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale()
[all …]
/linux-6.14.4/Documentation/hwmon/
Dltc2945.rst10 Addresses scanned: -
14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf
16 Author: Guenter Roeck <linux@roeck-us.net>
20 -----------
22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage,
27 -----------
37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device
41 -------------
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
[all …]
Dltc4260.rst10 Addresses scanned: -
16 Author: Guenter Roeck <linux@roeck-us.net>
20 -----------
27 -----------
37 $ echo ltc4260 0x10 > /sys/bus/i2c/devices/i2c-1/new_device
41 -------------
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)
[all …]
Dltc4261.rst10 Addresses scanned: -
16 Author: Guenter Roeck <linux@roeck-us.net>
20 -----------
22 The LTC4261/LTC4261-2 negative voltage Hot Swap controllers allow a board
27 -----------
37 $ echo ltc4261 0x10 > /sys/bus/i2c/devices/i2c-1/new_device
41 -------------
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.
[all …]
/linux-6.14.4/drivers/irqchip/
Dirq-renesas-rzv2h.c1 // SPDX-License-Identifier: GPL-2.0
5 * Based on irq-renesas-rzg2l.c
84 * struct rzv2h_icu_priv - Interrupt Control Unit controller private data structure.
99 return data->domain->host_data; in irq_data_to_priv()
109 scoped_guard(raw_spinlock, &priv->lock) { in rzv2h_icu_eoi()
111 tintirq_nr = hw_irq - ICU_TINT_START; in rzv2h_icu_eoi()
114 writel_relaxed(bit, priv->base + ICU_TSCLR); in rzv2h_icu_eoi()
116 tintirq_nr = hw_irq - ICU_IRQ_START; in rzv2h_icu_eoi()
119 writel_relaxed(bit, priv->base + ICU_ISCLR); in rzv2h_icu_eoi()
121 writel_relaxed(ICU_NSCLR_NCLR, priv->base + ICU_NSCLR); in rzv2h_icu_eoi()
[all …]
Dirq-renesas-rza1.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <dt-bindings/interrupt-controller/arm-gic.h>
31 #define ICR1_IRQS(n, sense) ((sense) << ((n) * 2)) /* IRQ Sense Select */ argument
51 return data->domain->host_data; in irq_data_to_priv()
60 tmp = readw_relaxed(priv->base + IRQRR); in rza1_irqc_eoi()
62 writew_relaxed(GENMASK(IRQC_NUM_IRQ - 1, 0) & ~bit, in rza1_irqc_eoi()
63 priv->base + IRQRR); in rza1_irqc_eoi()
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()
[all …]
/linux-6.14.4/drivers/s390/cio/
Ddevice_status.c1 // SPDX-License-Identifier: GPL-2.0
7 * Status accumulation and basic sense functions.
31 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_msg_control_check()
34 if (!scsw_is_valid_cstat(&irb->scsw) || in ccw_device_msg_control_check()
35 !(scsw_cstat(&irb->scsw) & (SCHN_STAT_CHN_DATA_CHK | in ccw_device_msg_control_check()
38 CIO_MSG_EVENT(0, "Channel-Check or Interface-Control-Check " in ccw_device_msg_control_check()
42 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_msg_control_check()
43 sch->schid.sch_no, in ccw_device_msg_control_check()
44 scsw_dstat(&irb->scsw), scsw_cstat(&irb->scsw)); in ccw_device_msg_control_check()
45 sprintf(dbf_text, "chk%x", sch->schid.sch_no); in ccw_device_msg_control_check()
[all …]
Ddevice_id.c1 // SPDX-License-Identifier: GPL-2.0
3 * CCW device SENSE ID I/O handling.
31 * diag210_to_senseid - convert diag 0x210 data to sense id information
32 * @senseid: sense id
35 * Return 0 on success, non-zero otherwise.
75 if (diag->vrdcvcla == 0x02 && diag->vrdcvtyp == 0x20) { in diag210_to_senseid()
76 senseid->cu_type = 0x3088; in diag210_to_senseid()
77 senseid->cu_model = 0x60; in diag210_to_senseid()
78 senseid->reserved = 0xff; in diag210_to_senseid()
82 if (diag->vrdcvcla == vm_devices[i].class && in diag210_to_senseid()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbusnv04.c32 u8 sense; member
39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_drive_scl()
40 u8 val = nvkm_rdvgac(device, 0, bus->drive); in nv04_i2c_bus_drive_scl()
43 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); in nv04_i2c_bus_drive_scl()
50 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_drive_sda()
51 u8 val = nvkm_rdvgac(device, 0, bus->drive); in nv04_i2c_bus_drive_sda()
54 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); in nv04_i2c_bus_drive_sda()
61 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_sense_scl()
62 return !!(nvkm_rdvgac(device, 0, bus->sense) & 0x04); in nv04_i2c_bus_sense_scl()
69 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_sense_sda()
[all …]
/linux-6.14.4/drivers/media/rc/
Dserial_ir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * serial_ir - Device driver that records pulse- and pause-lengths
6 * (space-lengths) between DDCD event on a serial port.
8 * Copyright (C) 1996,97 Ralph Metzler <[email protected]-koeln.de>
13 * Copyright (C) 2016 Sean Young <[email protected]> (port to rc-core)
28 #include <media/rc-core.h>
56 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ variable
145 /* the register is memory-mapped */ in sinp()
155 /* the register is memory-mapped */ in soutp()
190 for (i = 0, output = 0x7f; rawbits > 0; rawbits -= 3) { in send_pulse_irdeo()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Di2c.c41 nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver); in dcb_i2c_table()
73 struct nvkm_subdev *subdev = &bios->subdev; in dcb_i2c_parse()
83 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse()
85 info->type = DCB_I2C_PMGR; in dcb_i2c_parse()
88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse()
90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; in dcb_i2c_parse()
91 if (info->type == 0x07) in dcb_i2c_parse()
92 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse()
95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse()
96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dcirrus,cs42l42.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - [email protected]
13 The CS42L42 is a low-power audio codec designed for portable applications.
14 It provides a high-dynamic range, stereo DAC for audio playback and a mono
15 high-dynamic-range ADC for audio capture. There is an integrated headset
21 - cirrus,cs42l42
22 - cirrus,cs42l83
29 VP-supply:
[all …]
/linux-6.14.4/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.h7 * Copyright (C) 2012-2014 LSI Corporation
8 * Copyright (C) 2013-2014 Avago Technologies
9 * (mailto: MPT-[email protected])
24 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
43 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
90 * struct SL_WH_EVENT_TRIGGER_T - Definition of an event trigger element
102 * struct SL_WH_EVENT_TRIGGERS_T - Structure passed to/from sysfs containing a
118 * struct SL_WH_SCSI_TRIGGER_T - Definition of a SCSI trigger element
119 * @ASCQ: Additional Sense Code Qualifier. Can be specific or 0xFF for
121 * @ASC: Additional Sense Code. Can be specific or 0xFF for wildcard
[all …]

12345678910>>...43