Home
last modified time | relevance | path

Searched +full:poll +full:- +full:rate +full:- +full:ms (Results 1 – 25 of 149) sorted by relevance

123456

/linux-5.10/Documentation/devicetree/bindings/serial/
Dpl011.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
13 - $ref: /schemas/serial.yaml#
21 - arm,pl011
22 - zte,zx296702-uart
24 - compatible
29 - items:
30 - const: arm,pl011
[all …]
/linux-5.10/Documentation/accounting/
Dpsi.rst4 PSI - Pressure Stall Information
14 either play it safe and under-utilize their hardware resources, or
23 scarcity aids users in sizing workloads to hardware--or provisioning
38 respective file in /proc/pressure/ -- cpu, memory, and io.
52 The "full" line indicates the share of time in which all non-idle
71 Users can register triggers and use poll() to be woken up when resource
75 time window, e.g. 100ms of total stall time within any 500ms window to
81 used to wait for trigger events using select(), poll() or epoll().
87 would add 150ms threshold for partial memory stall measured within
89 would add 50ms threshold for full io stall measured within 1sec time window.
[all …]
/linux-5.10/drivers/net/wireless/ti/wlcore/
Dconf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
117 * Range: 0 - 0xFFFFFFFF
130 * after a PS-poll has been transmitted.
132 * Range: 0 - 200000
139 * Range: 0 - 200000
147 * Range: 0 - 4096
161 * Occupied Rx mem-blocks number which requires interrupting the host
177 * Max time in msec the FW may delay RX-Complete interrupt.
179 * Range: 1 - 100
203 * of the 22Mbps rate. There is a FW limitation on 12 rates so we must drop
[all …]
/linux-5.10/drivers/input/misc/
Dkxtj9.c1 // SPDX-License-Identifier: GPL-2.0-only
53 * The following table lists the maximum appropriate poll interval for each
54 * available output data rate.
84 .addr = tj9->client->addr, in kxtj9_i2c_read()
85 .flags = tj9->client->flags, in kxtj9_i2c_read()
90 .addr = tj9->client->addr, in kxtj9_i2c_read()
91 .flags = tj9->client->flags | I2C_M_RD, in kxtj9_i2c_read()
97 return i2c_transfer(tj9->client->adapter, msgs, 2); in kxtj9_i2c_read()
108 dev_err(&tj9->client->dev, "accelerometer data read failed\n"); in kxtj9_report_acceleration_data()
110 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data()
[all …]
/linux-5.10/include/uapi/linux/
Dfd.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
32 rate, /* data rate. |= 0x40 for perpendicular */ member
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
40 spec1, /* stepping rate, head unload time */
50 /* clear user-defined parameters */
54 /* set user-defined parameters for current media */
100 * ultra cheap floppies ;-)
130 /* Spec2 is (HLD<<1 | ND), where HLD is head load time (1=2ms, 2=4 ms
[all …]
/linux-5.10/drivers/input/mouse/
Dsynaptics_i2c.c29 * after soft reset, we should wait for 1 ms
33 /* and after hard reset, we should wait for max 500ms */
182 * reduce the polling rate to NO_DATA_SLEEP_MSECS
212 /* Control Polling Rate */
215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80");
232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate()
233 touch->scan_rate_param = scan_rate; in set_scan_rate()
279 /* set Report Rate to Device Highest (>=80) and Sleep to normal */ in synaptics_i2c_config()
311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config()
316 dev_err(&client->dev, "Unable to config device\n"); in synaptics_i2c_reset_config()
[all …]
Dpsmouse-base.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2002 Vojtech Pavlik
6 * Copyright (c) 2003-2004 Dmitry Torokhov
62 module_param_named(rate, psmouse_rate, uint, 0644);
63 MODULE_PARM_DESC(rate, "Report rate, in reports per second.");
84 PSMOUSE_DEFINE_ATTR(rate, S_IWUSR | S_IRUGO,
85 (void *) offsetof(struct psmouse, rate),
112 * (connecting, disconnecting, changing rate or resolution via
113 * sysfs). We could use a per-device semaphore but since there
132 x = packet[1] ? packet[1] - ((packet[0] << 4) & 0x100) : 0; in psmouse_report_standard_motion()
[all …]
/linux-5.10/drivers/media/usb/dvb-usb/
Ddvb-usb-remote.c1 // SPDX-License-Identifier: GPL-2.0
2 /* dvb-usb-remote.c is part of the DVB USB library.
4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
5 * see dvb-usb-init.c for copyright information.
7 …* This file contains functions for initializing the input-device and for handling remote-control-q…
9 #include "dvb-usb-common.h"
20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index()
21 index = ke->index; in legacy_dvb_usb_get_keymap_index()
49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode()
50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode()
[all …]
/linux-5.10/drivers/iio/pressure/
Ddps310.c1 // SPDX-License-Identifier: GPL-2.0+
14 * - Optionally support the FIFO
60 /* Make sure sleep time is <= 20ms for usleep_range */
62 /* Silently handle error in rate value here */
118 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs()
125 * numbers are 12-bit 2's complement numbers. in dps310_get_coefs()
128 data->c0 = sign_extend32(c0, 11); in dps310_get_coefs()
131 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs()
139 data->c00 = sign_extend32(c00, 19); in dps310_get_coefs()
142 data->c10 = sign_extend32(c10, 19); in dps310_get_coefs()
[all …]
Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
23 * saving at the cost of lower sampling rate and higher software overhead.
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
45 * internal hardware trigger is attached as the highest sampling rate seems to
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
73 /* There should be a 1 ms delay (Tpup) after getting out of reset. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
[all …]
/linux-5.10/drivers/gpu/drm/i915/
Di915_perf_types.h1 /* SPDX-License-Identifier: MIT */
13 #include <linux/poll.h>
66 * struct i915_perf_stream_ops - the OPs to support a specific stream type
109 * Only write complete records; returning -%ENOSPC if there isn't room
113 * -%ENOSPC or -%EFAULT, even though these may be squashed before
130 * struct i915_perf_stream - state for a single open stream FD
163 * @ctx: %NULL if measuring system-wide across all contexts or a
218 * (e.g. during a read() or poll()).
266 * hrtimer callbacks (5ms period) and that reads typically only
317 * struct i915_oa_ops - Gen specific implementation of an OA unit stream
[all …]
/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
65 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599()
70 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599()
72 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599()
74 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599()
76 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
78 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
79 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
80 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
[all …]
/linux-5.10/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
31 hash_for_each_possible(ar->htt.rx_ring.skb_table, rxcb, hlist, paddr) in ath10k_htt_rx_find_skb_paddr()
32 if (rxcb->paddr == paddr) in ath10k_htt_rx_find_skb_paddr()
46 if (htt->rx_ring.in_ord_rx) { in ath10k_htt_rx_ring_free()
47 hash_for_each_safe(htt->rx_ring.skb_table, i, n, rxcb, hlist) { in ath10k_htt_rx_ring_free()
49 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
50 skb->len + skb_tailroom(skb), in ath10k_htt_rx_ring_free()
52 hash_del(&rxcb->hlist); in ath10k_htt_rx_ring_free()
[all …]
Dwmi.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
28 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
44 * variable is already 4-byte aligned by virtue of being a u32
526 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
532 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
533 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
1159 /** DFS-specific commands */
[all …]
/linux-5.10/sound/usb/
Dendpoint.c1 // SPDX-License-Identifier: GPL-2.0-or-later
54 * convert a sampling rate into our full speed format (fs/1000 in Q16.16)
57 static inline unsigned get_usb_full_speed_rate(unsigned int rate) in get_usb_full_speed_rate() argument
59 return ((rate << 13) + 62) / 125; in get_usb_full_speed_rate()
63 * convert a sampling rate into USB high speed format (fs/8000 in Q16.16)
66 static inline unsigned get_usb_high_speed_rate(unsigned int rate) in get_usb_high_speed_rate() argument
68 return ((rate << 10) + 62) / 125; in get_usb_high_speed_rate()
76 if (u->buffer_size) in release_urb_ctx()
77 usb_free_coherent(u->ep->chip->dev, u->buffer_size, in release_urb_ctx()
78 u->urb->transfer_buffer, in release_urb_ctx()
[all …]
/linux-5.10/Documentation/driver-api/media/drivers/
Dvidtv.rst1 .. SPDX-License-Identifier: GPL-2.0
10 ----------
18 - A fake tuner driver, which will report a bad signal quality if the chosen
22 - A fake demod driver, which will constantly poll the fake signal quality
26 - A fake bridge driver, which is the module responsible for modprobing the
31 - Code reponsible for encoding a valid MPEG Transport Stream, which is then
33 For now, we have a single, audio-only channel containing a single MPEG
34 Elementary Stream, which in turn contains a SMPTE 302m encoded sine-wave.
39 --------------
45 - Enable **DVB_TEST_DRIVERS**, then
[all …]
/linux-5.10/drivers/hwmon/
Dstts751.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2016-2017 Istituto Italiano di Tecnologia - RBCS - EDL
17 #include <linux/hwmon-sysfs.h>
32 0x48, 0x49, 0x38, 0x39, /* STTS751-0 */
33 0x4A, 0x4B, 0x3A, 0x3B, /* STTS751-1 */
65 * Possible update intervals are (in mS):
68 * approx value in mS.
105 * vice-vers. They are (mostly) taken from lm90 driver. Unit is in mC.
121 switch (priv->interval) { in stts751_adjust_resolution()
136 if (priv->res == res) in stts751_adjust_resolution()
[all …]
/linux-5.10/drivers/mmc/core/
Dmmc_ops.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2006-2007 Pierre Ossman
62 if (!mmc_host_is_spi(card->host)) in __mmc_send_status()
63 cmd.arg = card->rca << 16; in __mmc_send_status()
66 err = mmc_wait_for_cmd(card->host, &cmd, retries); in __mmc_send_status()
93 cmd.arg = card->rca << 16; in _mmc_select_card()
106 return _mmc_select_card(card->host, card); in mmc_select_card()
128 cmd.arg = (host->dsr << 16) | 0xffff; in mmc_set_dsr()
140 * Non-SPI hosts need to prevent chipselect going active during in mmc_go_idle()
145 * rules that must accommodate non-MMC slaves which this layer in mmc_go_idle()
[all …]
/linux-5.10/Documentation/driver-api/
Dxillybus.rst10 - Introduction
11 -- Background
12 -- Xillybus Overview
14 - Usage
15 -- User interface
16 -- Synchronization
17 -- Seekable pipes
19 - Internals
20 -- Source code organization
21 -- Pipe attributes
[all …]
/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtx.h8 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
9 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation
25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
29 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
30 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation
65 * enum iwl_tx_flags - bitmasks for tx_flags in TX command
66 * @TX_CMD_FLG_PROT_REQUIRE: use RTS or CTS-to-self to protect the frame
81 * Should be set for mgmt, non-QOS data, mcast, bcast and in scan command
82 * @TX_CMD_FLG_MORE_FRAG: this frame is non-last MPDU
91 * @TX_CMD_FLG_DUR: disable duration overwriting used in PS-Poll Assoc-id
[all …]
/linux-5.10/include/net/
Dmac80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * mac80211 <-> driver interface
5 * Copyright 2002-2005, Devicescape Software, Inc.
6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
10 * Copyright (C) 2018 - 2020 Intel Corporation
30 * only partial functionality in hard- or firmware. This document
31 * defines the interface between mac80211 and low-level hardware
[all …]
/linux-5.10/drivers/usb/host/
Dehci-platform.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
9 * Derived from the ohci-ssb driver
12 * Derived from the EHCI-PCI driver
13 * Copyright (c) 2000-2004 by David Brownell
15 * Derived from the ohci-pci driver
17 * Copyright 2000-2002 David Brownell
23 #include <linux/dma-mapping.h>
43 #define hcd_to_ehci_priv(h) ((struct ehci_platform_priv *)hcd_to_ehci(h)->priv)
57 static const char hcd_name[] = "ehci-platform";
[all …]
/linux-5.10/drivers/net/ethernet/marvell/
Dsky2.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 /* Yukon-2 */
32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */
33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */
34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */
35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */
36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */
37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */
38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */
60 /* PCI_OUR_REG_3 32 bit Our Register 3 (Yukon-ECU only) */
[all …]
/linux-5.10/drivers/iio/magnetometer/
Drm3100-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * PNI RM3100 3-axis geomagnetic sensor driver core.
8 * <https://www.pnicorp.com/download/rm3100-user-manual/>
34 /* Poll Measurement Mode register. */
47 /* TiMe Rate Configuration register. */
133 regmap_write(data->regmap, RM3100_REG_POLL, 0); in rm3100_thread_fn()
143 switch (indio_dev->currentmode) { in rm3100_irq_handler()
145 complete(&data->measuring_done); in rm3100_irq_handler()
148 iio_trigger_poll(data->drdy_trig); in rm3100_irq_handler()
151 dev_err(indio_dev->dev.parent, in rm3100_irq_handler()
[all …]
/linux-5.10/drivers/rtc/
Drtc-stm32.c1 // SPDX-License-Identifier: GPL-2.0
135 const struct stm32_rtc_registers *regs = &rtc->data->regs; in stm32_rtc_wpr_unlock()
137 writel_relaxed(RTC_WPR_1ST_KEY, rtc->base + regs->wpr); in stm32_rtc_wpr_unlock()
138 writel_relaxed(RTC_WPR_2ND_KEY, rtc->base + regs->wpr); in stm32_rtc_wpr_unlock()
143 const struct stm32_rtc_registers *regs = &rtc->data->regs; in stm32_rtc_wpr_lock()
145 writel_relaxed(RTC_WPR_WRONG_KEY, rtc->base + regs->wpr); in stm32_rtc_wpr_lock()
150 const struct stm32_rtc_registers *regs = &rtc->data->regs; in stm32_rtc_enter_init_mode()
151 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_enter_init_mode()
155 writel_relaxed(isr, rtc->base + regs->isr); in stm32_rtc_enter_init_mode()
161 * 1MHz, we poll every 10 us with a timeout of 100ms. in stm32_rtc_enter_init_mode()
[all …]

123456