Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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()
90 /* Called with rcu_read_lock() or base->lock held */
103 pp = &base->rb_root.rb_node; in lookup()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/gpu/drm/tests/
H A 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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/pldm/requester/test/
H A Drequest_test.cpp26 * for the timeout time.
28 * @param[in] timeout - maximum time to wait for an event
30 void waitEventExpiry(milliseconds timeout) in waitEventExpiry() argument
34 auto sleepTime = duration_cast<microseconds>(timeout); in waitEventExpiry()
35 // Returns 0 on timeout in waitEventExpiry()
66 // send() is called a total of 3 times, the original plus two retries
78 // send() will be called a total of 10 times, the original plus 9 retries.
80 // the timer is stopped) with a timeout of 100ms. Because there are delays
/openbmc/linux/tools/testing/selftests/kselftest/
H A 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 …]
/openbmc/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 …]
/openbmc/linux/tools/testing/selftests/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.sh6 sfx=$(mktemp -u "XXXXXXXX")
7 ns="ns-$sfx"
9 # Kselftest framework requirement - SKIP code is 4.
28 checktool "nft --version" "run test without nft tool"
29 checktool "ip -Version" "run test without ip tool"
30 checktool "socat -V" "run test without socat tool"
35 conntrack -V > /dev/null 2>&1
36 if [ $? -eq 0 ];then
40 ip -net "$ns" link set lo up
45 ip netns exec $ns sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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)
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 …]
/openbmc/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 */
59 struct ath5k_hw *ah = (struct ath5k_hw *) common->priv; in ath5k_pci_read_cachesize()
62 pci_read_config_byte(ah->pdev, PCI_CACHE_LINE_SIZE, &u8tmp); in ath5k_pci_read_cachesize()
81 struct ath5k_hw *ah = (struct ath5k_hw *) common->ah; in ath5k_pci_eeprom_read()
82 u32 status, timeout; in ath5k_pci_eeprom_read() local
87 if (ah->ah_version == AR5K_AR5210) { in ath5k_pci_eeprom_read()
96 for (timeout = AR5K_TUNE_REGISTER_TIMEOUT; timeout > 0; timeout--) { in ath5k_pci_eeprom_read()
[all …]
/openbmc/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 …]
/openbmc/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 */
H A Dtcp.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
63 * This means this part of the code is -fstrict-aliasing safe now.
70 #define tcp_flag_word(tp) (((union tcp_word_hdr *)(tp))->words[3])
99 #define TCP_LINGER2 8 /* Life time of orphaned FIN-WAIT-2 state */
108 #define TCP_USER_TIMEOUT 18 /* How long for loss retry before timeout */
135 #define TCP_REPAIR_OFF_NO_WP -1 /* Turn off without window probes */
160 TFO_STATUS_UNSPEC, /* catch-all */
162 TFO_DATA_NOT_ACKED, /* SYN-ACK did not ack SYN data */
163 TFO_SYN_RETRANSMITTED, /* SYN-ACK did not ack SYN data after timeout */
172 #define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c1 // SPDX-License-Identifier: GPL-2.0
47 switch (s->seq) { in process_sample()
49 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
50 333L, s->value); in process_sample()
53 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
54 777L, s->value); in process_sample()
55 return -EDONE; in process_sample()
68 skel->bss->dropped = 0; in trigger_samples()
69 skel->bss->total = 0; in trigger_samples()
70 skel->bss->discarded = 0; in trigger_samples()
[all …]
/openbmc/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>
54 #define RVT_AIP_QP_MAX (u32)(RVT_AIP_QP_BASE + RVT_AIP_QPN_MAX - 1)
59 * RVT_S_SIGNAL_REQ_WR - set if QP send WRs contain completion signaled
60 * RVT_S_BUSY - send tasklet is processing the QP
61 * RVT_S_TIMER - the RC retry timer is active
62 * RVT_S_ACK_PENDING - an ACK is waiting to be sent after RDMA read/atomics
63 * RVT_S_WAIT_FENCE - waiting for all prior RDMA read or atomic SWQEs
65 * RVT_S_WAIT_RDMAR - waiting for a RDMA read or atomic SWQE to complete
[all …]
/openbmc/intel-ipmi-oem/include/
H A Dsmbiosmdrv2handler.hpp8 // http://www.apache.org/licenses/LICENSE-2.0
28 1024 * 60; // Total size will transfer for smbios table
58 1024 * 1024; // Total size of VGA share memory
60 64 * 1024; // Total size of smbios table
63 static constexpr const int lastAgentIndex = -1;
183 uint16_t timeout; member
204 uint16_t timeout; member
275 uint16_t timeout);

12345678910>>...42