/openbmc/linux/Documentation/arch/arm64/ |
H A D | booting.rst | 13 (EL0 - EL3), with EL0, EL1 and EL2 having a secure and a non-secure 33 --------------------------- 46 ------------------------- 50 The device tree blob (dtb) must be placed on an 8-byte boundary and must 59 ------------------------------ 71 ------------------------ 75 The decompressed kernel image contains a 64-byte header as follows:: 91 - As of v3.17, all fields are little endian unless stated otherwise. 93 - code0/code1 are responsible for branching to stext. 95 - when booting through EFI, code0/code1 are initially skipped. [all …]
|
/openbmc/linux/Documentation/arch/arm/ |
H A D | porting.rst | 5 Taken from list archive at http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2001-July/00406… 8 ------------------- 14 phys = virt - PAGE_OFFSET + PHYS_OFFSET 18 -------------------- 25 to be located in RAM, it can be in flash or other read-only or 26 read-write addressable medium. 29 Start address of zero-initialised work area for the decompressor. 30 This must be pointing at RAM. The decompressor will zero initialise 59 -------------- 72 always starts at zero, this is the maximum address that a user [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | transport.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 19 * @pre The pldm transport instance must be initialised; otherwise, 23 * @param[in] transport - Wait until this transport instance is ready 24 * @param[in] timeout - Wait for readiness for up to timeout milliseconds. 25 * Specifying a timeout value of zero yields an immediate return. 37 * @pre The pldm transport instance must be initialised; otherwise, 42 * @param[in] ctx - pldm transport instance 43 * @param[in] tid - destination PLDM TID 44 * @param[in] pldm_msg - caller owned pointer to PLDM msg. If this is NULL, 46 * @param[in] msg_len - size of PLDM msg. If this is less than the minimum size [all …]
|
/openbmc/linux/include/linux/ |
H A D | pagevec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * struct folio_batch - A collection of folios. 35 * folio_batch_init() - Initialise a batch of folios 38 * A freshly initialised folio_batch contains zero folios. 42 fbatch->nr = 0; in folio_batch_init() 43 fbatch->percpu_pvec_drained = false; in folio_batch_init() 48 fbatch->nr = 0; in folio_batch_reinit() 53 return fbatch->nr; in folio_batch_count() 58 return PAGEVEC_SIZE - fbatch->nr; in folio_batch_space() 62 * folio_batch_add() - Add a folio to a batch. [all …]
|
H A D | sysctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 ** The kernel will then return -ENOTDIR to any application using 93 * with an initialised array of struct ctl_table's. An entry with 94 * NULL procname terminates the table. table->de will be 95 * set up by the registration and need not be initialised in advance. 100 * The table's mode will be honoured for proc-fs access. 103 * under /proc; non-leaf nodes will be represented by directories. A 111 * mirrored under /proc/sys (non-terminals are handled by a built-in 124 return (void *)(unsigned long)atomic_read(&poll->event); in proc_sys_poll_event() 136 const char *procname; /* Text ID for /proc/sys, or zero */ [all …]
|
/openbmc/linux/drivers/media/rc/img-ir/ |
H A D | img-ir-hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright 2010-2014 Imagination Technologies Ltd. 12 #include <media/rc-core.h> 18 #define IMG_IR_CODETYPE_BIPHASE 0x2 /* RC-5/6 */ 19 #define IMG_IR_CODETYPE_2BITPULSEPOS 0x3 /* RC-MM */ 25 * struct img_ir_control - Decoder control settings 53 * struct img_ir_timing_range - range of timing values 56 * preprocessing step, so it is normally not explicitly initialised 65 * struct img_ir_symbol_timing - timing data for a symbol 75 * struct img_ir_free_timing - timing data for free time symbol [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // soc-card.c 19 case -EPROBE_DEFER: in _soc_card_ret() 20 case -ENOTSUPP: in _soc_card_ret() 24 dev_err(card->dev, in _soc_card_ret() 26 func, card->name, ret); in _soc_card_ret() 35 struct snd_card *card = soc_card->snd_card; in snd_soc_card_get_kcontrol_locked() 39 lockdep_assert_held(&card->controls_rwsem); in snd_soc_card_get_kcontrol_locked() 44 list_for_each_entry(kctl, &card->controls, list) in snd_soc_card_get_kcontrol_locked() 45 if (!strncmp(kctl->id.name, name, sizeof(kctl->id.name))) in snd_soc_card_get_kcontrol_locked() [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trace-id.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * throughout a perf cs_etm event session - a session in progress flag will 22 * complete. This allows the same CPU to be re-allocated its prior ID. 25 * Trace ID maps will be created and initialised to prevent architecturally 28 * API permits multiple maps to be maintained - for large systems where 53 * Initialised so that the reserved IDs are permanently marked as 56 * yet marked as available, to allow re-allocation to the same 77 * return: CoreSight trace ID or -EINVAL if allocation impossible. 121 * return: Trace ID or -EINVAL if allocation is impossible. 139 * Increase the perf session reference count - called by perf when setting up [all …]
|
/openbmc/linux/include/xen/interface/io/ |
H A D | tpmif.h | 19 * 3. Frontend populates ring-ref, event-channel, feature-protocol-v2 20 * 4. Frontend transitions to Initialised 21 * 5. Backend maps grant and event channel, verifies feature-protocol-v2 23 * 7. Frontend verifies feature-protocol-v2, transitions to Connected 48 uint8_t nr_extra_pages; /* extra pages for long packets; may be zero */
|
/openbmc/linux/rust/kernel/sync/ |
H A D | arc.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! A reference-counted pointer. 5 //! This module implements a way for users to create reference-counted objects and pointers to 7 //! underlying object when it reaches zero. It is also safe to use concurrently from multiple 16 //! [`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html 39 /// A reference-counted pointer to an instance of `T`. 42 /// when they are dropped. When the count reaches zero, the underlying `T` is also dropped. 46 /// The reference count on an instance of [`Arc`] is always non-zero. 59 /// // Create a ref-counted instance of `Example`. 75 /// // The refcount drops to zero when `cloned` goes out of scope, and the memory is freed. [all …]
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | start.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * U-Boot - x86 Startup Code 5 * (C) Copyright 2008-2011 16 #include <asm/processor-flags.h> 17 #include <generated/generic-asm-offsets.h> 18 #include <generated/asm-offsets.h> 28 * This is the fail-safe 32-bit bootstrap entry point. 37 /* Turn off cache (this might require a 486-class CPU) */ 43 /* Tell 32-bit code it is being entered from an in-RAM copy */ 47 * Zero the BIST (Built-In Self Test) value since we don't have it. [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-u2fzero.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * U2F Zero LED and RNG driver 6 * Loosely based on drivers/hid/hid-led.c 23 #include "hid-ids.h" 44 .name = "U2F Zero", 53 /* We only use broadcast (CID-less) messages */ 63 u8 data[HID_REPORT_SIZE - 7]; 67 u8 data[HID_REPORT_SIZE - 5]; 97 mutex_lock(&dev->lock); in u2fzero_send() 99 memcpy(dev->buf_out, req, sizeof(struct u2f_hid_report)); in u2fzero_send() [all …]
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 5 source "arch/arm/mach-s3c/Kconfig.s3c64xx" 29 int "S3C UART to use for low-level messages" 33 Choice of which UART port to use for the low-level messages, 35 this configuration should be between zero and two. The port 36 must have been initialised by the boot-loader before use. 106 Compile in platform device definition for USB high-speed OtG 132 pinctrl-samsung driver. 139 Compile support for wakeup-mask controls found on the S3C6400 140 and above. This code allows a set of interrupt to wakeup-mask [all …]
|
/openbmc/linux/drivers/base/ |
H A D | transport_class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * transport_class.c - implementation of generic transport classes 6 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> 21 * transport class<-----attribute container<----class device 23 * Usually the attribute container is per-HBA, but the design doesn't 38 * transport_class_register - register an initial transport class 40 * @tclass: a pointer to the transport class structure to be initialised 44 * zeros and then generic class must have been initialised with the 53 return class_register(&tclass->class); in transport_class_register() 58 * transport_class_unregister - unregister a previously registered class [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 28 regulator-min-microamp: [all …]
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | cache_init.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Cache-handling routined for MIPS CPUs 8 #include <asm-offsets.h> 51 srl \line_sz, $1, \off + MIPS_CONF1_DL_SHF - MIPS_CONF1_DA_SHF 53 move \sz, zero 59 srl \sz, $1, \off + MIPS_CONF1_DA_SHF - MIPS_CONF1_DA_SHF 67 srl $1, $1, \off + MIPS_CONF1_DS_SHF - MIPS_CONF1_DA_SHF 83 * mips_cache_reset - low level initialisation of the primary caches 91 * memory starting at location zero to be used as a source of parity. 94 * may clobber typically callee-saved registers. [all …]
|
/openbmc/linux/include/xen/interface/ |
H A D | memory.h | 1 /* SPDX-License-Identifier: MIT */ 17 * -ve errcode on failure, or the # extents successfully allocated or freed. 43 * I/O devices often have a 32-bit limitation even in 64-bit systems). If 44 * zero then the user has no addressing restriction. 59 * An atomic exchange of memory pages. If return code is zero then 60 * @out.extent_list provides GMFNs of the newly-allocated memory. 61 * Returns zero on complete success, otherwise a negative error code. 93 * command will be non-zero. 94 * 5. THIS FIELD MUST BE INITIALISED TO ZERO BY THE CALLER! 109 * specified domain (may be DOMID_SELF). Returns -ve errcode on failure. [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | timer.h | 6 #include "qemu/host-utils.h" 187 * in nanoseconds, or -1 if no timer is set to expire. 189 * Returns: time until expiry in nanoseconds or -1 312 * expires. Return -1 if there are no timers. 315 * timer expires -1 if none 362 * initialised. Note the memory is not freed. 386 * Returns: the deadline in nanoseconds or -1 if no 397 * @ts: the timer to be initialised 420 * @ts: the timer to be initialised 438 * @ts: the timer to be initialised [all …]
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-bitset.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include "dm-array.h" 12 /*----------------------------------------------------------------*/ 19 * Like the dm-array that it's based on, the caller needs to keep track of 20 * the size of the bitset separately. The underlying dm-array implicitly 21 * knows how many words it's storing and will return -ENODATA if you try 25 * Bits are indexed from zero. 82 * tm - the transaction manager that should supervise this structure 83 * info - the structure being initialised 89 * Create an empty, zero length bitset. [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | mmu_context.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 #include <asm/proc-fns.h> 23 #include <asm-generic/mm_hooks.h> 103 struct mm_struct *mm = current->active_mm; in cpu_uninstall_idmap() 110 cpu_switch_mm(mm->pgd, mm); in cpu_uninstall_idmap() 132 * For a real hibernate/resume/kexec cycle TTBR0 currently points to a zero 133 * page, but TLBs may contain stale ASID-tagged entries (e.g. for EFI runtime 134 * services), while for a userspace-driven test_resume cycle it points to 135 * userspace page tables (and we must point it at a zero page ourselves). 146 /* avoid cpu_switch_mm() and its SW-PAN and CNP interactions */ in cpu_install_ttbr0() [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | context.c | 1 // SPDX-License-Identifier: GPL-2.0 94 * context-switch in flush_context() 146 * We had a valid MMID in a previous life, so try to re-use in get_new_mmid() 192 * MMID switch fast-path, to avoid acquiring cpu_mmid_lock when it's in check_switch_mmu_context() 195 * The memory ordering here is subtle. If our active_mmids is non-zero in check_switch_mmu_context() 200 * - We get a zero back from the cmpxchg and end up waiting on in check_switch_mmu_context() 205 * - We get a valid MMID back from the cmpxchg, which means the in check_switch_mmu_context() 263 TLBMISS_HANDLER_SETUP_PGD(mm->pgd); in check_switch_mmu_context() 287 pr_info("MMID allocator initialised with %u entries\n", num_mmids); in mmid_init()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | subcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 * A core can be in one of three states, unsplit, 2-way split, and 4-way split. 37 * ------------|------------------ 39 * 2-way split | 2 40 * 4-way split | 4 46 * ---------------------------- 48 * ---------------------------- 50 * ---------------------------- 52 * 2-way split: 53 * ------------------------------------- [all …]
|
/openbmc/linux/drivers/md/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \ 7 dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.o \ 8 dm-rq.o dm-io-rewind.o 9 dm-multipath-y += dm-path-selector.o dm-mpath.o 10 dm-historical-service-time-y += dm-ps-historical-service-time.o 11 dm-io-affinity-y += dm-ps-io-affinity.o 12 dm-queue-length-y += dm-ps-queue-length.o 13 dm-round-robin-y += dm-ps-round-robin.o 14 dm-service-time-y += dm-ps-service-time.o [all …]
|
/openbmc/libpldm/src/requester/ |
H A D | instance-id.c | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 2 // NOLINTNEXTLINE(bugprone-reserved-identifier,cert-dcl37-c,cert-dcl51-cpp) 3 #include <libpldm/instance-id.h> 41 /* Make sure the provided pointer was initialised to NULL. In the future in pldm_instance_db_init() 46 return -EINVAL; in pldm_instance_db_init() 53 return -EINVAL; in pldm_instance_db_init() 58 return -EINVAL; in pldm_instance_db_init() 63 return -ENOMEM; in pldm_instance_db_init() 66 /* Initialise previous ID values so the next one is zero */ in pldm_instance_db_init() 68 l_ctx->state[i].prev = 31; in pldm_instance_db_init() [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_bmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 57 * unwritten extent conversion - this needs write cache flushing and no additional 64 * allocate zeroed extents - this requires all newly allocated user data extents 65 * to be initialised to zero. It will be ignored if XFS_BMAPI_METADATA is set. 72 * Map the inode offset to the block given in ap->firstblock. Primarily 97 { XFS_BMAPI_ZERO, "ZERO" }, \ 122 #define DELAYSTARTBLOCK ((xfs_fsblock_t)-1LL) 123 #define HOLESTARTBLOCK ((xfs_fsblock_t)-2LL) 150 return irec->br_startblock != HOLESTARTBLOCK && in xfs_bmap_is_real_extent() [all …]
|