Home
last modified time | relevance | path

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

12345678910>>...37

/linux/Documentation/devicetree/bindings/power/supply/
H A 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 …]
/linux/drivers/staging/sm750fb/
H A 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 …]
/linux/Documentation/ABI/testing/
H A 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 …]
/linux/net/ipv4/
H A 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()
87 /* Called with rcu_read_lock() or base->lock held */
99 pp = &base->rb_root.rb_node; in lookup()
[all …]
/linux/tools/testing/selftests/mm/
H A 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 …]
/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
/linux/Documentation/devicetree/bindings/regulator/
H A 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 …]
/linux/fs/ceph/
H A 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 …]
/linux/tools/testing/selftests/net/mptcp/
H A 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 …]
/linux/tools/testing/selftests/net/netfilter/
H A 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 …]
H A Dnft_zones_many.sh19 checktool "nft --version" "run test without nft tool"
20 checktool "socat -V" "run test without socat tool"
26 if conntrack -V > /dev/null 2>&1; then
33 ip netns exec "$ns1" nft -f /dev/stdin<<EOF
41 type filter hook output priority -64000; policy accept;
46 if [ "$?" -ne 0 ];then
51 ip netns exec "$ns1" sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
56 echo -n "$i : $i"
57 if [ "$i" -lt "$max_zones" ]; then
63 ) | ip netns exec "$ns1" nft -f /dev/stdin
[all …]
/linux/tools/testing/selftests/kselftest/
H A Drunner.sh2 # SPDX-License-Identifier: GPL-2.0
12 # "timeout" how many seconds to let each test run before running
13 # over our soft timeout limit.
16 # There isn't a shell-agnostic way to find the path of a sourced file,
18 if [ -z "$BASE_DIR" ]; then
23 TR_CMD=$(command -v tr)
25 # If Perl is unavailable, we must fall back to line-at-a-time prefixing
29 if [ ! -x /usr/bin/perl ]; then
30 sed -e 's/^/# /'
39 if [ -x /usr/bin/timeout ] ; then
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dpci.c2 * Copyright (c) 2008-2009 Atheros Communications Inc.
33 { PCI_VDEVICE(ATHEROS, 0x0011) }, /* 5311 - this is on AHB bus !*/
45 { PCI_VDEVICE(ATHEROS, 0x001a) }, /* 2413 Griffin-lite */
47 { PCI_VDEVICE(ATHEROS, 0x001c) }, /* PCI-E cards */
57 struct ath5k_hw *ah = common->priv; in ath5k_pci_read_cachesize()
60 pci_read_config_byte(ah->pdev, PCI_CACHE_LINE_SIZE, &u8tmp); in ath5k_pci_read_cachesize()
79 struct ath5k_hw *ah = common->ah; in ath5k_pci_eeprom_read()
80 u32 status, timeout; in ath5k_pci_eeprom_read() local
85 if (ah->ah_version == AR5K_AR5210) { in ath5k_pci_eeprom_read()
94 for (timeout = AR5K_TUNE_REGISTER_TIMEOUT; timeout > 0; timeout--) { in ath5k_pci_eeprom_read()
[all …]
/linux/include/media/i2c/
H A Dlm3646.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * Ldd-Mlp <ldd-mlp@list.ti.com>
14 #include <media/v4l2-subdev.h>
20 /* TOTAL FLASH Brightness Max
28 ((((a) - LM3646_TOTAL_FLASH_BRT_MIN) / LM3646_TOTAL_FLASH_BRT_STEP)))
30 /* TOTAL TORCH Brightness Max
38 ((((a) - LM3646_TOTAL_TORCH_BRT_MIN) / LM3646_TOTAL_TORCH_BRT_STEP)))
48 ((((a) - LM3646_LED1_FLASH_BRT_MIN) / LM3646_LED1_FLASH_BRT_STEP))+1)
58 ((((a) - LM3646_LED1_TORCH_BRT_MIN) / LM3646_LED1_TORCH_BRT_STEP))+1)
60 /* FLASH TIMEOUT DURATION
[all …]
/linux/include/uapi/linux/
H A Dauto_dev-ioctl.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
54 __u64 timeout; member
84 * When sending a path size must account for the total length
92 __u32 size; /* total size of data passed in
105 struct args_timeout timeout; member
118 in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in init_autofs_dev_ioctl()
119 in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in init_autofs_dev_ioctl()
120 in->size = AUTOFS_DEV_IOCTL_SIZE; in init_autofs_dev_ioctl()
121 in->ioctlfd = -1; in init_autofs_dev_ioctl()
144 /* Expiry timeout */
/linux/drivers/accessibility/speakup/
H A Dspeakup_dtlk.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1998-99 Kirk Reiser.
52 [CAPS_STOP_ID] = { CAPS_STOP, .u.s = {"\x01-35p" } },
175 int timeout = SPK_XMITR_TIMEOUT; in spk_out() local
178 if (!--timeout) in spk_out()
183 timeout = SPK_XMITR_TIMEOUT; in spk_out()
185 if (!--timeout) in spk_out()
204 jiffy_delta_val = jiffy_delta->u.n.value; in do_catch_up()
212 synth->flush(synth); in do_catch_up()
221 delay_time_val = delay_time->u.n.value; in do_catch_up()
[all …]
/linux/fs/orangefs/
H A Dxattr.c1 // SPDX-License-Identifier: GPL-2.0
6 * See COPYING in top-level directory.
14 #include "orangefs-kernel.h"
15 #include "orangefs-bufmap.h"
69 h = &orangefs_inode->xattr_cache[xattr_key(key)]; in find_cached_xattr()
73 /* if (!time_before(jiffies, cx->timeout)) { in find_cached_xattr()
74 hlist_del(&cx->node); in find_cached_xattr()
78 if (!strcmp(cx->key, key)) in find_cached_xattr()
86 * file into a user-specified buffer. Note that the getxattr
99 ssize_t ret = -ENOMEM; in orangefs_inode_getxattr()
[all …]
/linux/tools/testing/selftests/alsa/
H A Dglobal-timer.c1 // SPDX-License-Identifier: GPL-2.0
5 * (which is set by `timeout` parameter).
21 static void bind_to_timer(int device, int subdevice, int timeout) in bind_to_timer() argument
51 end = time(NULL) + timeout; in bind_to_timer()
59 * Waiting for the timeout to elapse. Can't use sleep here, as it gets in bind_to_timer()
69 int device, subdevice, timeout; in main() local
72 perror("Usage: %s <device> <subdevice> <timeout>"); in main()
80 timeout = atoi(argv[3]); in main()
82 bind_to_timer(device, subdevice, timeout); in main()
84 printf("Total ticks count: %d\n", ticked); in main()
/linux/include/rdma/
H A Drdmavt_qp.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2016 - 2020 Intel Corporation.
13 #include <rdma/rvt-abi.h>
55 #define RVT_AIP_QP_MAX (u32)(RVT_AIP_QP_BASE + RVT_AIP_QPN_MAX - 1)
60 * RVT_S_SIGNAL_REQ_WR - set if QP send WRs contain completion signaled
61 * RVT_S_BUSY - sen
356 u8 timeout; /* Timeout for this QP */ global() member
682 rvt_timeout_to_jiffies(u8 timeout) rvt_timeout_to_jiffies() argument
[all...]
/linux/lib/
H A Dtest_objpool.c1 // SPDX-License-Identifier: GPL-2.0
61 /* per-cpu worker */
90 atomic_long_add(size, &test->data.kmalloc.alloc); in ot_kzalloc()
98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree()
106 pr_info("memory allocation summary for %s\n", test->name); in ot_mem_report()
108 alloc = atomic_long_read(&test->data.kmalloc.alloc); in ot_mem_report()
109 free = atomic_long_read(&test->data.kmalloc.free); in ot_mem_report()
110 pr_info(" kmalloc: %lu - %lu = %lu\n", alloc, free, alloc - free); in ot_mem_report()
112 alloc = atomic_long_read(&test->data.vmalloc.alloc); in ot_mem_report()
113 free = atomic_long_read(&test->data.vmalloc.free); in ot_mem_report()
[all …]
/linux/include/linux/sunrpc/
H A 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)
56 * This is the user-visible part
68 int rq_cong; /* has incremented xprt->cong */
87 size_t rq_xmit_bytes_sent; /* total bytes sent */
88 size_t rq_reply_bytes_recvd; /* total reply bytes */
94 unsigned long rq_majortimeo; /* major timeout alarm */
95 unsigned long rq_minortimeo; /* minor timeout alarm */
96 unsigned long rq_timeout; /* Current timeout value */
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A 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 …]
/linux/drivers/char/tpm/
H A Dtpm1-cmd.c1 // SPDX-License-Identifier: GPL-2.0
282 * tpm1_calc_ordinal_duration() - calculate the maximum command duration
304 duration = chip->duration[duration_idx]; in tpm1_calc_ordinal_duration()
315 * tpm1_startup() - turn on the TPM
329 dev_info(&chip->dev, "starting up the TPM manually\n"); in tpm1_startup()
350 sizeof(cap.timeout)); in tpm1_get_timeouts()
357 sizeof(cap.timeout)); in tpm1_get_timeouts()
361 dev_err(&chip->dev, "A TPM error (%zd) occurred attempting to determine the timeouts\n", in tpm1_get_timeouts()
366 timeout_old[0] = jiffies_to_usecs(chip->timeout_a); in tpm1_get_timeouts()
367 timeout_old[1] = jiffies_to_usecs(chip->timeout_b); in tpm1_get_timeouts()
[all …]
/linux/net/can/j1939/
H A Dj1939-priv.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (c) 2010-2011 EIA Electronics,
4 // Copyright (c) 2017-2019 Pengutronix,
5 // Marc Kleine-Budde <kernel@pengutronix.de>
6 // Copyright (c) 2017-2019 Pengutronix,
15 /* Timeout to receive the abort signal over loop back. In case CAN
16 * bus is open, the timeout should be triggered.
178 BUILD_BUG_ON(sizeof(struct j1939_sk_buff_cb) > sizeof(skb->cb)); in j1939_skb_to_cb()
180 return (struct j1939_sk_buff_cb *)skb->cb; in j1939_skb_to_cb()
246 * 'total' & 'block' are never changed,
[all …]
/linux/include/net/bluetooth/
H A Dcoredump.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 /* struct hci_devcoredump - Devcoredump state
19 * @timeout: Indicates a timeout for collecting the devcoredump
21 * @alloc_size: Total size of the dump
28 * @dump_timeout: Devcoredump timeout work
45 unsigned long timeout; member
85 return -EOPNOTSUPP; in hci_devcd_register()
90 return -EOPNOTSUPP; in hci_devcd_init()
95 return -EOPNOTSUPP; in hci_devcd_append()
101 return -EOPNOTSUPP; in hci_devcd_append_pattern()
[all …]

12345678910>>...37