/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
D | interrupt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 44 * IRQF_SHARED - allow sharing the irq among several devices 45 * IRQF_PROBE_SHARED - set by callers when they expect sharing mismatches to occur 46 * IRQF_TIMER - Flag to mark this interrupt as timer interrupt 47 * IRQF_PERCPU - Interrupt is per cpu 48 * IRQF_NOBALANCING - Flag to exclude this interrupt from irq balancing 49 * IRQF_IRQPOLL - Interrupt is used for polling (only the interrupt that is 52 * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished. 55 * IRQF_NO_SUSPEND - Do not disable this IRQ during suspend. Does not guarantee 57 * state. See Documentation/power/suspend-and-interrupts.rst [all …]
|
D | sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 41 #include <linux/posix-timers_types.h> 91 * We have two separate sets of flags: task->__state 92 * is about runnability, while task->exit_state are 98 /* Used in tsk->__state: */ 104 /* Used in tsk->exit_state: */ 108 /* Used in tsk->__state again: */ 121 #define TASK_ANY (TASK_STATE_MAX-1) 144 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING) 146 #define task_is_traced(task) ((READ_ONCE(task->jobctl) & JOBCTL_TRACED) != 0) [all …]
|
D | perf_event.h | 4 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de> 5 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar 6 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra 12 * For licencing details see kernel-base/COPYING 21 * Kernel-internal data types and definitions: 39 #include <linux/rhashtable-types.h> 100 return frag->pad < sizeof(u64); in perf_raw_frag_last() 108 * -1ULL means invalid/unknown. 118 * The hw_idx index is between -1 (unknown) and max depth, 138 int idx; /* index in shared_regs->regs[] */ [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 75 from the map depending on the event is hot-add/hot-remove. There are currently 80 be read-only for most use. When setting up per-cpu resources almost always use 94 $ ls -lh /sys/devices/system/cpu 96 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 97 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 98 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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) 98 if (!list_empty(&domain->pending)) in lowest_in_progress() 99 first = list_first_entry(&domain->pending, in lowest_in_progress() 108 ret = first->cookie; in lowest_in_progress() 125 pr_debug("calling %lli_%pS @ %i\n", (long long)entry->cookie, in async_run_entry_fn() 126 entry->func, task_pid_nr(current)); in async_run_entry_fn() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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. 91 * (cdev) using the urd->cdev pointer. Each ccw device has a reference to the 92 * ur device using dev_get_drvdata(&cdev->dev) pointer. 95 * - ur_probe gets a urd reference, ur_remove drops the reference 96 * dev_get_drvdata(&cdev->dev) 97 * - ur_open gets a urd reference, ur_release drops the reference 98 * (urf->urd) [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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> 53 * All non cpu-hotplug-callback call sites use: 55 * - cpus_read_lock/unlock() to synchronize with 56 * the cpu-hotplug-callback call sites. 70 0, /* T-101 terminator */ 79 * - true: if update should stop 80 * - false: otherwise [all …]
|
/linux-6.12.1/Documentation/driver-api/soundwire/ |
D | stream.rst | 24 ------------------------- 26 ------------------------- 31 +---------------+ Clock Signal +---------------+ 32 | Master +----------------------------------+ Slave | 36 | L + R +----------------------------------+ L + R | 38 +---------------+ +-----------------------> +---------------+ 45 +---------------+ Clock Signal +---------------+ 46 | Master +----------------------------------+ Slave | 50 | L + R +----------------------------------+ L + R | 52 +---------------+ <-----------------------+ +---------------+ [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | rkisp1-config.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT) */ 16 /* Sensor De-gamma */ 44 /* Denoise Pre-Filter */ 46 /* Denoise Pre-Filter Strength */ 129 /* 0-2 for sets 1-3 */ 181 * enum rkisp1_cif_isp_version - ISP variants 221 * enum rkisp1_cif_isp_exp_ctrl_autostop - stop modes 231 * enum rkisp1_cif_isp_exp_meas_mode - Exposure measure mode 240 /*---------- PART1: Input Parameters ------------*/ 243 * struct rkisp1_cif_isp_window - measurement window. [all …]
|
/linux-6.12.1/drivers/nvdimm/ |
D | pmem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2015, Intel Corporation. 6 * Copyright (c) 2015, Christoph Hellwig <hch@lst.de>. 22 #include <linux/blk-mq.h> 41 return pmem->bb.dev; in to_dev() 46 return to_nd_region(to_dev(pmem)->parent); in to_region() 51 return pmem->phys_addr + offset; in pmem_to_phys() 56 return (offset - pmem->data_offset) >> SECTOR_SHIFT; in to_sect() 61 return (sector << SECTOR_SHIFT) + pmem->data_offset; in to_offset() 71 if (is_vmalloc_addr(pmem->virt_addr)) in pmem_mkpage_present() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 1 // SPDX-License-Identifier: GPL-2.0 57 * memory-mapped region whose addresses are specified in either the DT or 67 /* Reference clock for Bluefield - 156 MHz. */ 149 * SMBUS GW0 -> bits[26:25] 150 * SMBUS GW1 -> bits[28:27] 151 * SMBUS GW2 -> bits[30:29] 245 #define MLXBF_I2C_MASTER_DATA_W_LENGTH (MLXBF_I2C_MASTER_DATA_DESC_SIZE - 1) 321 .end = (addr) + (size) - 1, \ 343 MLXBF_I2C_CHIP_TYPE_1, /* Mellanox BlueField-1 chip. */ 344 MLXBF_I2C_CHIP_TYPE_2, /* Mellanox BlueField-2 chip. */ [all …]
|
/linux-6.12.1/arch/x86/kernel/ |
D | smpboot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * Pentium Pro and Pentium-II/Xeon MP machines. 19 * Alan Cox : By repeated request 8) - Total BogoMIPS report. 32 * Martin J. Bligh : Added support for multi-quad systems 85 #include <asm/intel-family.h> 87 #include <asm/spec-ctrl.h> 91 #include <asm/spec-ctrl.h> 163 if (!--smpboot_warm_reset_vector_count) { in smpboot_restore_warm_reset_vector() 241 * 32-bit specific. 64-bit reaches this code with the correct page in start_secondary() 254 * point below so it is not part of the full per CPU serialized in start_secondary() [all …]
|
/linux-6.12.1/fs/ |
D | dcache.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (C) 1997 Thomas Schoebel-Theuer, 13 * The dcache is a master of the icache - whenever a dcache entry 38 #include <asm/runtime-const.h> 42 * dcache->d_inode->i_lock protects: 43 * - i_dentry, d_u.d_alias, d_inode of aliases 45 * - the dcache hash table 47 * - the s_roots list (see __d_drop) 48 * dentry->d_sb->s_dentry_lru_lock protects: 49 * - the dcache lru lists and counters [all …]
|
/linux-6.12.1/drivers/s390/cio/ |
D | chsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * S/390 common I/O routines -- channel subsystem call 6 * Author(s): Ingo Adlung (adlung@de.ibm.com) 7 * Cornelia Huck (cornelia.huck@de.ibm.com) 8 * Arnd Bergmann (arndb@de.ibm.com) 57 * chsc_error_from_response() - convert a chsc response to an error 74 return -EINVAL; in chsc_error_from_response() 77 return -EOPNOTSUPP; in chsc_error_from_response() 80 return -EBUSY; in chsc_error_from_response() 83 return -ENOMEM; in chsc_error_from_response() [all …]
|
/linux-6.12.1/kernel/locking/ |
D | mutex.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * Many thanks to Arjan van de Ven, Thomas Gleixner, Steven Rostedt and 14 * - Adaptive spinning for mutexes by Peter Zijlstra. (Ported to mainline 15 * from the -rt tree, where it was originally implemented for rtmutexes 19 * Also see Documentation/locking/mutex-design.rst. 48 atomic_long_set(&lock->owner, 0); in __mutex_init() 49 raw_spin_lock_init(&lock->wait_lock); in __mutex_init() 50 INIT_LIST_HEAD(&lock->wait_list); in __mutex_init() 52 osq_lock_init(&lock->osq); in __mutex_init() 64 * Bit0 indicates a non-empty waiter list; unlock must issue a wakeup. [all …]
|
D | rtmutex.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RT-Mutexes: simple blocking mutual exclusion locks with PI support 7 * Copyright (C) 2004-2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> 8 * Copyright (C) 2005-2006 Timesys Corp., Thomas Gleixner <tglx@timesys.com> 17 * See Documentation/locking/rt-mutex-design.rst for details. 66 * lock->owner state tracking: 68 * lock->owner holds the task_struct pointer of the owner. Bit 0 79 * possible when bit 0 of lock->owner is 0. 82 * with ->wait_lock is held. To prevent any fast path cmpxchg to the lock, 107 * lock->wait_lock is held but explicit acquire semantics are needed in rt_mutex_set_owner() [all …]
|
/linux-6.12.1/drivers/pci/controller/ |
D | vmd.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/pci-acpi.h> 15 #include <linux/pci-ecam.h> 53 * vendor-specific capability space 58 * Device may use MSI-X vector 0 for software triggering and will not 64 * Device can bypass remapping MSI-X transactions into its MSI-X table, 94 * struct vmd_irq - private data to map driver IRQ to the VMD shared vector 100 * Every MSI/MSI-X IRQ requested for a device in a VMD domain will be mapped to 111 * struct vmd_irq_list - list of driver requested IRQs mapping to a VMD vector 146 return container_of(bus->sysdata, struct vmd_dev, sysdata); in vmd_from_bus() [all …]
|