/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 …]
|
/linux/include/linux/ |
H A D | pagevec.h | 1 /* 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 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. 98 * The table's mode will be honoured for proc-fs access. 101 * under /proc; non-leaf nodes will be represented by directories. A 109 * mirrored under /proc/sys (non-terminals are handled by a built-in 122 return (void *)(unsigned long)atomic_read(&poll->even [all...] |
H A D | writeback.h | 1 /* 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 */ 75 /* To enable batching of swap writes to non-block-device backends, 85 /* internal fields used by the ->writepages implementation: */ 108 if (wbc->sync_mode == WB_SYNC_ALL) in wbc_to_write_flags() [all …]
|
/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 …]
|
/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() 38 return snd_ctl_find_id_mixer(soc_card->snd_card, name); in snd_soc_card_get_kcontrol() 45 mutex_init(&jack->mutex); in jack_new() 46 jack->card = card; in jack_new() 47 INIT_LIST_HEAD(&jack->pins); in jack_new() [all …]
|
/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 …]
|
/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 */
|
/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 17 //! [`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-zer [all...] |
/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 …]
|
/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 …]
|
/linux/rust/kernel/alloc/ |
H A D | vec_ext.rs |
|
/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 …]
|
/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 be 22 * complete. This allows the same CPU to be re-allocated its prior ID when 26 * Trace ID maps will be created and initialised to prevent architecturally 29 * API permits multiple maps to be maintained - for large systems where 57 * return: CoreSight trace ID or -EINVAL if allocation impossible. 115 * return: Trace ID or -EINVAL if allocation is impossible. 133 * Increase the perf session reference count - called by perf when setting up a 146 * zero, then all Trace IDs will be released.
|
/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 …]
|
/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 …]
|
/linux/arch/arm64/include/asm/ |
H A D | mmu_context.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 24 #include <asm/proc-fns.h> 102 struct mm_struct *mm = current->active_mm; in cpu_uninstall_idmap() 109 cpu_switch_mm(mm->pgd, mm); in cpu_uninstall_idmap() 126 * For a real hibernate/resume/kexec cycle TTBR0 currently points to a zero 127 * page, but TLBs may contain stale ASID-tagged entries (e.g. for EFI runtime 128 * services), while for a userspace-driven test_resume cycle it points to 129 * userspace page tables (and we must point it at a zero page ourselves). 140 /* avoid cpu_switch_mm() and its SW-PAN and CNP interactions */ in cpu_install_ttbr0() 177 atomic64_set(&mm->context.id, 0); in init_new_context() [all …]
|
/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 …]
|
/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()
|
/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 …]
|
/linux/Documentation/networking/ |
H A D | dccp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Introduction 10 - Missing features 11 - Socket options 12 - Sysctl variables 13 - IOCTLs 14 - Other tunables 15 - Notes 22 for real-time and multimedia (streaming) traffic. 26 implementation, this is the TCP-like CCID2 (RFC 4341). Additional CCIDs, such as [all …]
|
/linux/arch/arm64/kernel/ |
H A D | hibernate.c | 1 // 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 D | net_driver.h | 1 /* 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 D | drm_encoder.c | 80 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 D | sta.h | 1 /* 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 …]
|