Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/sched/
H A 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 …]
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 1991-2002 Linus Torvalds
24 #include "../../io_uring/io-wq.h"
70 const_debug unsigned int sysctl_sched_features =
81 const_debug unsigned int sysctl_sched_nr_migrate = 32;
84 * period over which we measure -rt task CPU usage in us.
87 unsigned int sysctl_sched_rt_period = 1000000;
89 __read_mostly int scheduler_running;
95 int sysctl_sched_rt_runtime = 950000;
103 * p->pi_lock
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/pl111/
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-of-at91.c1 // 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 …]
H A 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-cqhci.h"
29 #include "sdhci-pltfm.h"
48 /* Default settings for ZynqMP Clock Phases */
56 * On some SoCs the syscon area has a feature where the upper 16-bits of
57 * each 32-bit register act as a write mask for the lower 16-bits. This allows
[all …]
H A 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.
167 #define SDHCI_INT_ALL_MASK ((unsigned int)-1)
189 #define SDHCI_CTRL_HS400 0x0005 /* Non-standard */
234 #define SDHCI_SUPPORT_HS400 0x80000000 /* Non-standard */
243 /* 4C-4F reserved for more max current */
250 /* 55-57 reserved */
255 /* 60-FB reserved */
263 #define SDHCI_PRESET_FOR_HS400 0x74 /* Non-standard */
[all …]
H A Dsdhci-pci-o2micro.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "sdhci-pci.h"
91 mmc_hostname(host->mmc)); in sdhci_o2_wait_card_detect_stable()
126 pr_err("%s: Internal clock never stabilised.\n", in sdhci_o2_enable_internal_clock()
127 mmc_hostname(host->mmc)); in sdhci_o2_enable_internal_clock()
145 static int sdhci_o2_get_cd(struct mmc_host *mmc) in sdhci_o2_get_cd()
161 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk()
167 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk()
182 static int sdhci_o2_wait_dll_detect_lock(struct sdhci_host *host) in sdhci_o2_wait_dll_detect_lock()
202 int i; in __sdhci_o2_execute_tuning()
[all …]
H A 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>
43 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
46 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
50 static unsigned int debug_quirks = 0;
51 static unsigned int debug_quirks2;
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/
H A Dclock.c2 * Copyright (c) 2010-2015, NVIDIA CORPORATION. All rights reserved.
4 * SPDX-License-Identifier: GPL-2.0
7 /* Tegra SoC common clock control functions */
14 #include <asm/arch/clock.h>
16 #include <asm/arch-tegra/ap.h>
17 #include <asm/arch-tegra/clk_rst.h>
18 #include <asm/arch-tegra/pmc.h>
19 #include <asm/arch-tegra/timer.h>
22 * This is our record of the current clock rate of each clock. We don't
51 /* number of clock outputs of a PLL */
[all …]
/OK3568_Linux_fs/kernel/arch/x86/
H A 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:
26 # Options that are inherently 64-bit kernel only:
51 # ported to 32-bit as well. )
260 default "elf32-i386" if X86_32
261 default "elf64-x86-64" if X86_64
375 int
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A 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
112 static int sync_regs(struct kvm_vcpu *vcpu);
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/input/serio/
H A Di8042.c1 // 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.");
126 …enable (may reveal sensitive data) of normally sanitize-filtered kbd data traffic debug log [pre-c…
155 int irq;
177 static irqreturn_t i8042_interrupt(int irq, void *dev_id);
193 int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, in i8042_install_filter()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A 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 …]
/OK3568_Linux_fs/kernel/sound/pci/cs46xx/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A 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 …]
H A 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()
159 intel_dp->sink_rates[0] = 162000; in intel_dp_set_default_sink_rates()
160 intel_dp->num_sink_rates = 1; in intel_dp_set_default_sink_rates()
166 static const int dp_rates[] = { in intel_dp_set_sink_rates()
169 int i, max_rate; in intel_dp_set_sink_rates()
171 if (drm_dp_has_quirk(&intel_dp->desc, 0, in intel_dp_set_sink_rates()
174 static const int quirk_rates[] = { 162000, 270000, 324000 }; in intel_dp_set_sink_rates()
176 memcpy(intel_dp->sink_rates, quirk_rates, sizeof(quirk_rates)); in intel_dp_set_sink_rates()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/aacraid/
H A 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 …]
/OK3568_Linux_fs/u-boot/
H A DREADME2 # (C) Copyright 2000 - 2013
5 # SPDX-License-Identifier: GPL-2.0+
11 This directory contains the source code for U-Boot, a boot loader for
17 The development of U-Boot is closely related to Linux: some parts of
39 scattered throughout the U-Boot source identifying the people or
43 actual U-Boot source tree; however, it can be created dynamically
53 U-Boot, you should send a message to the U-Boot mailing list at
54 <u-boot@lists.denx.de>. There is also an archive of previous traffic
55 on the mailing list - please search the archive before asking FAQ's.
56 Please see http://lists.denx.de/pipermail/u-boot and
[all …]

123