Home
last modified time | relevance | path

Searched +full:report +full:- +full:speed +full:- +full:hz (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/kernel/linux/linux-6.6/drivers/hwmon/
Dnzxt-kraken2.c1 // SPDX-License-Identifier: GPL-2.0+
3 * nzxt-kraken2.c - hwmon driver for NZXT Kraken X42/X52/X62/X72 coolers
6 * communicate current fan speed, pump speed and coolant temperature. The
7 * device does not respond to Get_Report requests for this status report.
9 * Copyright 2019-2021 Jonas Malaco <jonas@protocubo.io>
50 if (time_after(jiffies, priv->updated + STATUS_VALIDITY * HZ)) in kraken2_read()
51 return -ENODATA; in kraken2_read()
55 *val = priv->temp_input[channel]; in kraken2_read()
58 *val = priv->fan_input[channel]; in kraken2_read()
61 return -EOPNOTSUPP; /* unreachable */ in kraken2_read()
[all …]
Daquacomputer_d5next.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Aquacomputer devices send HID reports (with ID 0x01) every second to report
62 #define STATUS_UPDATE_INTERVAL (2 * HZ) /* In seconds */
70 /* The HID report that the official software always sends
80 /* Secondary HID report values for Aquaero */
88 /* Report IDs for legacy devices */
122 /* Sensor report offsets for Aquaero fan controllers */
133 /* Control report offsets for the Aquaero fan controllers */
146 /* Sensor report offsets for the D5 Next pump */
156 /* Control report offsets for the D5 Next pump */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
Dhycon,hy46xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 Glass: 0.3mm--4.0mm
12 PET/PMMA: 0.2mm--2.0mm
13 HY4613(B)-N048 < 6"
14 HY4614(B)-N068 7" .. 10.1"
15 HY4621-NS32 < 5"
16 HY4623-NS48 5.1" .. 7"
17 Glass: 0.3mm--8.0mm
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-magicmouse.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include "hid-ids.h"
26 static int middle_button_start = -350;
36 unsigned long speed; in param_set_scroll_speed() local
37 if (!val || kstrtoul(val, 0, &speed) || speed > 63) in param_set_scroll_speed()
38 return -EINVAL; in param_set_scroll_speed()
39 scroll_speed = speed; in param_set_scroll_speed()
43 MODULE_PARM_DESC(scroll_speed, "Scroll speed, value from 0 (slow) to 63 (fast)");
51 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW …
60 * to be some kind of bit mask -- 0x20 may be a near-field reading,
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Df71805f.rst44 -----------
57 The Fintek F71806F/FG Super-I/O chip is essentially the same as the
65 ------------------
67 Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported
84 in1 VIN1 VTT1.2V 10K - 1.00 1.20 V
89 in6 VIN6 VCC1.5V 10K - 1.00 1.50 V
90 in7 VIN7 VCORE 10K - 1.00 ~1.40 V [1]_
111 --------------
113 Fan rotation speeds are reported as 12-bit values from a gated clock
119 The chip assumes 2 pulse-per-revolution fans.
[all …]
Dsysfs-interface.rst5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
6 completely chip-independent. It assumes that all the kernel drivers
10 This is a major improvement compared to lm-sensors 2.
22 For this reason, even if we aim at a chip-independent libsensors, it will
37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
61 to cause an alarm) is chip-dependent.
68 -------------------------------------------------------------------------
71 `[0-*]` denotes any positive number starting from 0
72 `[1-*]` denotes any positive number starting from 1
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Df71805f.rst44 -----------
57 The Fintek F71806F/FG Super-I/O chip is essentially the same as the
65 ------------------
67 Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported
84 in1 VIN1 VTT1.2V 10K - 1.00 1.20 V
89 in6 VIN6 VCC1.5V 10K - 1.00 1.50 V
90 in7 VIN7 VCORE 10K - 1.00 ~1.40 V [1]_
111 --------------
113 Fan rotation speeds are reported as 12-bit values from a gated clock
119 The chip assumes 2 pulse-per-revolution fans.
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-class-hwmon16 The contents of the label are free-form.
48 least, it should report a fault.
68 least, it should report a fault.
89 thumb: drivers should report the voltage values at the
135 this voltage channel is being used for, and user-space
137 user-space.
145 When disabled the sensor read will return -ENODATA.
147 - 1: Enable
148 - 0: Disable
226 affects the measurable speed range, not the read value.
[all …]
/kernel/linux/linux-6.6/drivers/hid/
Dhid-magicmouse.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #include "hid-ids.h"
27 static int middle_button_start = -350;
37 unsigned long speed; in param_set_scroll_speed() local
38 if (!val || kstrtoul(val, 0, &speed) || speed > 63) in param_set_scroll_speed()
39 return -EINVAL; in param_set_scroll_speed()
40 scroll_speed = speed; in param_set_scroll_speed()
44 MODULE_PARM_DESC(scroll_speed, "Scroll speed, value from 0 (slow) to 63 (fast)");
52 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW …
66 * to be some kind of bit mask -- 0x20 may be a near-field reading,
[all …]
/kernel/linux/linux-5.10/Documentation/spi/
Dspidev.rst5 SPI devices have a limited userspace API, supporting basic half-duplex
19 * Prototyping in an environment that's not crash-prone; stray pointers
73 Since this is a standard Linux device driver -- even though it just happens
74 to expose a low level API to userspace -- it can be associated with any number
84 Standard read() and write() operations are obviously only half-duplex, and
85 the chipselect is deactivated between those operations. Full-duplex access,
86 and composite operation without chipselect de-activation, is available using
109 transfer SPI words. Zero indicates MSB-first; other values indicate
110 the less common LSB-first encoding. In both cases the specified value
111 is right-justified in each word, so that unused (TX) or undefined (RX)
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dadm9240.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 * Fans 2 fans, low speed alarm, automatic fan clock divider
21 * Alarms 16-bit map of active alarms
26 * Test hardware: Intel SE440BX-2 desktop motherboard --Grant
35 #include <linux/hwmon-sysfs.h>
37 #include <linux/hwmon-vid.h>
74 return (val * mul - div / 2) / div; in SCALE()
93 /* temperature range: -40..125, 127 disables temperature alarm */
96 val = clamp_val(val, -40000, 127000); in TEMP_TO_REG()
100 /* two fans, each with low fan speed limit */
[all …]
/kernel/linux/linux-6.6/Documentation/spi/
Dspidev.rst5 SPI devices have a limited userspace API, supporting basic half-duplex
19 * Prototyping in an environment that's not crash-prone; stray pointers
38 - struct spi_device_id spidev_spi_ids[]: list of devices that can be
42 - struct of_device_id spidev_dt_ids[]: list of devices that can be
46 - struct acpi_device_id spidev_acpi_ids[]: list of devices that can
52 post a patch for spidev to the linux-spi@vger.kernel.org mailing list.
101 Since this is a standard Linux device driver -- even though it just happens
102 to expose a low level API to userspace -- it can be associated with any number
112 Standard read() and write() operations are obviously only half-duplex, and
113 the chipselect is deactivated between those operations. Full-duplex access,
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Duhci-hub.c1 // SPDX-License-Identifier: GPL-2.0
8 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com
19 USB_DT_HUB, /* __u8 bDescriptorType; Hub-descriptor */
22 HUB_CHAR_INDV_PORT_OCPM, /* (per-port OC, no power switching) */
41 /* A port that either is connected or has a changed-bit set will prevent
48 for (port = 0; port < uhci->rh_numports; ++port) { in any_ports_active()
51 test_bit(port, &uhci->port_c_suspend)) in any_ports_active()
62 /* Some boards (both VIA and Intel apparently) report bogus in get_hub_status_data()
72 for (port = 0; port < uhci->rh_numports; ++port) { in get_hub_status_data()
74 test_bit(port, &uhci->port_c_suspend)) in get_hub_status_data()
[all …]
/kernel/linux/linux-6.6/drivers/usb/host/
Duhci-hub.c1 // SPDX-License-Identifier: GPL-2.0
8 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com
19 USB_DT_HUB, /* __u8 bDescriptorType; Hub-descriptor */
22 HUB_CHAR_INDV_PORT_OCPM, /* (per-port OC, no power switching) */
41 /* A port that either is connected or has a changed-bit set will prevent
48 for (port = 0; port < uhci->rh_numports; ++port) { in any_ports_active()
51 test_bit(port, &uhci->port_c_suspend)) in any_ports_active()
62 /* Some boards (both VIA and Intel apparently) report bogus in get_hub_status_data()
72 for (port = 0; port < uhci->rh_numports; ++port) { in get_hub_status_data()
74 test_bit(port, &uhci->port_c_suspend)) in get_hub_status_data()
[all …]
/kernel/linux/linux-5.10/drivers/hid/usbhid/
Dhid-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2007-2008 Oliver Neukum
9 * Copyright (c) 2006-2010 Jiri Kosina
34 #include <linux/hid-debug.h>
70 " 0x-prefixed hex");
84 struct usbhid_device *usbhid = hid->driver_data; in hid_start_in()
86 spin_lock_irqsave(&usbhid->lock, flags); in hid_start_in()
87 if (test_bit(HID_IN_POLLING, &usbhid->iofl) && in hid_start_in()
[all …]
/kernel/linux/linux-6.6/drivers/hid/usbhid/
Dhid-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2007-2008 Oliver Neukum
9 * Copyright (c) 2006-2010 Jiri Kosina
34 #include <linux/hid-debug.h>
70 " 0x-prefixed hex");
84 struct usbhid_device *usbhid = hid->driver_data; in hid_start_in()
86 spin_lock_irqsave(&usbhid->lock, flags); in hid_start_in()
87 if (test_bit(HID_IN_POLLING, &usbhid->iofl) && in hid_start_in()
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy.c1 // SPDX-License-Identifier: GPL-2.0+
38 #define PHY_STATE_TIME HZ
62 if (old_state != phydev->state) { in phy_process_state_change()
63 phydev_dbg(phydev, "PHY state change %s -> %s\n", in phy_process_state_change()
65 phy_state_to_str(phydev->state)); in phy_process_state_change()
66 if (phydev->drv && phydev->drv->link_change_notify) in phy_process_state_change()
67 phydev->drv->link_change_notify(phydev); in phy_process_state_change()
73 phydev->phy_link_change(phydev, true); in phy_link_up()
79 phydev->phy_link_change(phydev, false); in phy_link_down()
87 if (phydev->autoneg == AUTONEG_DISABLE) in phy_pause_str()
[all …]
Dphylink.c1 // SPDX-License-Identifier: GPL-2.0
4 * technologies such as SFP cages where the PHY is hot-pluggable.
38 * struct phylink - internal data type for phylink
55 u8 link_port; /* The current non-phy ethtool port */
84 if ((pl)->config->type == PHYLINK_NETDEV) \
85 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \
86 else if ((pl)->config->type == PHYLINK_DEV) \
87 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \
99 if ((pl)->config->type == PHYLINK_NETDEV) \
100 netdev_dbg((pl)->netdev, fmt, ##__VA_ARGS__); \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/actions/
Dowl-emac.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 #define OWL_EMAC_DRVNAME "owl-emac"
17 #define OWL_EMAC_TX_TIMEOUT (2 * HZ)
49 #define OWL_EMAC_VAL_MAC_CSR5_TS_DATA 0x03 /* Transferring data HOST -> FIFO */
55 #define OWL_EMAC_VAL_MAC_CSR5_RS_DATA 0x07 /* Transferring data FIFO -> HOST */
59 #define OWL_EMAC_BIT_MAC_CSR5_GTE BIT(11) /* General-purpose timer expiration */
76 #define OWL_EMAC_MSK_MAC_CSR6_SPEED GENMASK(17, 16) /* Eth speed selection */
98 #define OWL_EMAC_BIT_MAC_CSR7_GTE BIT(11) /* General-purpose timer overflow */
140 /* General-purpose timer and interrupt mitigation control register */
165 #define OWL_EMAC_BIT_MAC_CSR20_TUE BIT(30) /* Transmit Un-pause frames Enable */
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Drave-sp.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/crc-ccitt.h>
18 #include <linux/mfd/rave-sp.h>
28 * - message to MCU => ACK response
29 * - event from MCU => event ACK
34 * - STX - is start of transmission character
35 * - ETX - end of transmission
36 * - DATA - payload
37 * - CHECKSUM - checksum calculated on <DATA>
67 * enum rave_sp_deframer_state - Possible state for de-framer
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Drave-sp.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/crc-ccitt.h>
18 #include <linux/mfd/rave-sp.h>
28 * - message to MCU => ACK response
29 * - event from MCU => event ACK
34 * - STX - is start of transmission character
35 * - ETX - end of transmission
36 * - DATA - payload
37 * - CHECKSUM - checksum calculated on <DATA>
67 * enum rave_sp_deframer_state - Possible state for de-framer
[all …]
/kernel/linux/linux-6.6/drivers/net/phy/
Dphy.c1 // SPDX-License-Identifier: GPL-2.0+
39 #define PHY_STATE_TIME HZ
64 if (old_state != phydev->state) { in phy_process_state_change()
65 phydev_dbg(phydev, "PHY state change %s -> %s\n", in phy_process_state_change()
67 phy_state_to_str(phydev->state)); in phy_process_state_change()
68 if (phydev->drv && phydev->drv->link_change_notify) in phy_process_state_change()
69 phydev->drv->link_change_notify(phydev); in phy_process_state_change()
75 phydev->phy_link_change(phydev, true); in phy_link_up()
81 phydev->phy_link_change(phydev, false); in phy_link_down()
83 WRITE_ONCE(phydev->link_down_events, phydev->link_down_events + 1); in phy_link_down()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-tape.c4 * Copyright (C) 1995-1999 Gadi Oxman <gadio@netvision.net.il>
5 * Copyright (C) 2003-2005 Bartlomiej Zolnierkiewicz
8 * of the faculty of electrical engineering in the Technion - Israel's
15 * Documentation/ide/ChangeLog.ide-tape.1995-2002
18 #define DRV_NAME "ide-tape"
80 * function in ide-tape. There are two cases in which we poll for DSC:
93 * commands are slow. We start from a "fast" frequency - IDETAPE_DSC_MA_FAST
95 * (5 min), we switch it to a lower frequency - IDETAPE_DSC_MA_SLOW (1 min).
102 #define IDETAPE_DSC_RW_MIN 5*HZ/100 /* 50 msec */
103 #define IDETAPE_DSC_RW_MAX 40*HZ/100 /* 400 msec */
[all …]

12345678910>>...15