/openbmc/qemu/include/qemu/ |
H A D | hbitmap.h | 9 * later. See the COPYING file in the top-level directory. 16 #include "host-utils.h" 23 /* For 32-bit, the largest that fits in a 4 GiB address space. 24 * For 64-bit, the number of sectors in 1 PiB. Good luck, in 42 /* Entry offset into the last-level array of longs. */ 45 /* The currently-active path in the tree. Each item of cur[i] stores 110 * @start: First bit to set (0-based). 120 * @start: First bit to reset (0-based). 125 * is resetting the tail of the bitmap: @count may be equal to hb->orig_size - 127 * allowed to be greater than hb->orig_size, but only if @start < hb->orig_size [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-javaobj-py3_0.4.4.bb | 1 SUMMARY = "Module for serializing and de-serializing Java objects." 2 DESCRIPTION = "python-javaobj is a python library that provides functions\ 3 for reading and writing (writing is WIP currently) Java objects serialized\ 6 HOMEPAGE = "https://github.com/tcalmant/python-javaobj" 7 LICENSE = "Apache-2.0" 17 python3-compression \ 18 python3-logging \
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A 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 …]
|
/openbmc/linux/arch/s390/appldata/ |
H A 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 …]
|
/openbmc/linux/include/linux/ |
H A 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 …]
|
H A D | interrupt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 43 * IRQF_SHARED - allow sharing the irq among several devices 44 * IRQF_PROBE_SHARED - set by callers when they expect sharing mismatches to occur 45 * IRQF_TIMER - Flag to mark this interrupt as timer interrupt 46 * IRQF_PERCPU - Interrupt is per cpu 47 * IRQF_NOBALANCING - Flag to exclude this interrupt from irq balancing 48 * IRQF_IRQPOLL - Interrupt is used for polling (only the interrupt that is 51 * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished. 54 * IRQF_NO_SUSPEND - Do not disable this IRQ during suspend. Does not guarantee 56 * state. See Documentation/power/suspend-and-interrupts.rst [all …]
|
H A D | sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 34 #include <linux/posix-timers.h> 77 * We have two separate sets of flags: task->__state 78 * is about runnability, while task->exit_state are 84 /* Used in tsk->__state: */ 90 /* Used in tsk->exit_state: */ 94 /* Used in tsk->__state again: */ 107 #define TASK_ANY (TASK_STATE_MAX- [all...] |
/openbmc/linux/Documentation/core-api/ |
H A 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 81 from the map depending on the event is hot-add/hot-remove. There are currently 86 be read-only for most use. When setting up per-cpu resources almost always use 100 $ ls -lh /sys/devices/system/cpu 102 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 103 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 104 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 [all …]
|
/openbmc/linux/lib/reed_solomon/ |
H A 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 …]
|
/openbmc/linux/kernel/ |
H A 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) 96 if (!list_empty(&domain->pending)) in lowest_in_progress() 97 first = list_first_entry(&domain->pending, in lowest_in_progress() 106 ret = first->cookie; in lowest_in_progress() 123 pr_debug("calling %lli_%pS @ %i\n", (long long)entry->cookie, in async_run_entry_fn() 124 entry->func, task_pid_nr(current)); in async_run_entry_fn() [all …]
|
H A D | profile.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Simple profiling. Manages a direct-mapped profile hit count buffer, 9 * Scheduler profiling support, Arjan van de Ven and Ingo Molnar, 13 * Amortized hit count accounting via per-cpu open-addressed hashtables 71 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 81 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup() 98 prof_len = (_etext - _stext) >> prof_shift; in profile_init() 103 return -EINVAL; in profile_init() 109 return -ENOMEM; in profile_init() 127 return -ENOMEM; in profile_init() [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A 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 …]
|
/openbmc/linux/Documentation/virt/kvm/x86/ |
H A 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 …]
|
/openbmc/linux/drivers/s390/char/ |
H A 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. 89 * (cdev) using the urd->cdev pointer. Each ccw device has a reference to the 90 * ur device using dev_get_drvdata(&cdev->dev) pointer. 93 * - ur_probe gets a urd reference, ur_remove drops the reference 94 * dev_get_drvdata(&cdev->dev) 95 * - ur_open gets a urd reference, ur_release drops the reference 96 * (urf->urd) [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A 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 …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | start.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2000,2001,2002 Wolfgang Denk <wd@denx.de> 8 /* U-Boot - Startup Code for PowerPC based Embedded Boards 23 #include <asm-offsets.h> 33 #include <asm/u-boot.h> 60 * r3 - 1st arg to board_init(): IMMP pointer 61 * r4 - 2nd arg to board_init(): boot flag 64 .long 0x27051956 /* U-Boot Magic Number */ 76 /*----------------------------------------------------------------------*/ 84 /*----------------------------------------------------------------------*/ [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/microcode/ |
H A 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> 55 * All non cpu-hotplug-callback call sites use: 57 * - cpus_read_lock/unlock() to synchronize with 58 * the cpu-hotplug-callback call sites. 77 0, /* T-101 terminator */ 86 * - true: if update should stop 87 * - false: otherwise [all …]
|
/openbmc/linux/Documentation/driver-api/soundwire/ |
H A 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 …]
|
/openbmc/linux/drivers/nvdimm/ |
H A 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 …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A 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 …]
|
/openbmc/linux/arch/x86/kernel/ |
H A 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> 172 if (!--smpboot_warm_reset_vector_count) { in smpboot_restore_warm_reset_vector() 250 * 32-bit specific. 64-bit reaches this code with the correct page in start_secondary() 263 * point below so it is not part of the full per CPU serialized in start_secondary() 274 * CPUID, MSRs etc. must be strictly serialized to maintain in start_secondary() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | sd_zbc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014-2015 SUSE Linux GmbH 6 * Written by: Hannes Reinecke <hare@suse.de> 27 * sd_zbc_get_zone_wp_offset - Get zone write pointer offset. 34 if (zone->type == ZBC_ZONE_TYPE_CONV) in sd_zbc_get_zone_wp_offset() 37 switch (zone->cond) { in sd_zbc_get_zone_wp_offset() 41 return zone->wp - zone->start; in sd_zbc_get_zone_wp_offset() 43 return zone->len; in sd_zbc_get_zone_wp_offset() 49 * Offline and read-only zones do not have a valid in sd_zbc_get_zone_wp_offset() 63 * sd_zbc_parse_report - Parse a SCSI zone descriptor [all …]
|
/openbmc/linux/fs/ |
H A 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 40 * dcache->d_inode->i_lock protects: 41 * - i_dentry, d_u.d_alias, d_inode of aliases 43 * - the dcache hash table 45 * - the s_roots list (see __d_drop) 46 * dentry->d_sb->s_dentry_lru_lock protects: 47 * - the dcache lru lists and counters 49 * - d_flags [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A 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) 44 * chsc_error_from_response() - convert a chsc response to an error 61 return -EINVAL; in chsc_error_from_response() 64 return -EOPNOTSUPP; in chsc_error_from_response() 67 return -EBUSY; in chsc_error_from_response() 70 return -ENOMEM; in chsc_error_from_response() [all …]
|