Home
last modified time | relevance | path

Searched +full:int +full:- +full:clock +full:- +full:stable +full:- +full:broken (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.10/kernel/sched/
Dclock.c1 // 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 monotomic)
45 * - sched_clock()
46 * - explicit idle events
60 * Scheduler clock - returns current time in nanosec units.
62 * Architectures and sub-architectures can override this.
[all …]
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 1991-2002 Linus Torvalds
24 #include "../../fs/io-wq.h"
57 const_debug unsigned int sysctl_sched_features =
67 const_debug unsigned int sysctl_sched_nr_migrate = 32;
70 * period over which we measure -rt task CPU usage in us.
73 unsigned int sysctl_sched_rt_period = 1000000;
75 __read_mostly int scheduler_running;
81 int sysctl_sched_rt_runtime = 950000;
89 * p->pi_lock
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/mmc/
Darasan,sdhci.yaml1 # 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-v5.10/include/linux/
Dfsl_devices.h1 /* 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-v5.10/drivers/gpu/drm/pl111/
Dpl111_display.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved.
7 * Copyright (c) 2006-2008 Intel Corporation
15 #include <linux/dma-buf.h>
26 irqreturn_t pl111_irq(int irq, void *data) in pl111_irq()
32 irq_stat = readl(priv->regs + CLCD_PL111_MIS); in pl111_irq()
38 drm_crtc_handle_vblank(&priv->pipe.crtc); in pl111_irq()
44 writel(irq_stat, priv->regs + CLCD_PL111_ICR); in pl111_irq()
53 struct drm_device *drm = pipe->crtc.dev; in pl111_mode_valid()
54 struct pl111_drm_dev_private *priv = drm->dev_private; in pl111_mode_valid()
[all …]
/Linux-v5.10/drivers/mmc/host/
Dsdhci-of-at91.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/mmc/slot-gpio.h>
23 #include "sdhci-pltfm.h"
35 #define SDHCI_AT91_PRESET_COMMON_CONF 0x400 /* drv type B, programmable clock mode */
40 unsigned int divider_for_baseclk;
56 mc1r = readb(host->ioaddr + SDMMC_MC1R); in sdhci_at91_set_force_card_detect()
58 writeb(mc1r, host->ioaddr + SDMMC_MC1R); in sdhci_at91_set_force_card_detect()
61 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 …]
Dsdhci-of-arasan.c1 // 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>
25 #include <linux/firmware/xlnx-zynqmp.h>
28 #include "sdhci-pltfm.h"
47 /* Default settings for ZynqMP Clock Phases */
55 * On some SoCs the syscon area has a feature where the upper 16-bits of
56 * each 32-bit register act as a write mask for the lower 16-bits. This allows
64 * struct sdhci_arasan_soc_ctl_field - Field used in sdhci_arasan_soc_ctl_map
[all …]
Dsdhci.h1 /* 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.
166 #define SDHCI_INT_ALL_MASK ((unsigned int)-1)
188 #define SDHCI_CTRL_HS400 0x0005 /* Non-standard */
233 #define SDHCI_SUPPORT_HS400 0x80000000 /* Non-standard */
242 /* 4C-4F reserved for more max current */
249 /* 55-57 reserved */
254 /* 60-FB reserved */
261 #define SDHCI_PRESET_FOR_HS400 0x74 /* Non-standard */
[all …]
Dsdhci-pci-o2micro.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "sdhci-pci.h"
88 mmc_hostname(host->mmc)); in sdhci_o2_wait_card_detect_stable()
123 pr_err("%s: Internal clock never stabilised.\n", in sdhci_o2_enable_internal_clock()
124 mmc_hostname(host->mmc)); in sdhci_o2_enable_internal_clock()
142 static int sdhci_o2_get_cd(struct mmc_host *mmc) in sdhci_o2_get_cd()
156 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk()
162 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk()
177 static int sdhci_o2_wait_dll_detect_lock(struct sdhci_host *host) in sdhci_o2_wait_dll_detect_lock()
197 int i; in __sdhci_o2_execute_tuning()
[all …]
Dsdhci.c1 // 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>
34 #include <linux/mmc/slot-gpio.h>
41 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
44 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
48 static unsigned int debug_quirks = 0;
49 static unsigned int debug_quirks2;
[all …]
/Linux-v5.10/arch/x86/
DKconfig1 # 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:
25 # Options that are inherently 64-bit kernel only:
49 # ported to 32-bit as well. )
252 default "elf32-i386" if X86_32
253 default "elf64-x86-64" if X86_64
367 int
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Datomisp_gmin_platform.c1 // 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 */
76 unsigned int csi_lanes;
86 int v1p8_gpio;
87 int v2p8_gpio;
92 int eldo1_sel_reg, eldo1_1p8v, eldo1_ctrl_shift;
93 int eldo2_sel_reg, eldo2_1p8v, eldo2_ctrl_shift;
121 /* The atomisp uses type==0 for the end-of-list marker, so leave space. */
[all …]
/Linux-v5.10/drivers/net/phy/
Dmicrel.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright (c) 2010-2013 Micrel, Inc.
97 int led_mode;
134 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
141 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
148 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
150 /* bit[7..0] int status, which is a read and clear register. */ in kszphy_ack_interrupt()
151 int rc; in kszphy_ack_interrupt()
158 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
160 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_drv.c50 * - 3.0.0 - initial driver
51 * - 3.1.0 - allow reading more status registers (GRBM, SRBM, SDMA, CP)
52 * - 3.2.0 - GFX8: Uses EOP_TC_WB_ACTION_EN, so UMDs don't have to do the same
54 * - 3.3.0 - Add VM support for UVD on supported hardware.
55 * - 3.4.0 - Add AMDGPU_INFO_NUM_EVICTIONS.
56 * - 3.5.0 - Add support for new UVD_NO_OP register.
57 * - 3.6.0 - kmd involves use CONTEXT_CONTROL in ring buffer.
58 * - 3.7.0 - Add support for VCE clock list packet
59 * - 3.8.0 - Add support raster config init in the kernel
60 * - 3.9.0 - Add support for memory query info about VRAM and GTT.
[all …]
/Linux-v5.10/drivers/video/fbdev/
Dpvr2fb.c1 // 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-v5.10/drivers/net/dsa/
Dmt7530.c1 // SPDX-License-Identifier: GPL-2.0-only
69 static int
70 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad) in core_read_mmd_indirect()
72 struct mii_bus *bus = priv->bus; in core_read_mmd_indirect()
73 int value, ret; in core_read_mmd_indirect()
76 ret = bus->write(bus, 0, MII_MMD_CTRL, devad); in core_read_mmd_indirect()
81 ret = bus->write(bus, 0, MII_MMD_DATA, prtad); in core_read_mmd_indirect()
86 ret = bus->write(bus, 0, MII_MMD_CTRL, (devad | MII_MMD_CTRL_NOINCR)); in core_read_mmd_indirect()
91 value = bus->read(bus, 0, MII_MMD_DATA); in core_read_mmd_indirect()
95 dev_err(&bus->dev, "failed to read mmd register\n"); in core_read_mmd_indirect()
[all …]
/Linux-v5.10/arch/x86/kvm/
Dx86.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine driver for Linux
16 * Ben-Ami Yassour <benami@il.ibm.com>
43 #include <linux/intel-iommu.h>
45 #include <linux/user-return-notifier.h>
59 #include <linux/entry-kvm.h>
88 ((struct kvm_vcpu *)(ctxt)->vcpu)
91 * - enable syscall per default because its emulated by KVM
92 * - enable LME and LMA per default on 64 bit KVM
111 static int sync_regs(struct kvm_vcpu *vcpu);
[all …]
/Linux-v5.10/drivers/crypto/
Dhifn_795x.c1 // 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-v5.10/drivers/input/serio/
Di8042.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2004 Vojtech Pavlik
55 static int i8042_set_reset(const char *val, const struct kernel_param *kp) in i8042_set_reset()
57 enum i8042_controller_reset_mode *arg = kp->arg; in i8042_set_reset()
58 int error; in i8042_set_reset()
84 MODULE_PARM_DESC(direct, "Put keyboard port into non-translated mode.");
122 …enable (may reveal sensitive data) of normally sanitize-filtered kbd data traffic debug log [pre-c…
151 int irq;
173 static irqreturn_t i8042_interrupt(int irq, void *dev_id);
189 int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, in i8042_install_filter()
[all …]
/Linux-v5.10/Documentation/admin-guide/
Dkernel-parameters.txt5 force -- enable ACPI if default was off
6 on -- enable ACPI but allow fallback to DT [arm64]
7 off -- disable ACPI if default was on
8 noirq -- do not use ACPI for IRQ routing
9 strict -- Be less tolerant of platforms that are not
11 rsdt -- prefer RSDT over (default) XSDT
12 copy_dsdt -- copy DSDT to memory
19 Format: <int>
26 If set to vendor, prefer vendor-specific driver
35 64 bit X_* addresses. Some firmware have broken 64
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_display.c2 * Copyright © 2006-2007 Intel Corporation
29 #include <linux/intel-iommu.h>
32 #include <linux/dma-resv.h>
154 static int intel_framebuffer_init(struct intel_framebuffer *ifb,
178 int min, max;
182 int dot_limit;
183 int p2_slow, p2_fast;
188 int vlv_get_hpll_vco(struct drm_i915_private *dev_priv) in vlv_get_hpll_vco()
190 int hpll_freq, vco_freq[] = { 800, 1600, 2000, 2400 }; in vlv_get_hpll_vco()
199 int vlv_get_cck_clock(struct drm_i915_private *dev_priv, in vlv_get_cck_clock()
[all …]
Dintel_dp.c84 int clock; member
134 * intel_dp_is_edp - is the given port attached to an eDP panel (either CPU or PCH)
144 return dig_port->base.type == INTEL_OUTPUT_EDP; in intel_dp_is_edp()
160 static const int dp_rates[] = { in intel_dp_set_sink_rates()
163 int i, max_rate; in intel_dp_set_sink_rates()
165 if (drm_dp_has_quirk(&intel_dp->desc, 0, in intel_dp_set_sink_rates()
168 static const int quirk_rates[] = { 162000, 270000, 324000 }; in intel_dp_set_sink_rates()
170 memcpy(intel_dp->sink_rates, quirk_rates, sizeof(quirk_rates)); in intel_dp_set_sink_rates()
171 intel_dp->num_sink_rates = ARRAY_SIZE(quirk_rates); in intel_dp_set_sink_rates()
176 max_rate = drm_dp_bw_code_to_link_rate(intel_dp->dpcd[DP_MAX_LINK_RATE]); in intel_dp_set_sink_rates()
[all …]
/Linux-v5.10/sound/pci/cs46xx/
Dcs46xx_lib.c1 // 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-v5.10/drivers/scsi/aacraid/
Daacraid.h1 /* 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)
33 /*------------------------------------------------------------------------------
35 *----------------------------------------------------------------------------*/
60 /* Bit definitions in IOA->Host Interrupt Register */
89 # define AAC_DRIVER_BRANCH "-custom"
94 #define AAC_NUM_IO_FIB (1024 - AAC_NUM_MGT_FIB)
105 /* Thor: 5 phys. buses: #0: empty, 1-4: 256 targets each */
[all …]
/Linux-v5.10/kernel/events/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
49 #include <linux/sched/clock.h>
59 typedef int (*remote_function_f)(void *);
65 int ret;
71 struct task_struct *p = tfc->p; in remote_function()
74 /* -EAGAIN */ in remote_function()
83 tfc->ret = -ESRCH; /* No such (running) process */ in remote_function()
88 tfc->ret = tfc->func(tfc->info); in remote_function()
[all …]

12