/linux-6.12.1/kernel/sched/ |
D | clock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * clock with bounded drift between CPUs. The value of cpu_clock(i) 29 * cpu_clock(i) -- can be used from any context, including NMI. 30 * local_clock() -- is cpu_clock() on the current CPU. 41 * Otherwise it tries to create a semi stable clock from a mixture of other 44 * - GTOD (clock monotonic) 45 * - sched_clock() 46 * - explicit idle events 58 * Scheduler clock - returns current time in nanosec units. 60 * Architectures and sub-architectures can override this. [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1991-2002 Linus Torvalds 8 * Copyright (C) 1998-2024 Ingo Molnar, Red Hat 28 #include <linux/sched/clock.h> 72 # include <linux/entry-common.h> 97 #include "../../io_uring/io-wq.h" 132 const_debug unsigned int sysctl_sched_features = 144 __read_mostly int sysctl_resched_latency_warn_ms = 100; 145 __read_mostly int sysctl_resched_latency_warn_once = 1; 152 const_debug unsigned int sysctl_sched_nr_migrate = SCHED_NR_MIGRATE_BREAK; [all …]
|
D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 35 #include <linux/sched/clock.h> 43 #include <linux/memory-tiers.h> 59 * The initial- and re-scaling of tunables is configurable 63 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 64 * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus) 65 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 69 unsigned int sysctl_sched_tunable_scaling = SCHED_TUNABLESCALING_LOG; 72 * Minimal preemption granularity for CPU-bound tasks: 76 unsigned int sysctl_sched_base_slice = 750000ULL; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mmc/ |
D | arasan,sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Adrian Hunter <adrian.hunter@intel.com> 13 - $ref: mmc-controller.yaml# 14 - if: 18 const: arasan,sdhci-5.1 21 - phys 22 - phy-names 23 - if: [all …]
|
/linux-6.12.1/include/linux/ |
D | fsl_devices.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 17 PHY CLK to become stable - 10ms*/ 30 * Each sub-arch has its own master list of unique devices and 31 * enumerates them by enum fsl_devices in a sub-arch specific header 33 * The platform data structure is broken into two parts. The 40 * - platform data structures: <driver>_platform_data 41 * - platform data device flags: FSL_<driver>_DEV_<FLAG> 42 * - platform data board flags: FSL_<driver>_BRD_<FLAG> 47 FSL_USB_VER_NONE = -1, 79 unsigned int port_enables; [all …]
|
/linux-6.12.1/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved. 7 * Copyright (c) 2006-2008 Intel Corporation 14 #include <linux/dma-buf.h> 15 #include <linux/media-bus-format.h> 27 irqreturn_t pl111_irq(int irq, void *data) in pl111_irq() 33 irq_stat = readl(priv->regs + CLCD_PL111_MIS); in pl111_irq() 39 drm_crtc_handle_vblank(&priv->pipe.crtc); in pl111_irq() 45 writel(irq_stat, priv->regs + CLCD_PL111_ICR); in pl111_irq() 54 struct drm_device *drm = pipe->crtc.dev; in pl111_mode_valid() [all …]
|
/linux-6.12.1/drivers/mmc/host/ |
D | sdhci-of-at91.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/mmc/slot-gpio.h> 24 #include "sdhci-pltfm.h" 36 #define SDHCI_AT91_PRESET_COMMON_CONF 0x400 /* drv type B, programmable clock mode */ 41 unsigned int divider_for_baseclk; 57 mc1r = readb(host->ioaddr + SDMMC_MC1R); in sdhci_at91_set_force_card_detect() 59 writeb(mc1r, host->ioaddr + SDMMC_MC1R); in sdhci_at91_set_force_card_detect() 62 static void sdhci_at91_set_clock(struct sdhci_host *host, unsigned int clock) in sdhci_at91_set_clock() argument 66 host->mmc->actual_clock = 0; in sdhci_at91_set_clock() 69 * There is no requirement to disable the internal clock before in sdhci_at91_set_clock() [all …]
|
D | sdhci-of-arasan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2011 - 2012 Michal Simek <monstr@monstr.eu> 9 * Based on sdhci-of-esdhc.c 18 #include <linux/clk-provider.h> 26 #include <linux/firmware/xlnx-zynqmp.h> 29 #include "sdhci-cqhci.h" 30 #include "sdhci-pltfm.h" 79 /* Default settings for ZynqMP Clock Phases */ 92 * On some SoCs the syscon area has a feature where the upper 16-bits of 93 * each 32-bit register act as a write mask for the lower 16-bits. This allows [all …]
|
D | sdhci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver 7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 103 * VDD2 - UHS2 or PCIe/NVMe 174 #define SDHCI_INT_ALL_MASK ((unsigned int)-1) 196 #define SDHCI_CTRL_HS400 0x0005 /* Non-standard */ 243 #define SDHCI_SUPPORT_HS400 0x80000000 /* Non-standard */ 252 /* 4C-4F reserved for more max current */ 259 /* 55-57 reserved */ 264 /* 60-FB reserved */ [all …]
|
D | sdhci-pci-o2micro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "sdhci-pci.h" 101 mmc_hostname(host->mmc)); in sdhci_o2_wait_card_detect_stable() 136 pr_err("%s: Internal clock never stabilised.\n", in sdhci_o2_enable_internal_clock() 137 mmc_hostname(host->mmc)); in sdhci_o2_enable_internal_clock() 155 static int sdhci_o2_get_cd(struct mmc_host *mmc) in sdhci_o2_get_cd() 171 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk() 177 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk() 192 static int sdhci_o2_wait_dll_detect_lock(struct sdhci_host *host) in sdhci_o2_wait_dll_detect_lock() 212 int i; in __sdhci_o2_execute_tuning() [all …]
|
D | sdhci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver 5 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 9 * - JMicron (hardware and technical support) 19 #include <linux/dma-mapping.h> 33 #include <linux/mmc/slot-gpio.h> 40 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 43 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 47 static unsigned int debug_quirks = 0; 48 static unsigned int debug_quirks2; [all …]
|
/linux-6.12.1/Documentation/process/ |
D | maintainer-tip.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 --------------------- 11 aggregation tree for several sub-maintainer trees. The tip tree gitweb URL 16 - **x86 architecture** 22 x86-specific KVM and XEN patches. 30 mail alias which distributes mails to the x86 top-level maintainer 32 ``linux-kernel@vger.kernel.org``, otherwise your mail ends up only in 35 - **Scheduler** 37 Scheduler development takes place in the -tip tree, in the 38 sched/core branch - with occasional sub-topic trees for [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_gmin_platform.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <media/v4l2-subdev.h> 29 /* Valid clock number range from 0 to 5 */ 32 /* X-Powers AXP288 register set */ 79 unsigned int csi_lanes; 88 int v1p8_gpio; 89 int v2p8_gpio; 94 int eldo1_sel_reg, eldo1_1p6v, eldo1_ctrl_shift; 95 int eldo2_sel_reg, eldo2_1p8v, eldo2_ctrl_shift; 124 static int gmin_v1p8_enable_count; [all …]
|
/linux-6.12.1/arch/x86/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "64-bit kernel" if "$(ARCH)" = "x86" 7 Say yes to build a 64-bit kernel - formerly known as x86_64 8 Say no to build a 32-bit kernel - formerly known as i386 13 # Options that are inherently 32-bit kernel only: 27 # Options that are inherently 64-bit kernel only: 55 # ported to 32-bit as well. ) 150 # Word-size accesses may read uninitialized data past the trailing \0 329 default "elf32-i386" if X86_32 330 default "elf64-x86-64" if X86_64 [all …]
|
/linux-6.12.1/drivers/video/fbdev/ |
D | pvr2fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (c) 2001 - 2008 Paul Mundt <lethal@linux-sh.org> 13 * here are some hacked-up formulas: 19 * values, I could just add mode- specific offsets to get the correct mode 22 * left_margin = diwstart_h - borderstart_h; 23 * right_margin = borderstop_h - (diwstart_h + xres); 24 * upper_margin = diwstart_v - borderstart_v; 25 * lower_margin = borderstop_v - (diwstart_h + yres); 27 * hsync_len = borderstart_h + (hsync_total - borderstop_h); 28 * vsync_len = borderstart_v + (vsync_total - borderstop_v); [all …]
|
/linux-6.12.1/drivers/media/usb/uvc/ |
D | uvc_video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * uvc_video.c -- USB Video Class driver - Video handling 5 * Copyright (C) 2005-2010 9 #include <linux/dma-mapping.h> 23 #include <media/v4l2-common.h> 27 /* ------------------------------------------------------------------------ 31 static int __uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, in __uvc_query_ctrl() 33 int timeout) in __uvc_query_ctrl() 36 unsigned int pipe; in __uvc_query_ctrl() 38 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl() [all …]
|
/linux-6.12.1/drivers/crypto/ |
D | hifn_795x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/dma-mapping.h> 30 "PLL reference clock (pci[freq] or ext[freq], default ext)"); 199 #define HIFN_DMACSR_D_CTRL_NOP 0x00000000 /* Dest. Control: no-op */ 208 #define HIFN_DMACSR_R_CTRL_NOP 0x00000000 /* Result Control: no-op */ 217 #define HIFN_DMACSR_S_CTRL_NOP 0x00000000 /* Source Control: no-op */ 227 #define HIFN_DMACSR_C_CTRL_NOP 0x00000000 /* Command Control: no-op */ 272 #define HIFN_PLL_REF_CLK_HBI 0x00000000 /* HBI reference clock */ 273 #define HIFN_PLL_REF_CLK_PLL 0x00000001 /* PLL reference clock */ 274 #define HIFN_PLL_BP 0x00000002 /* Reference clock bypass */ [all …]
|
/linux-6.12.1/arch/x86/kvm/ |
D | x86.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 16 * Ben-Ami Yassour <benami@il.ibm.com> 48 #include <linux/user-return-notifier.h> 62 #include <linux/entry-kvm.h> 109 ((struct kvm_vcpu *)(ctxt)->vcpu) 112 * - enable syscall per default because its emulated by KVM 113 * - enable LME and LMA per default on 64 bit KVM 135 static int sync_regs(struct kvm_vcpu *vcpu); 136 static int kvm_vcpu_do_singlestep(struct kvm_vcpu *vcpu); [all …]
|
/linux-6.12.1/drivers/input/serio/ |
D | i8042.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2004 Vojtech Pavlik 59 static int i8042_set_reset(const char *val, const struct kernel_param *kp) in i8042_set_reset() 61 enum i8042_controller_reset_mode *arg = kp->arg; in i8042_set_reset() 62 int error; in i8042_set_reset() 88 MODULE_PARM_DESC(direct, "Put keyboard port into non-translated mode."); 130 …enable (may reveal sensitive data) of normally sanitize-filtered kbd data traffic debug log [pre-c… 159 int irq; 181 static irqreturn_t i8042_interrupt(int irq, void *dev_id); 197 int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, in i8042_install_filter() [all …]
|
/linux-6.12.1/drivers/clk/ |
D | clk.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com> 4 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> 6 * Standard functionality for the common clock API. See Documentation/driver-api/clk.rst 10 #include <linux/clk-provider.h> 11 #include <linux/clk/clk-conf.h> 33 static int prepare_refcnt; 34 static int enable_refcnt; 57 int index; 80 unsigned int enable_count; [all …]
|
/linux-6.12.1/drivers/net/phy/ |
D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 125 * each nsec contains 4 clock cycles. 126 * The value is calculated as following: (1/1000000)/((2^-32)/4) 131 * each nsec contains 8 clock cycles. 132 * The value is calculated as following: (1/1000000)/((2^-32)/8) 416 int hwts_tx_type; 418 int layer; 419 int version; 435 int led_mode; [all …]
|
/linux-6.12.1/Documentation/admin-guide/ |
D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nospcr -- disable console in ACPI SPCR table as 34 Format: <int> 41 If set to vendor, prefer vendor-specific driver [all …]
|
/linux-6.12.1/drivers/scsi/aacraid/ |
D | aacraid.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 * Copyright (c) 2000-2010 Adaptec, Inc. 10 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) 11 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com) 34 /*------------------------------------------------------------------------------ 36 *----------------------------------------------------------------------------*/ 61 /* Bit definitions in IOA->Host Interrupt Register */ 90 # define AAC_DRIVER_BRANCH "-custom" 95 #define AAC_NUM_IO_FIB (1024 - AAC_NUM_MGT_FIB) 106 /* Thor: 5 phys. buses: #0: empty, 1-4: 256 targets each */ [all …]
|
/linux-6.12.1/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Abramo Bagnara <abramo@alsa-project.org> 9 * - Sometimes the SPDIF input DSP tasks get's unsynchronized 13 * - On the Hercules Game Theater XP the amplifier are sometimes turned 17 * - Secondary CODEC on some soundcards 18 * - SPDIF input support for other sample rates then 48khz 19 * - Posibility to mix the SPDIF output with analog sources. 20 * - PCM channels for Center and LFE on secondary codec 58 static void amp_voyetra(struct snd_cs46xx *chip, int change); 76 int codec_index) in snd_cs46xx_codec_read() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_display.c | 2 * Copyright © 2006-2007 Intel Corporation 27 #include <linux/dma-resv.h> 141 int vlv_get_hpll_vco(struct drm_i915_private *dev_priv) in vlv_get_hpll_vco() 143 int hpll_freq, vco_freq[] = { 800, 1600, 2000, 2400 }; in vlv_get_hpll_vco() 152 int vlv_get_cck_clock(struct drm_i915_private *dev_priv, in vlv_get_cck_clock() 153 const char *name, u32 reg, int ref_freq) in vlv_get_cck_clock() 156 int divider; in vlv_get_cck_clock() 161 drm_WARN(&dev_priv->drm, (val & CCK_FREQUENCY_STATUS) != in vlv_get_cck_clock() 168 int vlv_get_cck_clock_hpll(struct drm_i915_private *dev_priv, in vlv_get_cck_clock_hpll() 171 int hpll; in vlv_get_cck_clock_hpll() [all …]
|