| /linux/drivers/md/dm-vdo/ |
| H A D | action-manager.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include "admin-state.h" 13 * An action_manager provides a generic mechanism for applying actions to multi-zone entities (such 14 * as the block map or slab depot). Each action manager is tied to a specific context for which it 15 * manages actions. The manager ensures that only one action is active on that context at a time, 28 * an optional method to be run on the initiator thread once the per-zone method has been 38 * @context: The object which holds the per-zone context for the action 42 typedef void (*vdo_zone_action_fn)(void *context, zone_count_t zone_number, 48 * @context: The object which holds the per-zone context for the action 51 typedef void (*vdo_action_preamble_fn)(void *context, struct vdo_completion *parent); [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_wrapper_fpu.c | 1 // SPDX-License-Identifier: MIT 17 #define INVALID -1 23 dml_ctx->config = *config; in dml21_populate_configuration_options() 25 /* UCLK P-State options */ in dml21_populate_configuration_options() 26 if (in_dc->debug.dml21_force_pstate_method) { in dml21_populate_configuration_options() 27 dml_ctx->config.pmo.force_pstate_method_enable = true; in dml21_populate_configuration_options() 29 …dml_ctx->config.pmo.force_pstate_method_values[i] = in_dc->debug.dml21_force_pstate_method_values[… in dml21_populate_configuration_options() 31 dml_ctx->config.pmo.force_pstate_method_enable = false; in dml21_populate_configuration_options() 37 dml_ctx->architecture = dml2_architecture_21; in dml21_init() 41 dml21_populate_dml_init_params(&dml_ctx->v21.dml_init, &dml_ctx->config, in_dc); in dml21_init() [all …]
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_config.c | 5 * Copyright (C) 2012-2014 LSI Corporation 6 * Copyright (C) 2013-2014 Avago Technologies 7 * (mailto: MPT-FusionLinux.pdl@avagotech.com) 22 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 41 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 74 * struct config_request - obtain dma memory via routine 87 * _config_display_some_debug - debug routine 88 * @ioc: per adapter object 92 * Context: none. 105 switch (mpi_request->Header.PageType & MPI2_CONFIG_PAGETYPE_MASK) { in _config_display_some_debug() [all …]
|
| /linux/tools/perf/pmu-events/ |
| H A D | amd_metrics.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 23 def Total() -> MetricGroup: 37 "The number of branch instructions retired per second.", br_r, 48 "The number of resync branches per second.", clr_r, "req/s") 51 def Taken() -> MetricGroup: 59 "The number of taken branches that were retired per second.", 72 def Conditional() -> Optional[MetricGroup]: 96 def Fused() -> MetricGroup: 102 "Retired fused branch instructions per second.", br_r, "insn/s"), 109 def Far() -> MetricGroup: [all …]
|
| H A D | intel_metrics.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 20 def Idle() -> Metric: 23 low = max(tsc - cyc, 0) 30 def Rapl() -> MetricGroup: 36 pkg = Event("power/energy\\-pkg/") 38 cores = Event("power/energy\\-cores/") 40 ram = Event("power/energy\\-ram/") 42 gpu = Event("power/energy\\-gpu/") 44 psys = Event("power/energy\\-psys/") 46 scale = 2.3283064365386962890625e-10 [all …]
|
| /linux/Documentation/core-api/ |
| H A D | local_ops.rst | 29 Local atomic operations are meant to provide fast and highly reentrant per CPU 34 Having fast per CPU atomic counters is interesting in many cases: it does not 41 CPU writes to the ``local_t`` data. This is done by using per cpu data and 42 making sure that we modify it from within a preemption safe context. It is 54 ``asm-generic/local.h`` in your architecture's ``local.h`` is sufficient. 66 * Variables touched by local ops must be per cpu variables. 68 * This CPU can use local ops from any context (process, irq, softirq, nmi, ...) 71 process context to make sure the process won't be migrated to a 72 different CPU between getting the per-cpu variable and doing the 74 * When using local ops in interrupt context, no special care must be [all …]
|
| /linux/Documentation/userspace-api/ |
| H A D | unshare.rst | 10 ---------- 14 -------- 26 ----------- 37 outside the confinement of all-or-nothing shared resources of legacy 45 Al Viro in the August of 2000, on the Linux-Kernel mailing list, as part 53 ----------- 59 even non-threaded applications if they have a need to disassociate 60 from default shared namespace. The following lists two use-cases 63 2.1 Per-security context namespaces 67 the kernel's per-process namespace mechanism. Polyinstantiated directories, [all …]
|
| /linux/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2015-2016 MediaTek Inc. 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-mem2mem.h> 15 #include <media/videobuf2-core.h> 16 #include <media/videobuf2-dma-contig.h> 22 #define MTK_MDP_MODULE_NAME "mtk-mdp" 34 * struct mtk_mdp_pix_align - alignment of image 48 * struct mtk_mdp_fmt - the driver's internal color format data [all …]
|
| /linux/Documentation/mm/ |
| H A D | page_frags.rst | 5 A page fragment is an arbitrary-length arbitrary-offset area of memory 13 memory for use as either an sk_buff->head, or to be used in the "frags" 22 either a per-cpu limitation, or a per-cpu limitation and forcing interrupts 25 The network stack uses two separate caches per CPU to handle fragment 29 main difference between these two calls is the context in which they may be 30 called. The "netdev" prefixed functions are usable in any context as these 32 only usable within the softirq context. 41 avoid calling get_page per allocation.
|
| /linux/tools/perf/pmu-events/arch/common/common/ |
| H A D | metrics.json | 4 "MetricExpr": "(software@cpu\\-clock\\,name\\=cpu\\-clock@ if #target_cpu else software@task\\-clock\\,name\\=task\\-clock@) / (duration_time * 1e9)", 12 "BriefDescription": "Context switches per CPU second", 13 "MetricExpr": "(software@context\\-switches\\,name\\=context\\-switche [all...] |
| H A D | software.json | 4 "EventName": "cpu-clock", 5 "BriefDescription": "Per-CPU high-resolution timer based event", 7 "ScaleUnit": "1e-6msec" 11 "EventName": "task-clock", 12 "BriefDescription": "Per-task high-resolution timer based event", 14 "ScaleUnit": "1e-6msec" 19 "BriefDescription": "Number of page faults [This event is an alias of page-faults]", 24 "EventName": "page-faults", 30 "EventName": "context-switches", 31 "BriefDescription": "Number of context switches [This event is an alias of cs]", [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_cxt.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 31 * qed_cxt_get_cid_info(): Returns the context info for a specific cidi. 96 * qed_cxt_mngr_alloc(): Allocate and init the context manager struct. 105 * qed_cxt_mngr_free() - Context manager free. 130 * qed_cxt_hw_init_common(): Initailze ILT and DQ, common phase, per path. 139 * qed_cxt_hw_init_pf(): Initailze ILT and DQ, PF phase, per path. 149 * qed_qm_init_pf(): Initailze the QM PF phase, per path. 183 * _qed_cxt_release_cid(): Release a cid belonging to a vf-queue. [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/encoder/ |
| H A D | venc_drv_if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * enum venc_yuv_fmt - The type of input yuv format 30 * enum venc_start_opt - encode frame option used in venc_if_encode() 40 * enum venc_set_param_type - The type of set parameter used in 66 * struct venc_enc_prm - encoder settings for VENC_SET_PARAM_ENC used in 95 * struct venc_frame_info - per-frame information to pass to the firmware. 102 unsigned int frm_count; /* per frame update */ 103 unsigned int skip_frm_count; /* per frame update */ 104 unsigned int frm_type; /* per frame update */ 108 * struct venc_frm_buf - frame buffer information used in venc_if_encode() [all …]
|
| /linux/sound/virtio/ |
| H A D | virtio_chmap.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * virtio-snd: Virtio sound device 10 /* VirtIO->ALSA channel position map */ 52 * virtsnd_chmap_parse_cfg() - Parse the channel map configuration. 57 * Context: Any context that permits to sleep. 58 * Return: 0 on success, -errno on failure. 62 struct virtio_device *vdev = snd->vdev; in virtsnd_chmap_parse_cfg() 66 virtio_cread_le(vdev, struct virtio_snd_config, chmaps, &snd->nchmaps); in virtsnd_chmap_parse_cfg() 67 if (!snd->nchmaps) in virtsnd_chmap_parse_cfg() 70 snd->chmaps = devm_kcalloc(&vdev->dev, snd->nchmaps, in virtsnd_chmap_parse_cfg() [all …]
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | vas.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2016-17 IBM Corp. 36 * Hypervisor Window Context (HVWC) of size VAS_HVWC_SIZE bytes 38 * OS/User Window Context (UWC) of size VAS_UWC_SIZE bytes. 40 * A window context can be viewed as a set of 64-bit registers. The settings 56 * /proc/device-tree/vasm@.../reg 69 * As mentioned, a window context is used to "configure" a window. Besides 79 * (again, see vas_probe() for ->paste_base_addr and ->paste_win_id_shift). 85 * NOTE: In the initial version, senders can only in-kernel drivers/threads. 86 * Support for user space threads will be added in follow-on patches. [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | pio.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright(c) 2015-2017 Intel Corporation. 8 /* send context types */ 13 #define SC_MAX 4 /* count of send context types */ 15 /* invalid send context index */ 21 /* PIO release codes - in bits, as there could more than one that apply */ 28 #define PRC_SC_DISABLE 0x20 /* clean-up after a context disable */ 39 struct send_context *sc;/* back pointer to owning send context */ 43 void __iomem *end; /* context end address */ 55 /* per-NUMA send context */ [all …]
|
| /linux/Documentation/timers/ |
| H A D | highres.rst | 8 https://www.kernel.org/doc/ols/2006/ols2006v1-pages-333-346.pdf 11 http://www.cs.columbia.edu/~nahum/w6998/papers/ols2006-hrtimers-slides.pdf 23 - hrtimer base infrastructure 24 - timeofday and clock source management 25 - clock event management 26 - high resolution timer functionality 27 - dynamic ticks 31 --------------------------- 40 - time ordered enqueueing into a rb-tree 41 - independent of ticks (the processing is based on nanoseconds) [all …]
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gpu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include <linux/adreno-smmu-priv.h> 116 * struct msm_gpu_devfreq - devfreq related state 149 * Used to delay clamping to idle freq on active->idle transition. 198 * TODO move to per-ring locking where feasible (ie. submit/retire 251 /* work for handling active-list retiring: */ 272 * switch-over happened early enough in mesa a6xx bringup that we 293 struct adreno_smmu_priv *adreno_smmu = dev_get_drvdata(&gpu->pdev->dev); in adreno_smmu_has_prr() 298 return adreno_smmu && adreno_smmu->set_prr_addr; in adreno_smmu_has_prr() 313 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active() [all …]
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc. 6 * Copyright (c) 2010, ST-Ericsson 38 for (i = 0; symbol_array[i].mask != -1; i++) { in get_symbol() 64 struct wfx_dev *wdev = seq->private; in wfx_counters_show() 72 return -EIO; in wfx_counters_show() 75 seq_printf(seq, "%-24s %12s %12s %12s\n", "", "global", "iface 0", "iface 1"); in wfx_counters_show() 78 seq_printf(seq, "%-24s %12d %12d %12d\n", #name, \ in wfx_counters_show() 153 struct wfx_dev *wdev = seq->private; in wfx_rx_stats_show() 154 struct wfx_hif_rx_stats *st = &wdev->rx_stats; in wfx_rx_stats_show() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
| H A D | gpc.fuc | 27 * - bracket certain functions with scratch writes, useful for debugging 28 * - watchdog timer around ctx operations 116 // CC_SCRATCH[1]: context base 122 // 31:0: GPC context size 188 // initialise context base, and size tracking 190 clear b32 $r3 // track GPC context size here 198 // calculate GPC mmio context size 205 // calculate per-TPC mmio context size 215 // calculate per-UNK mmio context size 235 // calculate size of strand context data [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_mocs.h | 1 /* SPDX-License-Identifier: MIT */ 14 * part of the batch. In Gen9 this has changed to be a single table (per ring) 19 * in context (The GFX_MOCS_0 - GFX_MOCS_64 and the LNCFCMOCS0 - LNCFCMOCS32 22 * This table needs to be set at system start-up because the way the table 28 * The tables (one per supported platform) are defined in intel_mocs.c 29 * and are programmed in the first batch after the context is loaded 31 * context handling keep the MOCS in step.
|
| /linux/Documentation/admin-guide/ |
| H A D | perf-security.rst | 7 -------- 29 3. Content of kernel software counters (e.g., for context switches, page 34 uncore counters) without direct attribution to any execution context 37 4. Content of architectural execution context registers (e.g., RIP, RSP, 44 of execution context registers or data from process memory then access 50 ------------------------------- 66 independently enabled and disabled on per-thread basis for processes and 103 --------------------------------- 105 Mechanisms of capabilities, privileged capability-dumb files [6]_, 118 # ls -alhF [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_top.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 19 * @bpc_denom : denominator of byte per clk 20 * @bpc_numer : numerator of byte per clk 31 * struct split_pipe_cfg - pipe configuration for dual display panels 56 * struct dpu_vsync_source_cfg - configure vsync source and configure the 78 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions 86 * @mdp : mdp top context driver 94 * @mdp : mdp top context driver 102 * @mdp: mdp top context driver [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | pm34xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2006-2008 Nokia Corporation 13 * Richard Woodruff <r-woodruff2@ti.com> 42 #include "cm-regbits-34xx.h" 43 #include "prm-regbits-34xx.h" 47 #include "omap-secure.h" 82 /* Save the Interrupt controller context */ in omap3_core_save_context() 84 /* Save the system control module context, padconf already save above*/ in omap3_core_save_context() 90 /* Restore the control module context, padconf restored by h/w */ in omap3_core_restore_context() 92 /* Restore the interrupt controller context */ in omap3_core_restore_context() [all …]
|
| /linux/scripts/gdb/linux/ |
| H A D | cpus.py | 4 # per-cpu tools 6 # Copyright (c) Siemens AG, 2011-2013 27 return gdb.selected_thread().num - 1 36 if cpu == -1: 77 entry = -1 129 super(LxCpus, self).__init__("lx-cpus", gdb.COMMAND_DATA) 142 """Return per-cpu variable. 144 $lx_per_cpu(VAR[, CPU]): Return the per-cpu variable called VAR for the 145 given CPU number. If CPU is omitted, the CPU of the current context is used. 151 def invoke(self, var, cpu=-1): [all …]
|