Home
last modified time | relevance | path

Searched +full:total +full:- +full:timeout (Results 1 – 25 of 1043) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dact8945a-charger.txt1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device
4 - compatible: "active-semi,act8945a-charger".
5 - active-semi,chglev-gpios: charge current level phandle with args
7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle
9 - interrupts: <a b> where a is the interrupt number and b is a
14 - active-semi,input-voltage-threshold-microvolt: unit: mV;
15 Specifies the charger's input over-voltage threshold value;
17 - active-semi,precondition-timeout: unit: minutes;
21 - active-semi,total-timeout: unit: hours;
22 Specifies the charger's total safety timer setting value;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dactive-semi,act8945a-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8945A Charger Function
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: active-semi,act8945a-charger
22 active-semi,chglev-gpios:
26 active-semi,lbo-gpios:
[all …]
/kernel/linux/linux-6.6/drivers/staging/sm750fb/
Dddk750_hwi2c.c1 // SPDX-License-Identifier: GPL-2.0
58 unsigned int timeout; in hw_i2c_wait_tx_done() local
61 timeout = HWI2C_WAIT_TIMEOUT; in hw_i2c_wait_tx_done()
62 while (!(peek32(I2C_STATUS) & I2C_STATUS_TX) && (timeout != 0)) in hw_i2c_wait_tx_done()
63 timeout--; in hw_i2c_wait_tx_done()
65 if (timeout == 0) in hw_i2c_wait_tx_done()
66 return -1; in hw_i2c_wait_tx_done()
75 * addr - i2c Slave device address
76 * length - Total number of bytes to be written to the device
77 * buf - The buffer that contains the data to be written to the
[all …]
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dddk750_hwi2c.c1 // SPDX-License-Identifier: GPL-2.0
58 unsigned int timeout; in hw_i2c_wait_tx_done() local
61 timeout = HWI2C_WAIT_TIMEOUT; in hw_i2c_wait_tx_done()
62 while (!(peek32(I2C_STATUS) & I2C_STATUS_TX) && (timeout != 0)) in hw_i2c_wait_tx_done()
63 timeout--; in hw_i2c_wait_tx_done()
65 if (timeout == 0) in hw_i2c_wait_tx_done()
66 return -1; in hw_i2c_wait_tx_done()
75 * addr - i2c Slave device address
76 * length - Total number of bytes to be written to the device
77 * buf - The buffer that contains the data to be written to the
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-aer_stats2 --------------------------
15 Contact: linux-pci@vger.kernel.org, rajatja@google.com
20 total of all the errors in the file. Sample output::
27 Replay Timer Timeout 0
28 Advisory Non-Fatal 0
36 Contact: linux-pci@vger.kernel.org, rajatja@google.com
41 total of all the errors in the file. Sample output::
49 Completion Timeout 0
66 Contact: linux-pci@vger.kernel.org, rajatja@google.com
71 actual total of all the errors in the file. Sample output::
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-aer_stats2 --------------------------
15 Contact: linux-pci@vger.kernel.org, rajatja@google.com
20 total of all the errors in the file. Sample output::
27 Replay Timer Timeout 0
28 Advisory Non-Fatal 0
36 Contact: linux-pci@vger.kernel.org, rajatja@google.com
41 total of all the errors in the file. Sample output::
49 Completion Timeout 0
66 Contact: linux-pci@vger.kernel.org, rajatja@google.com
71 actual total of all the errors in the file. Sample output::
[all …]
/kernel/linux/build/test/moduletest/runtest/
Druntest9 # http://www.apache.org/licenses/LICENSE-2.0
22 # Authors: Ma Feng - mafeng.ma@huawei.com
24 # History: Mar 15 2022 - init scripts
75 …sh runtest compile [ -t test_lists ] [ -d sdk_dir ] [ -a arch ] [ -c cross_compile ] [ -k kernel_d…
76 -t testsuite name or a file of testsuites list
77 eg. -t ltp: compile single testsuite of ltp
78 eg. -t a.file: compile all testsuites in a.file
79 (missing -t means compile all testsuites)
80 -d sdk directory
81 -a arch for cross_compile, eg: arm or arm64
[all …]
/kernel/linux/linux-6.6/net/ipv4/
Dinetpeer.c2 * INETPEER - A storage for permanent information about peers
28 * We keep one entry for each peer IP address. The nodes contains long-living
33 * time has been passed since its last use. The less-recently-used entry can
34 * also be removed if the pool is overloaded i.e. if the total amount of
35 * entries is greater-or-equal than the threshold.
59 bp->rb_root = RB_ROOT; in inet_peer_base_init()
60 seqlock_init(&bp->lock); in inet_peer_base_init()
61 bp->total = 0; in inet_peer_base_init()
90 /* Called with rcu_read_lock() or base->lock held */
103 pp = &base->rb_root.rb_node; in lookup()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
Dksm_tests.c1 // SPDX-License-Identifier: GPL-2.0
160 printf("usage: ksm_tests [-h] <test type> [-a prot] [-p page_count] [-l timeout]\n" in print_help()
161 "[-z use_zero_pages] [-m merge_across_nodes] [-s size]\n"); in print_help()
164 " -M (page merging)\n" in print_help()
165 " -Z (zero pages merging)\n" in print_help()
166 " -N (merging of pages in different NUMA nodes)\n" in print_help()
167 " -U (page unmerging)\n" in print_help()
168 " -P evaluate merging time and speed.\n" in print_help()
170 " must be provided using -s option\n" in print_help()
171 " -H evaluate merging time and speed of area allocated mostly with huge pages\n" in print_help()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dinetpeer.c2 * INETPEER - A storage for permanent information about peers
28 * We keep one entry for each peer IP address. The nodes contains long-living
33 * time has been passed since its last use. The less-recently-used entry can
34 * also be removed if the pool is overloaded i.e. if the total amount of
35 * entries is greater-or-equal than the threshold.
59 bp->rb_root = RB_ROOT; in inet_peer_base_init()
60 seqlock_init(&bp->lock); in inet_peer_base_init()
61 bp->total = 0; in inet_peer_base_init()
82 * myself. --SAW in inet_initpeers()
97 /* Called with rcu_read_lock() or base->lock held */
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
Ddrm_buddy_test.c1 // SPDX-License-Identifier: MIT
16 #define TIMEOUT(name__) \ macro
27 static bool __timeout(unsigned long timeout, const char *fmt, ...) in __timeout() argument
33 if (time_before(jiffies, timeout)) in __timeout()
50 block->header, drm_buddy_block_state(block), in __dump_block()
52 drm_buddy_block_size(mm, block), !block->parent, buddy); in __dump_block()
81 err = -EINVAL; in check_block()
87 if (block_size < mm->chunk_size) { in check_block()
89 err = -EINVAL; in check_block()
92 /* We can't use is_power_of_2() for a u64 on 32-bit systems. */ in check_block()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Ddebug.h2 * Copyright (c) 2008-2011 Atheros Communications Inc.
28 #define TX_STAT_INC(sc, q, c) do { (sc)->debug.stats.txstats[q].c++; } while (0)
29 #define RX_STAT_INC(sc, c) do { (sc)->debug.stats.rxstats.c++; } while (0)
30 #define RESET_STAT_INC(sc, type) do { (sc)->debug.stats.reset[type]++; } while (0)
31 #define ANT_STAT_INC(sc, i, c) do { (sc)->debug.stats.ant_stats[i].c++; } while (0)
32 #define ANT_LNA_INC(sc, i, c) do { (sc)->debug.stats.ant_stats[i].lna_recv_cnt[c]++; } while (0)
61 * struct ath_interrupt_stats - Contains statistics about interrupts
62 * @total: Total no. of interrupts generated so far
76 * @cst: Carrier Sense TImeout
77 * @gtt: Global TX Timeout
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Ddebug.h2 * Copyright (c) 2008-2011 Atheros Communications Inc.
28 #define TX_STAT_INC(sc, q, c) do { (sc)->debug.stats.txstats[q].c++; } while (0)
29 #define RX_STAT_INC(sc, c) do { (sc)->debug.stats.rxstats.c++; } while (0)
30 #define RESET_STAT_INC(sc, type) do { (sc)->debug.stats.reset[type]++; } while (0)
31 #define ANT_STAT_INC(sc, i, c) do { (sc)->debug.stats.ant_stats[i].c++; } while (0)
32 #define ANT_LNA_INC(sc, i, c) do { (sc)->debug.stats.ant_stats[i].lna_recv_cnt[c]++; } while (0)
62 * struct ath_interrupt_stats - Contains statistics about interrupts
63 * @total: Total no. of interrupts generated so far
77 * @cst: Carrier Sense TImeout
78 * @gtt: Global TX Timeout
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dactive-semi,act8945a.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8945a regulator
10 - Paul Cercueil <paul@crapouillou.net>
14 const: active-semi,act8945a
19 system-power-controller:
25 active-semi,vsel-high:
42 vp1-supply:
[all …]
/kernel/linux/linux-6.6/fs/ceph/
Dquota.c1 // SPDX-License-Identifier: GPL-2.0
3 * quota.c - CephFS quota
5 * Copyright (C) 2017-2018 SUSE
15 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_adjust_quota_realms_count()
17 atomic64_inc(&mdsc->quotarealms_count); in ceph_adjust_quota_realms_count()
19 atomic64_dec(&mdsc->quotarealms_count); in ceph_adjust_quota_realms_count()
24 struct super_block *sb = inode->i_sb; in ceph_has_realms_with_quotas()
26 struct inode *root = d_inode(sb->s_root); in ceph_has_realms_with_quotas()
28 if (atomic64_read(&mdsc->quotarealms_count) > 0) in ceph_has_realms_with_quotas()
34 if (ceph_vino_is_reserved(ceph_inode(inode)->i_vino)) in ceph_has_realms_with_quotas()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c1 // SPDX-License-Identifier: GPL-2.0
51 fprintf(stderr, "Usage: mptcp_inq [-6] [ -t tcp|mptcp ] [ -r tcp|mptcp]\n"); in die_usage()
92 int sock = -1; in sock_listen_mptcp()
107 for (a = addr; a; a = a->ai_next) { in sock_listen_mptcp()
108 sock = socket(a->ai_family, a->ai_socktype, proto_rx); in sock_listen_mptcp()
112 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
116 if (bind(sock, a->ai_addr, a->ai_addrlen) == 0) in sock_listen_mptcp()
121 sock = -1; in sock_listen_mptcp()
143 int sock = -1; in sock_connect_mptcp()
148 for (a = addr; a; a = a->ai_next) { in sock_connect_mptcp()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/kselftest/
Drunner.sh2 # SPDX-License-Identifier: GPL-2.0
11 # "timeout" how many seconds to let each test run before running
12 # over our soft timeout limit.
15 # There isn't a shell-agnostic way to find the path of a sourced file,
17 if [ -z "$BASE_DIR" ]; then
22 TR_CMD=$(command -v tr)
24 # If Perl is unavailable, we must fall back to line-at-a-time prefixing
28 if [ ! -x /usr/bin/perl ]; then
29 sed -e 's/^/# /'
38 if [ -x /usr/bin/timeout ] ; then
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
Dnf-queue.c1 // SPDX-License-Identifier: GPL-2.0
23 unsigned int timeout; member
33 …printf("Usage: %s [-c|-v [-vv] ] [-t timeout] [-q queue_num] [-Qdst_queue ] [ -d ms_delay ] [-G]\n… in help()
41 /* skip unsupported attribute in user-space */ in parse_attr_cb()
88 id = ntohl(ph->packet_id); in queue_cb()
92 ntohs(ph->hw_protocol), ph->hook); in queue_cb()
94 if (ph->hook >= 5) { in queue_cb()
95 fprintf(stderr, "Unknown hook %d\n", ph->hook); in queue_cb()
114 queue_stats[ph->hook]++; in queue_cb()
130 nlh->nlmsg_type = (NFNL_SUBSYS_QUEUE << 8) | NFQNL_MSG_CONFIG; in nfq_build_cfg_request()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dnf-queue.c1 // SPDX-License-Identifier: GPL-2.0
23 unsigned int timeout; member
33 …printf("Usage: %s [-c|-v [-vv] ] [-t timeout] [-q queue_num] [-Qdst_queue ] [ -d ms_delay ] [-G]\n… in help()
41 /* skip unsupported attribute in user-space */ in parse_attr_cb()
88 id = ntohl(ph->packet_id); in queue_cb()
92 ntohs(ph->hw_protocol), ph->hook); in queue_cb()
94 if (ph->hook >= 5) { in queue_cb()
95 fprintf(stderr, "Unknown hook %d\n", ph->hook); in queue_cb()
114 queue_stats[ph->hook]++; in queue_cb()
130 nlh->nlmsg_type = (NFNL_SUBSYS_QUEUE << 8) | NFQNL_MSG_CONFIG; in nfq_build_cfg_request()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kselftest/
Drunner.sh2 # SPDX-License-Identifier: GPL-2.0
11 # "timeout" how many seconds to let each test run before failing.
14 # There isn't a shell-agnostic way to find the path of a sourced file,
16 if [ -z "$BASE_DIR" ]; then
21 # If Perl is unavailable, we must fall back to line-at-a-time prefixing
25 if [ ! -x /usr/bin/perl ]; then
26 sed -e 's/^/# /'
35 if [ -x /usr/bin/timeout ] ; then
36 /usr/bin/timeout --foreground "$kselftest_timeout" \
37 /usr/bin/timeout "$kselftest_timeout" $1
[all …]
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxprt.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT)
31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd)
34 * This describes a timeout strategy
37 unsigned long to_initval, /* initial timeout */
38 to_maxval, /* max timeout */
65 * This is the user-visible part
77 int rq_cong; /* has incremented xprt->cong */
96 size_t rq_xmit_bytes_sent; /* total bytes sent */
97 size_t rq_reply_bytes_recvd; /* total reply bytes */
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c1 // SPDX-License-Identifier: GPL-2.0
46 switch (s->seq) { in process_sample()
48 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
49 333L, s->value); in process_sample()
52 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
53 777L, s->value); in process_sample()
54 return -EDONE; in process_sample()
66 skel->bss->dropped = 0; in trigger_samples()
67 skel->bss->total = 0; in trigger_samples()
68 skel->bss->discarded = 0; in trigger_samples()
[all …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dspeakup_dtlk.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1998-99 Kirk Reiser.
42 { CAPS_STOP, .u.s = {"\x01-35p" } },
165 int timeout = SPK_XMITR_TIMEOUT; in spk_out() local
168 if (!--timeout) in spk_out()
173 timeout = SPK_XMITR_TIMEOUT; in spk_out()
175 if (!--timeout) in spk_out()
194 jiffy_delta_val = jiffy_delta->u.n.value; in do_catch_up()
202 synth->flush(synth); in do_catch_up()
211 delay_time_val = delay_time->u.n.value; in do_catch_up()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
Dintel_engine_types.h1 /* SPDX-License-Identifier: MIT */
61 #define VIRTUAL_ENGINES BIT(BITS_PER_TYPE(intel_engine_mask_t) - 1)
144 #define INVALID_ENGINE ((enum intel_engine_id)-1)
147 /* A simple estimator for the round-trip latency of an engine */
156 * struct intel_engine_execlists - execlist submission queue and port state
177 * the timeout. This timeout maybe chosen based on the target,
178 * using a very short timeout if the context is no longer schedulable.
179 * That short timeout may not be applicable to other contexts, so
181 * timeout, we may shoot early at an innocent context. To prevent this,
183 * request and only reset that context upon the timeout.
[all …]
/kernel/linux/linux-6.6/include/linux/sunrpc/
Dxprt.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT)
31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd)
34 * This describes a timeout strategy
37 unsigned long to_initval, /* initial timeout */
38 to_maxval, /* max timeout */
66 * This is the user-visible part
78 int rq_cong; /* has incremented xprt->cong */
97 size_t rq_xmit_bytes_sent; /* total bytes sent */
98 size_t rq_reply_bytes_recvd; /* total reply bytes */
[all …]

12345678910>>...42