Home
last modified time | relevance | path

Searched +full:poll +full:- +full:retry +full:- +full:count (Results 1 – 25 of 630) sorted by relevance

12345678910>>...26

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
16 - $ref: power-supply.yaml#
21 - items:
22 - enum:
23 - ti,bq20z45
24 - ti,bq20z65
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
19 - items:
20 - enum:
21 - ti,bq20z65
22 - ti,bq20z75
23 - enum:
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_probe_helper.c2 * Copyright (c) 2006-2008 Intel Corporation
57 * track of a per-connector hpd interrupt.
68 module_param_named(poll, drm_kms_helper_poll, bool, 0600);
74 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag()
78 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag()
82 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag()
95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline()
120 &connector->display_info, in drm_mode_validate_pipeline()
150 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode()
151 if (!cmdline_mode->specified) in drm_helper_probe_add_cmdline_mode()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_probe_helper.c2 * Copyright (c) 2006-2008 Intel Corporation
56 * track of a per-connector hpd interrupt.
67 module_param_named(poll, drm_kms_helper_poll, bool, 0600);
73 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag()
77 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag()
81 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag()
94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline()
119 &connector->display_info, in drm_mode_validate_pipeline()
149 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode()
150 if (!cmdline_mode->specified) in drm_helper_probe_add_cmdline_mode()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dcros-ec-sbs.dtsi2 * Smart battery dts fragment for devices that use cros-ec-sbs
6 * This file is dual-licensed: you can use it either under the terms
46 battery: sbs-battery@b {
47 compatible = "sbs,sbs-battery";
49 sbs,i2c-retry-count = <2>;
50 sbs,poll-retry-count = <1>;
/kernel/linux/linux-6.6/arch/arm/boot/dts/
Dcros-ec-sbs.dtsi2 * Smart battery dts fragment for devices that use cros-ec-sbs
6 * This file is dual-licensed: you can use it either under the terms
46 battery: sbs-battery@b {
47 compatible = "sbs,sbs-battery";
49 sbs,i2c-retry-count = <2>;
50 sbs,poll-retry-count = <1>;
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Duserfaultfd.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * 1) one per-CPU thread takes a per-page pthread_mutex in a random
15 * area_src), and increments a per-page counter in the same page,
18 * 2) another per-CPU thread handles the userfaults generated by
19 * thread 1 above. userfaultfd blocking reads or poll() modes are
22 * 3) one last per-CPU thread transfers the memory in the background
32 * per-CPU threads 1 by triggering userfaults inside
47 #include <poll.h>
81 /* Whether to test uffd write-protection */
104 * count is placed in the page after pthread_mutex_t naturally aligned
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
10 - Doug Anderson <dianders@chromium.org>
11 - Peter Rosin <peda@axentia.se>
18 standard I2C multi-master rules. Using GPIOs is generally useful in the case
30 others can see. These are all active low with pull-ups enabled. We'll
47 6. Go back to 1 (until retry time has expired).
[all …]
Dgoogle,cros-ec-i2c-tunnel.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: I2C bus that tunnels through the ChromeOS EC (cros-ec)
11 - Doug Anderson <dianders@chromium.org>
12 - Benson Leung <bleung@chromium.org>
20 The node for this device should be under a cros-ec node like
21 google,cros-ec-spi or google,cros-ec-i2c.
24 - $ref: /schemas/i2c/i2c-controller.yaml#
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/apple/
Dmace.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * mace.h - definitions for the registers in the Am79C940 MACE
16 REG(xmtrc); /* transmit retry count */
19 REG(fifofc); /* FIFO frame count */
22 REG(pr); /* poll register */
36 REG(mpc); /* missed packet count (clears when read) */
38 REG(rntpc); /* runt packet count (clears when read) */
39 REG(rcvcc); /* recv collision count (clears when read) */
47 #define DRTRY 0x80 /* don't retry transmission after collision */
49 #define AUTO_PAD_XMIT 0x01 /* auto-pad short packets on transmission */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
Dmace.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * mace.h - definitions for the registers in the Am79C940 MACE
16 REG(xmtrc); /* transmit retry count */
19 REG(fifofc); /* FIFO frame count */
22 REG(pr); /* poll register */
36 REG(mpc); /* missed packet count (clears when read) */
38 REG(rntpc); /* runt packet count (clears when read) */
39 REG(rcvcc); /* recv collision count (clears when read) */
47 #define DRTRY 0x80 /* don't retry transmission after collision */
49 #define AUTO_PAD_XMIT 0x01 /* auto-pad short packets on transmission */
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0021_linux_drivers_hwmon.patch7 Change-Id: If793e9451c0d46dfd159c40fa40b5d0323b0b908
9 diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
11 --- a/drivers/hwmon/Kconfig
13 @@ -2123,4 +2123,11 @@ config SENSORS_ATK0110
25 diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
27 --- a/drivers/hwmon/Makefile
29 @@ -193,6 +193,7 @@ obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o
30 obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o
31 obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o
32 obj-$(CONFIG_SENSORS_XGENE) += xgene-hwmon.o
[all …]
/kernel/linux/linux-6.6/drivers/acpi/
Dacpi_dbg.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/poll.h>
28 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
32 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
34 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
150 * The usage count is prepared to avoid race conditions between the in acpi_aml_used()
209 ret = -EFAULT; in acpi_aml_lock_write()
213 ret = -EAGAIN; in acpi_aml_lock_write()
228 ret = -EFAULT; in acpi_aml_lock_read()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_dbg.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/poll.h>
28 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
32 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
34 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
157 * The usage count is prepared to avoid race conditions between the in acpi_aml_used()
216 ret = -EFAULT; in acpi_aml_lock_write()
220 ret = -EAGAIN; in acpi_aml_lock_write()
235 ret = -EFAULT; in acpi_aml_lock_read()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Dgoogle,cros-ec-i2c-tunnel.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: I2C bus that tunnels through the ChromeOS EC (cros-ec)
11 - Doug Anderson <dianders@chromium.org>
12 - Benson Leung <bleung@chromium.org>
13 - Enric Balletbo i Serra <enric.balletbo@collabora.com>
21 The node for this device should be under a cros-ec node like
22 google,cros-ec-spi or google,cros-ec-i2c.
[all …]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
Draw_mode.c1 // SPDX-License-Identifier: GPL-2.0
13 * little-endian format.
27 * originated from a test-suite and the normal operations of the SCMI drivers,
40 * `-- 0
41 * |-- atomic_threshold_us
42 * |-- instance_name
43 * |-- raw
44 * | |-- channels
45 * | | |-- 0x10
46 * | | | |-- message
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtxtimestamp.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - SCHED, SND and ACK timestamps
9 * - RAW, UDP and TCP
10 * - IPv4 and IPv6
11 * - various packet sizes (to test GSO and TSO)
17 * A simple `nc6 [-u] -l -p $DESTPORT` will do
38 #include <poll.h>
85 static int saved_tskey = -1;
86 static int saved_tskey_type = -1;
92 int count; member
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dtxtimestamp.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - SCHED, SND and ACK timestamps
9 * - RAW, UDP and TCP
10 * - IPv4 and IPv6
11 * - various packet sizes (to test GSO and TSO)
17 * A simple `nc6 [-u] -l -p $DESTPORT` will do
38 #include <poll.h>
85 static int saved_tskey = -1;
86 static int saved_tskey_type = -1;
92 int count; member
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v10.c47 mutex_lock(&adev->srbm_mutex); in lock_srbm()
54 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
60 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
61 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
136 /* TODO - RING0 form of field is obsolete, seems to date back to SI
146 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
147 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
166 mmSDMA0_RLC0_RB_CNTL) - mmSDMA0_RLC0_RB_CNTL, in get_sdma_rlc_reg_offset()
174 mmSDMA1_RLC0_RB_CNTL) - mmSDMA0_RLC0_RB_CNTL in get_sdma_rlc_reg_offset()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunqe.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */
45 /* The following registers are for per-qe channel information/status. */
59 #define CREG_PIPG 0x34UL /* Inter-Frame Gap */
74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */
79 #define CREG_STAT_RCCOFLOW 0x00001000 /* RX Coll-counter Overflow */
85 #define CREG_STAT_CECOFLOW 0x00000040 /* CRC Error-counter Overflow*/
115 #define CREG_MMASK_ERETRY 0x04000000 /* Excess retry */
121 #define CREG_MMASK_RXCOLL 0x00000400 /* RX Coll-Cntr overflow */
129 /* Per-channel AMD 79C940 MACE registers. */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
Dsunqe.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */
45 /* The following registers are for per-qe channel information/status. */
59 #define CREG_PIPG 0x34UL /* Inter-Frame Gap */
74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */
79 #define CREG_STAT_RCCOFLOW 0x00001000 /* RX Coll-counter Overflow */
85 #define CREG_STAT_CECOFLOW 0x00000040 /* CRC Error-counter Overflow*/
115 #define CREG_MMASK_ERETRY 0x04000000 /* Excess retry */
121 #define CREG_MMASK_RXCOLL 0x00000400 /* RX Coll-Cntr overflow */
129 /* Per-channel AMD 79C940 MACE registers. */
[all …]
/kernel/linux/linux-5.10/fs/kernfs/
Dfile.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * fs/kernfs/file.c - kernfs file implementation
5 * Copyright (c) 2001-3 Patrick Mochel
13 #include <linux/poll.h>
19 #include "kernfs-internal.h"
25 * kernfs_node->attr.open points to kernfs_open_node. attr.open is
28 * filp->private_data points to seq_file whose ->private points to
30 * kernfs_open_node->files, which is protected by kernfs_open_file_mutex.
38 wait_queue_head_t poll; member
57 return ((struct seq_file *)file->private_data)->private; in kernfs_of()
[all …]
/kernel/linux/linux-6.6/drivers/platform/chrome/
Dcros_ec_debugfs.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include <linux/poll.h>
20 #define DRV_NAME "cros-ec-debugfs"
26 #define CIRC_ADD(idx, size, value) (((idx) + (value)) & ((size) - 1))
32 * struct cros_ec_debugfs - EC debugging information.
39 * @log_poll_work: recurring task to poll EC for new console log data
67 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_console_log_work()
68 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_work()
70 .command = EC_CMD_CONSOLE_SNAPSHOT + ec->cmd_offset, in cros_ec_console_log_work()
74 (struct ec_params_console_read_v1 *)debug_info->read_msg->data; in cros_ec_console_log_work()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/
Dariadne.h4 * © Copyright 1995 by Geert Uytterhoeven (geert@linux-m68k.org)
8 * ----------------------------------------------------------------------------------
13 * Written 1993-94 by Donald Becker.
15 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller
22 * ----------------------------------------------------------------------------------
28 * ----------------------------------------------------------------------------------
30 * The Ariadne is a Zorro-II board made by Village Tronic. It contains:
32 * - an Am79C960 PCnet-ISA Single-Chip Ethernet Controller with both
33 * 10BASE-2 (thin coax) and 10BASE-T (UTP) connectors
35 * - an MC68230 Parallel Interface/Timer configured as 2 parallel ports
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Dariadne.h4 * © Copyright 1995 by Geert Uytterhoeven (geert@linux-m68k.org)
8 * ----------------------------------------------------------------------------------
13 * Written 1993-94 by Donald Becker.
15 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller
22 * ----------------------------------------------------------------------------------
28 * ----------------------------------------------------------------------------------
30 * The Ariadne is a Zorro-II board made by Village Tronic. It contains:
32 * - an Am79C960 PCnet-ISA Single-Chip Ethernet Controller with both
33 * 10BASE-2 (thin coax) and 10BASE-T (UTP) connectors
35 * - an MC68230 Parallel Interface/Timer configured as 2 parallel ports
[all …]

12345678910>>...26