/linux/tools/testing/kunit/ |
H A D | kunit_parser.py | 1 # SPDX-License-Identifier: GPL-2.0 4 # results with reader-friendly format. Stores and returns test results in a 14 import re 29 status : TestStatus - status of the test 30 name : str - name of the test 31 expected_count : int - expected number of subtests (0 if single 33 subtests : List[Test] - list of subtests 34 log : List[str] - lo [all...] |
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | p2p.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 10 #define P2P_WILDCARD_SSID "DIRECT-" 18 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen() 19 u8 channel = p2p->listen_chan.hw_value; in wil_p2p_start_listen() 22 lockdep_assert_held(&wil->mutex); in wil_p2p_start_listen() 42 INIT_WORK(&p2p->discovery_expired_work, wil_p2p_listen_expired); in wil_p2p_start_listen() 43 mod_timer(&p2p->discovery_timer, in wil_p2p_start_listen() 44 jiffies + msecs_to_jiffies(p2p->listen_duration)); in wil_p2p_start_listen() 55 return (request->n_channels == 1) && in wil_p2p_is_social_scan() [all …]
|
/linux/tools/workqueue/ |
H A D | wq_monitor.py | 12 infl The number of currently in-flight work items. 18 CPUitsv The number of times a concurrency-managed work item hogged CPU 23 CMW/RPR For per-cpu workqueues, the number of concurrency-management 24 wake-ups while executing a work item of the workqueue. For 26 to its affinity scope after being migrated to an off-scope CPU by 36 import re 48 parser.add_argument('-i', '--interval', metavar='SECS', type=float, default=1, 50 parser.add_argument('-j', '--json', action='store_true', 59 PWQ_STAT_STARTED = prog['PWQ_STAT_STARTED'] # work items started execution 63 PWQ_STAT_CM_WAKEUP = prog['PWQ_STAT_CM_WAKEUP'] # concurrency-management worker wakeups [all …]
|
/linux/drivers/soundwire/ |
H A D | intel_auxdevice.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 2 // Copyright(c) 2015-22 Intel Corporation. 32 * flags reused in each byte, with master0 using the ls-byte, etc. 77 if (slave->id.part_id == wake_capable_list[i].part_id && in is_wake_capable() 78 slave->id.mfg_id == wake_capable_list[i].mfg_id) in is_wake_capable() 89 if (sdw->link_res->hw_ops->bpt_send_async) in generic_bpt_send_async() 90 return sdw->link_res->hw_ops->bpt_send_async(sdw, slave, msg); in generic_bpt_send_async() 91 return -EOPNOTSUPP; in generic_bpt_send_async() 99 if (sdw->link_res->hw_ops->bpt_wait) in generic_bpt_wait() 100 return sdw->link_res->hw_ops->bpt_wait(sdw, slave, msg); in generic_bpt_wait() [all …]
|
/linux/drivers/net/ipa/ |
H A D | ipa_modem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 38 * struct ipa_priv - IPA network device private data 51 /** ipa_open() - Opens the modem network interface */ 55 struct ipa *ipa = priv->ipa; in ipa_open() 59 dev = ipa->dev; in ipa_open() 64 ret = ipa_endpoint_enable_one(priv->tx); in ipa_open() 68 ret = ipa_endpoint_enable_one(priv->rx); in ipa_open() 80 ipa_endpoint_disable_one(priv->tx); in ipa_open() [all …]
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2014-2019 Intel Corporation 58 * We need to know as early as possible if we're going to use GuC or not to 59 * take the correct setup paths. Additionally, once we've started loading the 67 * structures); if we hit such a problem during driver load we're broken even 71 * we're committed to using the microcontroller: 72 * - Not supported: not available in HW and/or firmware not defined. 73 * - Supported: available in HW and firmware defined. 74 * - Wanted: supported + enabled in modparam. 75 * - In use: wanted + firmware found on the system and successfully fetched. [all …]
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | internal.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 54 internal-api 63 Lower-level packet transport is implemented in the *packet transport layer 68 packet payloads to higher-level layers. 71 around command-type packet payloads, i.e. requests (sent from host to EC), 90 Refer to Documentation/driver-api/surface_aggregator/client.rst for 93 that chapter and the Documentation/driver-api/surface_aggregator/ssh.rst 104 ------- 153 ------------ 163 re-submitted to this queue due to timeouts or NAK packets sent by the EC. [all …]
|
/linux/arch/arm/mach-bcm/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2015 Broadcom Corporation 12 #include <linux/irqchip/irq-bcm2836.h> 34 #define OF_SECONDARY_BOOT "secondary-boot-reg" 41 * cores present. We assume we're running on a Cortex A9 processor, 54 return -ENXIO; in scu_a9_enable() 61 return -ENOENT; in scu_a9_enable() 68 return -ENOMEM; in scu_a9_enable() 106 return -EINVAL; in nsp_write_lut() 111 pr_warn("unable to ioremap SKU-ROM LUT register for cpu %u\n", cpu); in nsp_write_lut() [all …]
|
/linux/drivers/hwtracing/ptt/ |
H A D | hisi_ptt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 94 * struct hisi_ptt_tune_desc - Describe tune event for PTT tune 106 * struct hisi_ptt_dma_buffer - Describe a single trace buffer of PTT trace. 118 * struct hisi_ptt_trace_ctrl - Control and status of PTT trace 124 * @started: current trace status, true for started 125 * @is_port: whether we're tracing root port or not 136 bool started; member 154 * struct hisi_ptt_filter_desc - Descriptor of the PTT trace filter 170 * struct hisi_ptt_filter_update_info - Information for PTT filter updating 182 * struct hisi_ptt_pmu_buf - Descriptor of the AUX buffer of PTT trace [all …]
|
/linux/kernel/locking/ |
H A D | rtmutex_api.c | 1 // SPDX-License-Identifier: GPL-2.0-only 48 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common() 49 ret = __rt_mutex_lock(&lock->rtmutex, state); in __rt_mutex_lock_common() 51 mutex_release(&lock->dep_map, _RET_IP_); in __rt_mutex_lock_common() 63 * rt_mutex_lock_nested - lock a rt_mutex 83 * rt_mutex_lock - lock a rt_mutex 95 * rt_mutex_lock_interruptible - lock a rt_mutex interruptible 101 * -EINTR when interrupted by a signal 110 * rt_mutex_lock_killable - lock a rt_mutex killable 116 * -EINTR when interrupted by a signal [all …]
|
H A D | mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * started by Ingo Molnar: 28 * Bit0 indicates a non-empty waiter list; unlock must issue a wakeup. 29 * Bit1 indicates unlock needs to hand the lock to the top-waiter 30 * Bit2 indicates handoff has been done and we're waiting for pickup. 47 return (struct task_struct *)(atomic_long_read(&lock->owner) & ~MUTEX_FLAGS); in __mutex_owner()
|
/linux/Documentation/virt/kvm/x86/ |
H A D | running-nested-guests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 can be KVM-based or a different hypervisor). The straightforward 12 .----------------. .----------------. 17 |----------------'--'----------------| 22 .------------------------------------------------------. 25 |------------------------------------------------------| 27 '------------------------------------------------------' 31 - L0 – level-0; the bare metal host, running KVM 33 - L1 – level-1 guest; a VM running on L0; also called the "guest 36 - L2 – level-2 guest; a VM running on L1, this is the "nested guest" [all …]
|
/linux/Documentation/arch/arm/sa1100/ |
H A D | serial_uart.rst | 7 > Date: Sun, 24 Sep 2000 21:40:27 -0700 11 > Subject: Re: device 20 > 204 char Low-density serial ports 25 > 205 char Low-density serial ports (alternate device) 32 by your SA1100-based device:: 44 you might have a getty process started on ttyS0. 48 - replace occurrences of ttyS0 with ttySA0, ttyS1 with ttySA1, etc. 50 - don't forget to add 'ttySA0', 'console', or the appropriate tty name
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | tlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 - ARM Ltd 27 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in enter_vmid_context() 28 vcpu = host_ctxt->__hyp_running_vcpu; in enter_vmid_context() 29 cxt->mmu = NULL; in enter_vmid_context() 34 * - ensure that the page table updates are visible to all in enter_vmid_context() 35 * CPUs, for which a dsb(DOMAIN-st) is what we need, DOMAIN in enter_vmid_context() 39 * - complete any speculative page table walk started before in enter_vmid_context() 45 * Inner-Shareable and Non-Shareable, as specified by the in enter_vmid_context() 54 * If we're already in the desired context, then there's nothing to do. in enter_vmid_context() [all …]
|
/linux/Documentation/virt/kvm/s390/ |
H A D | s390-pv-dump.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 27 ------------ 52 time of the export does not matter as no re-encryption is 64 step completes successfully a new dump initiation can be started.
|
H A D | s390-pv-boot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 13 Documentation/virt/kvm/s390/s390-pv.rst for details." 15 On IPL (boot) a small plaintext bootloader is started, which provides 33 ------- 46 The new PV load-device-specific-parameters field specifies all data 52 * AES-XTS Tweak prefix 63 contain the guest content. All non-specified pages will start out as 73 non-clearing IPL subcodes are not allowed. 76 Re-IPL into a protected mode is only possible via a detour into non [all …]
|
/linux/Documentation/driver-api/md/ |
H A D | md-cluster.rst | 5 The cluster MD is a shared-device RAID for a cluster, it supports 9 1. On-disk format 12 Separate write-intent-bitmaps are used for each cluster node. 13 The bitmaps record all writes that may have been started on that node, 14 and may not yet have finished. The on-disk layout is:: 17 ------------------------------------------------------------------- 26 - set the appropriate bit (if not already set) 27 - commit the write to all mirrors 28 - schedule the bit to be cleared after a timeout. 41 ------------------------------------- [all …]
|
/linux/Documentation/livepatch/ |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
/linux/arch/arm64/kernel/ |
H A D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <asm/debug-monitors.h> 62 * PSTATE was not saved over suspend/resume, re-enable any detected in __cpu_suspend_exit() 86 /* Restore additional feature-specific configuration */ in __cpu_suspend_exit() 136 * resume if we're using pseudo-NMIs. in cpu_suspend() 150 * If the return value is set to 0 force ret = -EOPNOTSUPP in cpu_suspend() 154 ret = -EOPNOTSUPP; in cpu_suspend() 169 * reenabled if it was enabled when core started shutdown. in cpu_suspend() 183 return -ENOMEM; in cpu_suspend_init()
|
/linux/net/mac80211/ |
H A D | offchannel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Off-channel operation helpers 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 11 * Copyright (C) 2019, 2022-2025 Intel Corporation 16 #include "driver-ops.h" 21 * the frames while we are doing off-channel work. This is optional 22 * because we *may* be doing work on-operatin [all...] |
/linux/drivers/remoteproc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 54 This can be either built-in or a loadable module. 80 use-cases to run on your platform (multimedia codecs are 83 It's safe to say N here if you're not interested in multimedia 105 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed 111 tristate "DA8xx/OMAP-L13x remoteproc support" 115 Say y here to support DA8xx/OMAP-L13x remote processors via the 119 use-cases to run on your platform (multimedia codecs are 126 "rproc-dsp-fw". 128 It's safe to say n here if you're not interested in multimedia [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 At least one global system-wide transition needs to be carried out for the 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows 28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and 31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states 33 boils down to the platform-specific actions carried out by the suspend and 37 *platform-dependent suspend* states in what follows. 42 Suspend-to-idle Suspend Code Flow [all …]
|
/linux/arch/arc/include/asm/ |
H A D | mmu_context.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 6 * -Refactored get_new_mmu_context( ) to only handle live-mm. 7 * retiring-mm handled in other hooks 10 * -Major rewrite of Core ASID allocation routine get_new_mmu_context 21 #include <asm-generic/mm_hooks.h> 25 * MMU tags TLBs with an 8-bit ASID, avoiding need to flush the TLB on 26 * context-switch. 32 * Each task is assigned unique ASID, with a simple round-robin allocator 33 * tracked in @asid_cpu. When 8-bit value rolls over,a new cycle is started [all …]
|
/linux/fs/btrfs/ |
H A D | transaction.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "disk-io.h" 20 #include "tree-log.h" 22 #include "dev-replace.h" 24 #include "block-group.h" 25 #include "space-info.h" 28 #include "extent-tree.h" 29 #include "root-tree.h" 30 #include "dir-item.h" 31 #include "uuid-tree.h" [all …]
|
/linux/Documentation/staging/ |
H A D | crc32.rst | 5 A CRC is a long-division remainder. You add the CRC to the message, 11 protocols put the end-of-frame flag after the CRC. 15 - We're working in binary, so the digits are only 0 and 1, and 16 - When dividing polynomials, there are no carries. Rather than add and 21 To produce a 32-bit CRC, the divisor is actually a 33-bit CRC polynomial. 23 CRC is written in hex with the most significant bit omitted. (If you're 24 familiar with the IEEE 754 floating-point format, it's the same idea.) 28 the best error-detecting properties, this should correspond to the 29 order they're actually sent. For example, standard RS-232 serial is 30 little-endian; the most significant bit (sometimes used for parity) [all …]
|