| /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 | 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 */ 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 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/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/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/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/virt/coco/arm-cca-guest/ |
| H A D | arm-cca-guest.c | 1 // 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/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/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/include/linux/raspberrypi/ |
| H A D | vchiq_core.h | 1 /* 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/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/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/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-configur [all...] |
| H A D | mte.c | 1 // SPDX-License-Identifier: GPL-2.0-only 60 /* if PG_mte_tagged is set, tags have already been initialised */ in mte_sync_tags() 86 * tagged, return non-zero to avoid KSM merging. If only one of the in memcmp_pages() 87 * pages is tagged, __set_ptes() may zero or change the tags of the in memcmp_pages() 168 return -EINVAL; in mte_enable_kernel_store_only() 189 * (per ARM DDI 0487F.c table D13-1). in mte_check_tfsr_el1() 211 unsigned long sctlr = task->thread.sctlr_user; in mte_update_sctlr_user() 212 unsigned long mte_ctrl = task->thread.mte_ctrl; in mte_update_sctlr_user() 237 task->thread.sctlr_user = sctlr; in mte_update_sctlr_user() 243 * SYS_GCR_EL1 will be set to current->thread.mte_ctrl value by in mte_update_gcr_excl() [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/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/arch/arm64/mm/ |
| H A D | context.c | 1 // 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/fs/xfs/ |
| H A D | xfs_mru_cache.c | 1 // 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/net/ethernet/sfc/ |
| 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. 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/drivers/tty/serial/ |
| H A D | zs.h | 1 /* 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 …]
|
| /linux/include/net/ |
| H A D | mctp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 82 * by sk->net->keys_lock 97 * - individual key data (ie, the struct itself) is protected by key->lock; 100 * - the lookup fields: peer_addr, local_addr and tag are set before the 103 * - A ref to the key must be held (throuh key->refs) if a pointer to the 104 * key is to be accessed after key->lock is released. 106 * - a mctp_sk_key contains a reference to a struct sock; this is valid 110 * - these mctp_sk_keys appear on two lists: 111 * 1) the struct mctp_sock->keys list 112 * 2) the struct netns_mctp->keys list [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs4client.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() 35 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr() 38 spin_lock(&nn->nfs_client_lock); in nfs_get_cb_ident_idr() 39 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT); in nfs_get_cb_ident_idr() 41 clp->cl_cb_ident = ret; in nfs_get_cb_ident_idr() 42 spin_unlock(&nn->nfs_client_lock); in nfs_get_cb_ident_idr() 52 struct list_head list; /* ds_clp->cl_ds_clients */ 57 * nfs4_find_ds_client - Common lookup case for DS I/O 67 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { in nfs4_find_ds_client() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
| H A D | ia_css_eed1_8.host.c | 1 // SPDX-License-Identifier: GPL-2.0 33 -7171, -256, -29, -3456, -1071, -475, -189, -102, 34 -48, -38, -10, -9, -7, -6, 0 52 -6364, -631, -126, -34, -13, -6, -4452, -2156, 0 68 -5244, -486, -86, -2849, -961, -400, -180, -86, 0 93 to->e_dew_enh_x[0][i] = 0; in ia_css_eed1_8_vmem_encode() 94 to->e_dew_enh_y[0][i] = 0; in ia_css_eed1_8_vmem_encode() 95 to->e_dew_enh_a[0][i] = 0; in ia_css_eed1_8_vmem_encode() 96 to->e_dew_enh_f[0][i] = 0; in ia_css_eed1_8_vmem_encode() 97 to->chgrinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode() [all …]
|