/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 33 description: Lock detect GPIO. 35 adi,channel-spacing: [all …]
|
/openbmc/linux/drivers/iio/frequency/ |
H A D | adf4350.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 Analog Devices Inc. 47 unsigned long regs[6]; 48 unsigned long regs_hw[6]; 51 * Lock to protect the state of the device from potential concurrent 53 * and this lock is meant to prevent the start of another sequence 56 struct mutex lock; member 77 for (i = ADF4350_REG5; i >= ADF4350_REG0; i--) { in adf4350_sync_config() 78 if ((st->regs_hw[i] != st->regs[i]) || in adf4350_sync_config() 87 st->val = cpu_to_be32(st->regs[i] | i); in adf4350_sync_config() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | tsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #include <asm/intel-family.h> 80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in __cyc2ns_read() 81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in __cyc2ns_read() 82 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in __cyc2ns_read() 102 * ns = cycles / (freq / ns_per_sec) 103 * ns = cycles * (ns_per_sec / freq) 104 * ns = cycles * (10^9 / (cpu_khz * 10^3)) 105 * ns = cycles * (10^6 / cpu_khz) 108 * ns = cycles * (10^6 * SC / cpu_khz) / SC [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v6_0.c | 59 static const u32 crtc_offsets[6] = 71 mmDC_HPD1_INT_STATUS - mmDC_HPD1_INT_STATUS, 72 mmDC_HPD2_INT_STATUS - mmDC_HPD1_INT_STATUS, 73 mmDC_HPD3_INT_STATUS - mmDC_HPD1_INT_STATUS, 74 mmDC_HPD4_INT_STATUS - mmDC_HPD1_INT_STATUS, 75 mmDC_HPD5_INT_STATUS - mmDC_HPD1_INT_STATUS, 76 mmDC_HPD6_INT_STATUS - mmDC_HPD1_INT_STATUS, 86 (0x13830 - 0x7030) >> 2, 95 } interrupt_status_offsets[6] = { { 133 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v6_0_audio_endpt_rreg() [all …]
|
H A D | dce_v8_0.c | 56 static const u32 crtc_offsets[6] = { 81 (0x13830 - 0x7030) >> 2, 90 } interrupt_status_offsets[6] = { { 128 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_rreg() 131 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_rreg() 141 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_wreg() 144 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_wreg() 149 if (crtc >= adev->mode_info.num_crtc) in dce_v8_0_vblank_get_counter() 159 /* Enable pflip interrupts */ in dce_v8_0_pageflip_interrupt_init() 160 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v8_0_pageflip_interrupt_init() [all …]
|
H A D | dce_v11_0.c | 163 switch (adev->asic_type) { in dce_v11_0_init_golden_registers() 200 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v11_0_audio_endpt_rreg() 203 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v11_0_audio_endpt_rreg() 213 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v11_0_audio_endpt_wreg() 216 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v11_0_audio_endpt_wreg() 221 if (crtc < 0 || crtc >= adev->mode_info.num_crtc) in dce_v11_0_vblank_get_counter() 231 /* Enable pflip interrupts */ in dce_v11_0_pageflip_interrupt_init() 232 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v11_0_pageflip_interrupt_init() 233 amdgpu_irq_get(adev, &adev->pageflip_irq, i); in dce_v11_0_pageflip_interrupt_init() 241 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v11_0_pageflip_interrupt_fini() [all …]
|
H A D | dce_v10_0.c | 148 switch (adev->asic_type) { in dce_v10_0_init_golden_registers() 176 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_rreg() 179 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_rreg() 189 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_wreg() 192 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_wreg() 197 if (crtc >= adev->mode_info.num_crtc) in dce_v10_0_vblank_get_counter() 207 /* Enable pflip interrupts */ in dce_v10_0_pageflip_interrupt_init() 208 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v10_0_pageflip_interrupt_init() 209 amdgpu_irq_get(adev, &adev->pageflip_irq, i); in dce_v10_0_pageflip_interrupt_init() 217 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v10_0_pageflip_interrupt_fini() [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | xfs-online-fsck-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Heading 3 uses "----" 11 Heading 6 uses "~~~~" 25 - To help kernel distributors understand exactly what the XFS online fsck 28 - To help people reading the code to familiarize themselves with the relevant 31 - To help developers maintaining the system by capturing the reasons 46 Parts 5 and 6 show off the high level components and how they fit together, and 59 - Provide a hierarchy of names through which application programs can associate 62 - Virtualize physical storage media across those names, and 64 - Retrieve the named data blobs at any time. [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 1 // SPDX-License-Identifier: MIT 46 .m2 = { .min = 6, .max = 16 }, 59 .m2 = { .min = 6, .max = 16 }, 72 .m2 = { .min = 6, .max = 16 }, 74 .p1 = { .min = 1, .max = 6 }, 82 .n = { .min = 1, .max = 6 }, 95 .n = { .min = 1, .max = 6 }, 156 .p1 = { .min = 2, .max = 6 }, 166 .n = { .min = 3, .max = 6 }, 180 .n = { .min = 3, .max = 6 }, [all …]
|
/openbmc/linux/drivers/firewire/ |
H A D | ohci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2003-2006 Kristian Hoegsberg <krh@bitplanet.net> 13 #include <linux/dma-mapping.h> 15 #include <linux/firewire-constants.h> 44 #define ohci_info(ohci, f, args...) dev_info(ohci->card.device, f, ##args) 45 #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args) 46 #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args) 55 #define DESCRIPTOR_YY (1 << 6) 106 * A buffer that contains a block of DMA-able coherent memory used for 126 * List of page-sized buffers for storing DMA descriptors. [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 43 #include <linux/memory-tiers.h> 61 * The initial- and re-scaling of tunables is configurable 65 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 66 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus) 67 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 74 * Minimal preemption granularity for CPU-bound tasks: 108 return -cpu; in arch_asym_cpu_priority() 129 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 188 lw->weight += inc; in update_load_add() [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # exported-sql-viewer.py: view data from sql database 4 # Copyright (c) 2014-2018, Intel Corporation. 7 # export-to-sqlite.py or the export-to-postgresql.py script. Refer to those 11 # call-graph can be displayed for the pt_example database like this: 13 # python tools/perf/scripts/python/exported-sql-viewer.py pt_example 18 # python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password… 20 # The result is a GUI window with a tree representing a context-sensitive 21 # call-graph. Expanding a couple of levels of the tree and adjusting column 25 # Call Path Object Count Time(ns) Time(%) Branch Count Branch C… [all …]
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 6 * SPDX-License-Identifier: GPL-2.0-or-later 14 #include "cpu-features.h" 15 #include "exec/helper-proto.h" 16 #include "qemu/main-loop.h" 20 #include "qemu/qemu-print.h" 21 #include "exec/exec-all.h" 24 #include "sysemu/cpu-timers.h" 28 #include "qemu/guest-random.h" 30 #include "semihosting/common-semi.h" 41 assert(ri->fieldoffset); in raw_read() [all …]
|
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/ |
H A D | 0004-mmal_20.patch | 1 Upstream-Status: Inappropriate 3 RPI-Distro repo forks original vlc and applies patches 4 to enable raspiberry pi support. 6 --- a/configure.ac 8 @@ -3478,6 +3478,9 @@ dnl 10 AS_HELP_STRING([--enable-mmal], 11 [Multi-Media Abstraction Layer (MMAL) hardware plugin (default enable)])) 13 + AS_HELP_STRING([--enable-mmal-avcodec], 17 LDFLAGS="${LDFLAGS} -L/opt/vc/lib -lvchostif" 18 @@ -3488,7 +3491,7 @@ if test "${enable_mmal}" != "no"; then [all …]
|
/openbmc/linux/kernel/cgroup/ |
H A D | cpuset.c | 7 * Copyright (C) 2004-2007 Silicon Graphics, Inc. 11 * sysfs is Copyright (c) 2001-3 Patrick Mochel 13 * 2003-10-10 Written by Simon Derr. 14 * 2003-10-22 Updates by Stephen Hemminger. 15 * 2004 May-July Rework by Paul Jackson. 24 #include "cgroup-internal.h" 53 * node binding, add this key to provide a quick low-cost judgment 64 spinlock_t lock; /* guards read or write of above */ member 99 * The user-configured masks can only be changed by writing to 113 * The user-configured masks are always the same with effective masks. [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 74 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 200 /*----------------------------------------------------------------------------- 202 ----------------------------------------------------------------------------*/ 204 /*----------------------------------------------------------------------------- 206 ----------------------------------------------------------------------------*/ 208 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 225 * \brief Timeout value for waiting on demod lock during channel scan (millisec). [all …]
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 28 #include "exec/page-protection.h" 112 #include <linux/dm-ioctl.h> 133 #include "user-internals.h" 135 #include "signal-common.h" 137 #include "user-mmap.h" 138 #include "user/safe-syscall.h" 139 #include "qemu/guest-random.h" 141 #include "user/syscall-trace.h" 142 #include "special-errno.h" 144 #include "fd-trans.h" [all …]
|