Home
last modified time | relevance | path

Searched +full:zero +full:- +full:initialised (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/Documentation/arch/arm64/
H A Dbooting.rst13 (EL0 - EL3), with EL0, EL1 and EL2 having a secure and a non-secure
33 ---------------------------
49 -------------------------
53 The device tree blob (dtb) must be placed on an 8-byte boundary and must
62 ------------------------------
74 ------------------------
78 The decompressed kernel image contains a 64-byte header as follows::
94 - As of v3.17, all fields are little endian unless stated otherwise.
96 - code0/code1 are responsible for branching to stext.
98 - when booting through EFI, code0/code1 are initially skipped.
[all …]
/linux/Documentation/arch/arm/
H A Dporting.rst5 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 …]
/linux/include/linux/
H A Dpagevec.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * struct folio_batch - A collection of folios.
36 * folio_batch_init() - Initialise a batch of folios
39 * A freshly initialised folio_batch contains zero folios.
43 fbatch->nr = 0; in folio_batch_init()
44 fbatch->i = 0; in folio_batch_init()
45 fbatch->percpu_pvec_drained = false; in folio_batch_init()
50 fbatch->nr = 0; in folio_batch_reinit()
51 fbatch->i = 0; in folio_batch_reinit()
56 return fbatch->nr; in folio_batch_count()
[all …]
H A Dwriteback.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/backing-dev-defs.h>
31 * fs/fs-writeback.c
40 * always on the stack, and hence need no locking. They are always initialised
41 * in a manner such that unspecified fields are set to zero.
50 * For a_ops->writepages(): if start or end are non-zero then this is
61 unsigned tagged_writepages:1; /* tag-and-write to avoid livelock */
74 /* internal fields used by the ->writepages implementation: */
97 if (wbc->sync_mode == WB_SYNC_ALL) in wbc_to_write_flags()
99 else if (wbc->for_kupdate || wbc->for_background) in wbc_to_write_flags()
[all …]
/linux/drivers/media/rc/img-ir/
H A Dimg-ir-hw.h1 /* 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 …]
/linux/drivers/hid/
H A Dhid-u2fzero.c1 // 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 …]
/linux/include/xen/interface/io/
H A Dtpmif.h19 * 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 */
/linux/drivers/virt/coco/arm-cca-guest/
H A Darm-cca-guest.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/arm-smccc.h>
18 * struct arm_cca_token_info - a descriptor for the token buffer.
39 info->result = rsi_attestation_token_init(info->challenge, in arm_cca_attestation_init()
40 info->challenge_size); in arm_cca_attestation_init()
44 * arm_cca_attestation_continue - Retrieve the attestation token data.
51 * attestation token generation was initialised.
63 size = RSI_GRANULE_SIZE - info->offset; in arm_cca_attestation_continue()
64 info->result = rsi_attestation_token_continue(info->granule, in arm_cca_attestation_continue()
65 info->offset, size, &len); in arm_cca_attestation_continue()
[all …]
/linux/arch/arm/mach-s3c/
H A DKconfig1 # 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 …]
/linux/rust/kernel/sync/
H A Darc.rs1 // 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
17 //! [`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html
41 /// A reference-counted pointer to an instance of `T`.
44 /// when they are dropped. When the count reaches zero, the underlying `T` is also dropped.
48 /// The reference count on an instance of [`Arc`] is always non-zer
[all...]
/linux/drivers/base/
H A Dtransport_class.c1 // 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 …]
/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
9 #include <linux/dma-mapping.h>
21 /* Do this so that we can test-build the code on non-rpi systems */
35 #define VCHIQ_MAX_MSG_SIZE (VCHIQ_SLOT_SIZE - sizeof(struct vchiq_header))
37 #define VCHIQ_SLOT_MASK (VCHIQ_SLOT_SIZE - 1)
38 #define VCHIQ_SLOT_QUEUE_MASK (VCHIQ_MAX_SLOTS_PER_SIDE - 1)
67 #define DEBUG_INITIALISE(local) int *debug_ptr = (local)->debug
145 * are non-counting. They are designed in such a way as to minimise the number
149 * comprises two booleans - armed and fired:
[all …]
/linux/include/xen/interface/
H A Dmemory.h1 /* 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 …]
/linux/drivers/md/persistent-data/
H A Ddm-bitset.h1 /* 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 …]
/linux/arch/powerpc/platforms/powernv/
H A Dsubcore.c1 // 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 …]
/linux/arch/mips/mm/
H A Dcontext.c1 // 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()
/linux/arch/arm64/kernel/
H A Dhibernate.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Ubuntu project, hibernation support for mach-dove
50 /* hyp-stub vectors, used to restore el2 during resume from hibernate. */
54 * The logical cpu number we should resume on, initialised to a non-cpu
57 static int sleep_cpu = -EINVAL;
78 * re-configure el2.
88 memcpy(i->uts_version, init_utsname()->version, sizeof(i->uts_version)); in arch_hdr_invariants()
94 unsigned long nosave_end_pfn = sym_to_pfn(&__nosave_end - 1); in pfn_is_nosave()
113 return -EOVERFLOW; in arch_hibernation_header_save()
115 arch_hdr_invariants(&hdr->invariants); in arch_hibernation_header_save()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
61 /* Checksum generation is a per-queue option in hardware, so each
68 #define EFX_TXQ_TYPE_HIGHPRI 4 /* High-priority (for TC) */
70 /* HIGHPRI is Siena-only, and INNER_CSUM is EF10, so no need for both */
86 #define EFX_RX_USR_BUF_SIZE (2048 - 256)
89 * of every buffer. Otherwise, we just need to ensure 4-byte
98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and
111 * struct efx_buffer - A general-purpose DMA buffer
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_encoder.c80 if (encoder->funcs && encoder->funcs->late_register) in drm_encoder_register_all()
81 ret = encoder->funcs->late_register(encoder); in drm_encoder_register_all()
94 if (encoder->funcs && encoder->funcs->early_unregister) in drm_encoder_unregister_all()
95 encoder->funcs->early_unregister(encoder); in drm_encoder_unregister_all()
109 if (WARN_ON(dev->mode_config.num_encoder >= 32)) in __drm_encoder_init()
110 return -EINVAL; in __drm_encoder_init()
112 ret = drm_mode_object_add(dev, &encoder->base, DRM_MODE_OBJECT_ENCODER); in __drm_encoder_init()
116 encoder->dev = dev; in __drm_encoder_init()
117 encoder->encoder_type = encoder_type; in __drm_encoder_init()
118 encoder->funcs = funcs; in __drm_encoder_init()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dsta.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2021, 2023 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
11 * enum iwl_sta_flags - flags for the ADD_STA host command
21 * @STA_FLG_MAX_AGG_SIZE_MSK: maximal size for A-MPDU (mask)
22 * @STA_FLG_MAX_AGG_SIZE_SHIFT: maximal size for A-MPDU (bit shift)
23 * @STA_FLG_MAX_AGG_SIZE_8K: maximal size for A-MPDU (8k supported)
24 * @STA_FLG_MAX_AGG_SIZE_16K: maximal size for A-MPDU (16k supported)
25 * @STA_FLG_MAX_AGG_SIZE_32K: maximal size for A-MPDU (32k supported)
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dnet_driver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
63 /* Checksum generation is a per-queue option in hardware, so each
86 #define EFX_RX_USR_BUF_SIZE (2048 - 256)
89 * of every buffer. Otherwise, we just need to ensure 4-byte
98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and
111 * struct efx_buffer - A general-purpose DMA buffer
126 * struct efx_tx_buffer - buffer state for a TX descriptor
131 * @option: When @flags & %EFX_TX_BUF_OPTION, an EF10-specific option
[all …]
/linux/arch/arm64/mm/
H A Dcontext.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2002-2003 Deep Blue Solutions Ltd, all rights reserved.
34 #define ASID_MASK (~GENMASK(asid_bits - 1, 0))
50 pr_warn("CPU%d: Unknown ASID size (%d); assuming 8-bit\n", in get_cpu_asid_bits()
129 * context-switch in flush_context()
161 u64 asid = atomic64_read(&mm->context.id); in new_context()
179 if (refcount_read(&mm->context.pinned)) in new_context()
183 * We had a valid ASID in a previous life, so try to re-use in new_context()
224 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
228 * If our active_asids is non-zero and the ASID matches the current in check_and_switch_context()
[all …]
/linux/sound/hda/core/
H A Dregmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap support for HD-audio verbs
9 * - Provided for not all verbs but only subset standard non-volatile verbs.
10 * - For reading, only AC_VERB_GET_* variants can be used.
11 * - For writing, mapped to the *corresponding* AC_VERB_SET_* variants,
45 return !codec->cache_coe in hda_volatile_reg()
[all...]
/linux/fs/xfs/
H A Dxfs_mru_cache.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2006-2007 Silicon Graphics, Inc.
23 * period in time. When the first element is added, time zero for the data
24 * structure is initialised to the current time.
29 * inserted at the head of the current most-recently-used list.
88 * likely result in a loop in one of the lists. That's a sure-fire recipe for
98 unsigned int lru_grp; /* Group containing time zero. */
115 * list again and again until either a) the lists are all empty, or b) time zero
123 * zero if there's no need to schedule more work because the lists are empty.
135 if (!mru->time_zero) in _xfs_mru_cache_migrate()
[all …]
/linux/drivers/tty/serial/
H A Dzs.h1 /* SPDX-License-Identifier: GPL-2.0 */
38 * Per-SCC state for locking and the interrupt handler.
44 int initialised; member
53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
144 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */
154 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */
156 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */
220 #define ZCIE 2 /* Zero count IE */
230 #define ZCOUNT 0x2 /* Zero count */
255 /* Read Register 2 (Interrupt Vector (WR2) -- channel A). */
[all …]

1234567