| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_pmdemand.c | 1 // SPDX-License-Identifier: MIT 23 pmdemand_state = kmemdup(obj->state, sizeof(*pmdemand_state), GFP_KERNEL); in intel_pmdemand_duplicate_state() 27 return &pmdemand_state->base; in intel_pmdemand_duplicate_state() 44 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_atomic_get_pmdemand_state() 47 &i915->display.pmdemand.obj); in intel_atomic_get_pmdemand_state() 58 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_atomic_get_old_pmdemand_state() 61 &i915->display.pmdemand.obj); in intel_atomic_get_old_pmdemand_state() 72 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_atomic_get_new_pmdemand_state() 75 &i915->display.pmdemand.obj); in intel_atomic_get_new_pmdemand_state() 89 return -ENOMEM; in intel_pmdemand_init() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/ |
| D | st,st-mipid02.txt | 1 STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge 3 MIPID02 has two CSI-2 input ports, only one of those ports can be active at a 4 time. Active port input stream will be de-serialized and its content outputted 6 CSI-2 first input port is a dual lane 800Mbps per lane whereas CSI-2 second 11 YUV420 8-bit, YUV422 8-bit and YUV420 10-bit. 14 - compatible: shall be "st,st-mipid02" 15 - clocks: reference to the xclk input clock. 16 - clock-names: shall be "xclk". 17 - VDDE-supply: sensor digital IO supply. Must be 1.8 volts. 18 - VDDIN-supply: sensor internal regulator supply. Must be 1.8 volts. [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/include/asm/ |
| D | motorola_pgtable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define _PAGE_NOCACHE030 0x040 /* 68030 no-cache mode */ 18 #define _PAGE_NOCACHE 0x060 /* 68040 cache mode, non-serialized */ 19 #define _PAGE_NOCACHE_S 0x040 /* 68040 no-cache mode, serialized */ 21 #define _PAGE_CACHE040W 0x000 /* 68040 cache mode, cachable, write-through */ 31 * 3 - Used 32 * 2 - Write Protected 33 * 0,1 - Descriptor Type 160 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT)) 198 /* Encode and de-code a swap entry (must be !pte_none(e) && !pte_present(e)) */
|
| D | mcf_pgtable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 #define _PAGE_NOCACHE_S 0x040 /* 68040 no-cache mode, serialized */ 43 #define _PAGE_NOCACHE 0x060 /* 68040 cache mode, non-serialized */ 44 #define _PAGE_CACHE040W 0x000 /* 68040 cache mode, cachable, write-through */ 91 * for use. In general, the bit positions are xwr, and P-items are 92 * private, the S-items are shared. 191 #define pte_pagenr(pte) ((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT) 314 * Encode and de-code a swap entry (must be !pte_none(e) && !pte_present(e))
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/ |
| D | st,st-mipid02.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/st,st-mipid02.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge 10 - Benjamin Mugnier <benjamin.mugnier@foss.st.com> 11 - Sylvain Petinot <sylvain.petinot@foss.st.com> 14 MIPID02 has two CSI-2 input ports, only one of those ports can be 15 active at a time. Active port input stream will be de-serialized 17 CSI-2 first input port is a dual lane 800Mbps per lane whereas CSI-2 [all …]
|
| /kernel/linux/linux-5.10/arch/s390/appldata/ |
| D | appldata_mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 8 * Author: Gerald Schaefer <gerald.schaefer@de.ibm.com> 23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ 58 // New in 2.6 --> 62 // <-- New in 2.6 76 * serialized through the appldata_ops_mutex and can use static in appldata_get_mem_data() 83 mem_data->sync_count_1++; in appldata_get_mem_data() 86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data() 87 mem_data->pgpgout = ev[PGPGOUT] >> 1; in appldata_get_mem_data() [all …]
|
| /kernel/linux/linux-6.6/arch/s390/appldata/ |
| D | appldata_mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 8 * Author: Gerald Schaefer <gerald.schaefer@de.ibm.com> 23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ 58 // New in 2.6 --> 62 // <-- New in 2.6 76 * serialized through the appldata_ops_mutex and can use static in appldata_get_mem_data() 83 mem_data->sync_count_1++; in appldata_get_mem_data() 86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data() 87 mem_data->pgpgout = ev[PGPGOUT] >> 1; in appldata_get_mem_data() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | plist.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Descending-priority-sorted double-linked list 5 * (C) 2002-2003 Intel Corp 6 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>. 8 * 2001-2005 (c) MontaVista Software, Inc. 11 * (C) 2005 Thomas Gleixner <tglx@linutronix.de> 14 * Oleg Nesterov <oleg@tv-sign.ru> 18 * This is a priority-sorted list of nodes; each node has a 27 * - The tier 1 list is the prio_list, different priority nodes. 29 * - The tier 2 list is the node_list, serialized nodes. [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | plist.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Descending-priority-sorted double-linked list 5 * (C) 2002-2003 Intel Corp 6 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>. 8 * 2001-2005 (c) MontaVista Software, Inc. 11 * (C) 2005 Thomas Gleixner <tglx@linutronix.de> 14 * Oleg Nesterov <oleg@tv-sign.ru> 18 * This is a priority-sorted list of nodes; each node has a 27 * - The tier 1 list is the prio_list, different priority nodes. 29 * - The tier 2 list is the node_list, serialized nodes. [all …]
|
| /kernel/linux/linux-6.6/Documentation/core-api/ |
| D | cpu_hotplug.rst | 6 :Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>, 11 Thomas Gleixner <tglx@linutronix.de> 26 A more novel use of CPU-hotplug support is its use today in suspend resume 27 support for SMP. Dual-core and HT support makes even a laptop run SMP kernels 81 from the map depending on the event is hot-add/hot-remove. There are currently 86 be read-only for most use. When setting up per-cpu resources almost always use 100 $ ls -lh /sys/devices/system/cpu 102 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 103 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 104 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 [all …]
|
| /kernel/linux/linux-5.10/lib/reed_solomon/ |
| D | reed_solomon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de) 58 * codec_init - Initialize a Reed-Solomon codec 59 * @symsize: symbol size, bits (1-8) 80 INIT_LIST_HEAD(&rs->list); in codec_init() 82 rs->mm = symsize; in codec_init() 83 rs->nn = (1 << symsize) - 1; in codec_init() 84 rs->fcr = fcr; in codec_init() 85 rs->prim = prim; in codec_init() 86 rs->nroots = nroots; in codec_init() [all …]
|
| /kernel/linux/linux-6.6/lib/reed_solomon/ |
| D | reed_solomon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de) 58 * codec_init - Initialize a Reed-Solomon codec 59 * @symsize: symbol size, bits (1-8) 80 INIT_LIST_HEAD(&rs->list); in codec_init() 82 rs->mm = symsize; in codec_init() 83 rs->nn = (1 << symsize) - 1; in codec_init() 84 rs->fcr = fcr; in codec_init() 85 rs->prim = prim; in codec_init() 86 rs->nroots = nroots; in codec_init() [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | async.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Arjan van de Ven <arjan@linux.intel.com> 16 decoupled and not strictly serialized. 21 have their externally visible parts happen sequentially and in-order. 22 (not unlike how out-of-order CPUs retire their instructions in order) 90 if (!list_empty(&domain->pending)) in lowest_in_progress() 91 first = list_first_entry(&domain->pending, in lowest_in_progress() 100 ret = first->cookie; in lowest_in_progress() 119 (long long)entry->cookie, in async_run_entry_fn() 120 entry->func, task_pid_nr(current)); in async_run_entry_fn() [all …]
|
| D | profile.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Simple profiling. Manages a direct-mapped profile hit count buffer, 9 * Scheduler profiling support, Arjan van de Ven and Ingo Molnar, 13 * Amortized hit count accounting via per-cpu open-addressed hashtables 71 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 82 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 90 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 94 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 111 prof_len = (_etext - _stext) >> prof_shift; in profile_init() 116 return -EINVAL; in profile_init() [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | async.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Arjan van de Ven <arjan@linux.intel.com> 16 decoupled and not strictly serialized. 21 have their externally visible parts happen sequentially and in-order. 22 (not unlike how out-of-order CPUs retire their instructions in order) 96 if (!list_empty(&domain->pending)) in lowest_in_progress() 97 first = list_first_entry(&domain->pending, in lowest_in_progress() 106 ret = first->cookie; in lowest_in_progress() 123 pr_debug("calling %lli_%pS @ %i\n", (long long)entry->cookie, in async_run_entry_fn() 124 entry->func, task_pid_nr(current)); in async_run_entry_fn() [all …]
|
| D | profile.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Simple profiling. Manages a direct-mapped profile hit count buffer, 9 * Scheduler profiling support, Arjan van de Ven and Ingo Molnar, 13 * Amortized hit count accounting via per-cpu open-addressed hashtables 71 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 81 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 98 prof_len = (_etext - _stext) >> prof_shift; in profile_init() 103 return -EINVAL; in profile_init() 109 return -ENOMEM; in profile_init() 127 return -ENOMEM; in profile_init() [all …]
|
| /kernel/linux/linux-6.6/Documentation/scheduler/ |
| D | completion.rst | 2 Completions - "wait for completion" barrier APIs 6 ------------- 10 race-free solution to this problem. Semantically they are somewhat like a 11 pthread_barrier() and have similar use-cases. 14 misuse of locks/semaphores and busy-loops. Any time you think of using 34 ------ 38 - the initialization of the 'struct completion' synchronization object 39 - the waiting part through a call to one of the variants of wait_for_completion(), 40 - the signaling side through a call to complete() or complete_all(). 57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and [all …]
|
| /kernel/linux/linux-5.10/Documentation/scheduler/ |
| D | completion.rst | 2 Completions - "wait for completion" barrier APIs 6 ------------- 10 race-free solution to this problem. Semantically they are somewhat like a 11 pthread_barrier() and have similar use-cases. 14 misuse of locks/semaphores and busy-loops. Any time you think of using 34 ------ 38 - the initialization of the 'struct completion' synchronization object 39 - the waiting part through a call to one of the variants of wait_for_completion(), 40 - the signaling side through a call to complete() or complete_all(). 57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and [all …]
|
| /kernel/linux/linux-6.6/Documentation/virt/kvm/x86/ |
| D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 63 -------------- | +->| GATE TIMER 0 | [all …]
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/ |
| D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 63 -------------- | +->| GATE TIMER 0 | [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com> 7 * 2013-2016 Borislav Petkov <bp@alien8.de> 13 * (C) 2015 Borislav Petkov <bp@alien8.de> 55 * All non cpu-hotplug-callback call sites use: 57 * - microcode_mutex to synchronize with each other; 58 * - cpus_read_lock/unlock() to synchronize with 59 * the cpu-hotplug-callback call sites. 80 0, /* T-101 terminator */ 87 * - true: if update should stop [all …]
|
| /kernel/linux/linux-6.6/drivers/s390/char/ |
| D | vmur.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Michael Holzheu <holzheu@de.ibm.com> 9 * Frank Munzert <munzert@de.ibm.com> 38 * is used to read spool data page-wise. 89 * (cdev) using the urd->cdev pointer. Each ccw device has a reference to the 90 * ur device using dev_get_drvdata(&cdev->dev) pointer. 93 * - ur_probe gets a urd reference, ur_remove drops the reference 94 * dev_get_drvdata(&cdev->dev) 95 * - ur_open gets a urd reference, ur_release drops the reference 96 * (urf->urd) [all …]
|
| /kernel/linux/linux-5.10/drivers/s390/char/ |
| D | vmur.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Michael Holzheu <holzheu@de.ibm.com> 9 * Frank Munzert <munzert@de.ibm.com> 36 * is used to read spool data page-wise. 87 * (cdev) using the urd->cdev pointer. Each ccw device has a reference to the 88 * ur device using dev_get_drvdata(&cdev->dev) pointer. 91 * - ur_probe gets a urd reference, ur_remove drops the reference 92 * dev_get_drvdata(&cdev->dev) 93 * - ur_open gets a urd reference, ur_release drops the reference 94 * (urf->urd) [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ipset/ |
| D | ip_set_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> 3 * Patrick Schaaf <bof@bof.de> 4 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@netfilter.org> 57 rcu_dereference_protected((inst)->ip_set_list, \ 60 (inst)->is_deleted) 64 rcu_dereference_raw((inst)->ip_set_list)[id] 70 * serialized by ip_set_type_mutex. 94 if (STRNCMP(type->name, name) && in find_set_type() 95 (type->family == family || in find_set_type() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipset/ |
| D | ip_set_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> 3 * Patrick Schaaf <bof@bof.de> 4 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@netfilter.org> 61 ip_set_dereference((inst)->ip_set_list)[id] 63 rcu_dereference_raw((inst)->ip_set_list)[id] 69 * serialized by ip_set_type_mutex. 93 if (STRNCMP(type->name, name) && in find_set_type() 94 (type->family == family || in find_set_type() 95 type->family == NFPROTO_UNSPEC) && in find_set_type() [all …]
|