/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
D | active-semi,act8945a-charger.yaml | 1 # 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-v6.1/drivers/staging/sm750fb/ |
D | ddk750_hwi2c.c | 1 // 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-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-pci-devices-aer_stats | 2 -------------------------- 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-v6.1/net/ipv4/ |
D | inetpeer.c | 2 * 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 */ 102 pp = &base->rb_root.rb_node; in lookup() [all …]
|
/Linux-v6.1/drivers/gpu/drm/tests/ |
D | drm_buddy_test.c | 1 // 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() 94 err = -EINVAL; in check_block() [all …]
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | ksm_tests.c | 1 // SPDX-License-Identifier: GPL-2.0 100 printf("usage: ksm_tests [-h] <test type> [-a prot] [-p page_count] [-l timeout]\n" in print_help() 101 "[-z use_zero_pages] [-m merge_across_nodes] [-s size]\n"); in print_help() 104 " -M (page merging)\n" in print_help() 105 " -Z (zero pages merging)\n" in print_help() 106 " -N (merging of pages in different NUMA nodes)\n" in print_help() 107 " -U (page unmerging)\n" in print_help() 108 " -P evaluate merging time and speed.\n" in print_help() 110 " must be provided using -s option\n" in print_help() 111 " -H evaluate merging time and speed of area allocated mostly with huge pages\n" in print_help() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | debug.h | 2 * 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-v6.1/fs/ceph/ |
D | quota.c | 1 // 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-v6.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 1 // SPDX-License-Identifier: GPL-2.0 50 fprintf(stderr, "Usage: mptcp_inq [-6] [ -t tcp|mptcp ] [ -r tcp|mptcp]\n"); in die_usage() 91 int sock = -1; in sock_listen_mptcp() 106 for (a = addr; a; a = a->ai_next) { in sock_listen_mptcp() 107 sock = socket(a->ai_family, a->ai_socktype, proto_rx); in sock_listen_mptcp() 111 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp() 115 if (bind(sock, a->ai_addr, a->ai_addrlen) == 0) in sock_listen_mptcp() 120 sock = -1; in sock_listen_mptcp() 142 int sock = -1; in sock_connect_mptcp() 147 for (a = addr; a; a = a->ai_next) { in sock_connect_mptcp() [all …]
|
/Linux-v6.1/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 1 // 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 …]
|
D | nft_zones_many.sh | 6 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 …]
|
/Linux-v6.1/include/linux/sunrpc/ |
D | xprt.h | 1 /* 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 …]
|
/Linux-v6.1/drivers/accessibility/speakup/ |
D | speakup_dtlk.c | 1 // 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 …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | pci.c | 2 * 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 = (struct ath5k_hw *) 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 = (struct ath5k_hw *) 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-v6.1/include/media/i2c/ |
D | lm3646.h | 1 /* 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-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf.c | 1 // 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 …]
|
/Linux-v6.1/include/uapi/linux/ |
D | auto_dev-ioctl.h | 1 /* 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-v6.1/tools/testing/selftests/kselftest/ |
D | runner.sh | 2 # 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 TR_CMD=$(command -v tr) 23 # If Perl is unavailable, we must fall back to line-at-a-time prefixing 27 if [ ! -x /usr/bin/perl ]; then 28 sed -e 's/^/# /' 37 if [ -x /usr/bin/timeout ] ; then 38 /usr/bin/timeout --foreground "$kselftest_timeout" $1 [all …]
|
/Linux-v6.1/fs/orangefs/ |
D | xattr.c | 1 // 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-v6.1/include/rdma/ |
D | rdmavt_qp.h | 1 /* 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 …]
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
D | intel_engine_types.h | 1 /* SPDX-License-Identifier: MIT */ 140 #define INVALID_ENGINE ((enum intel_engine_id)-1) 143 /* A simple estimator for the round-trip latency of an engine */ 152 * struct intel_engine_execlists - execlist submission queue and port state 173 * the timeout. This timeout maybe chosen based on the target, 174 * using a very short timeout if the context is no longer schedulable. 175 * That short timeout may not be applicable to other contexts, so 177 * timeout, we may shoot early at an innocent context. To prevent this, 179 * request and only reset that context upon the timeout. 189 * @yield: CCID at the time of the last semaphore-wait interrupt. [all …]
|
/Linux-v6.1/drivers/char/tpm/ |
D | tpm1-cmd.c | 1 // 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-v6.1/net/can/j1939/ |
D | j1939-priv.h | 1 /* 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-v6.1/drivers/char/ |
D | dtlk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- 3 * dtlk.c - DoubleTalk PC driver for Linux 8 * 2000-03-18 Jim Van Zandt: Fix polling. 20 The DoubleTalk PC contains four voice synthesizers: text-to-speech 40 This driver was written for use with the text-to-speech 57 #include <linux/errno.h> /* for -EBUSY */ 134 /* printk("DoubleTalk PC - dtlk_read()\n"); */ in dtlk_read() 137 return -EINVAL; in dtlk_read() 144 return -EFAULT; in dtlk_read() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | Kconfig.profile | 2 int "Default timeout for requests (ms)" 5 Configures the default timeout after which any user submissions will 10 misbehaving applications causing total rendering failure in unrelated 13 May be 0 to disable the timeout. 16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 21 make forward progress. This value specifies the timeout used for an 24 May be 0 to disable the timeout, and rely on the foreign fence being 35 that complements the runtime-pm autosuspend and provides a lower 46 check the health of the GPU and undertake regular house-keeping of 56 int "Preempt timeout (ms, jiffy granularity)" [all …]
|