/linux-6.14.4/arch/s390/boot/ |
D | vmem.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <asm/page-states.h> 63 static bool is_kasan_populate_mode(enum populate_mode mode) in is_kasan_populate_mode() argument 66 return mode >= POPULATE_KASAN_MAP_SHADOW; in is_kasan_populate_mode() 72 static void pgtable_populate(unsigned long addr, unsigned long end, enum populate_mode mode); 85 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() argument 90 boot_debug("%-17s 0x%016lx-0x%016lx >> 0x%016lx-0x%016lx\n", get_populate_mode_name(mode), in kasan_populate() 92 pgtable_populate(sha_start, sha_end, mode); in kasan_populate() 137 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() argument 139 if (mode == POPULATE_KASAN_ZERO_SHADOW && in kasan_pgd_populate_zero_shadow() [all …]
|
/linux-6.14.4/lib/zlib_inflate/ |
D | inflate.c | 1 /* inflate.c -- zlib decompression 2 * Copyright (C) 1995-2005 Mark Adler 18 /* architecture-specific bits */ 37 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_inflateReset() 38 state = (struct inflate_state *)strm->state; in zlib_inflateReset() 39 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset() 40 strm->msg = NULL; in zlib_inflateReset() 41 strm->adler = 1; /* to support ill-conceived Java test suite */ in zlib_inflateReset() 42 state->mode = HEAD; in zlib_inflateReset() 43 state->last = 0; in zlib_inflateReset() [all …]
|
/linux-6.14.4/fs/proc/ |
D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * proc/fs/generic.c --- generic routines for the proc-fs 5 * This file contains generic proc-fs routines for handling 39 if (S_ISLNK(pde->mode)) in pde_free() 40 kfree(pde->data); in pde_free() 41 if (pde->name != pde->inline_name) in pde_free() 42 kfree(pde->name); in pde_free() 48 if (len < de->namelen) in proc_match() 49 return -1; in proc_match() 50 if (len > de->namelen) in proc_match() [all …]
|
/linux-6.14.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_chain.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 4 #include <linux/dma-mapping.h> 16 chain->elem_size = params->elem_size; in qed_chain_init() 17 chain->intended_use = params->intended_use; in qed_chain_init() 18 chain->mode = params->mode; in qed_chain_init() 19 chain->cnt_type = params->cnt_type; in qed_chain_init() 21 chain->elem_per_page = ELEMS_PER_PAGE(params->elem_size, in qed_chain_init() 22 params->page_size); in qed_chain_init() 23 chain->usable_per_page = USABLE_ELEMS_PER_PAGE(params->elem_size, in qed_chain_init() 24 params->page_size, in qed_chain_init() [all …]
|
/linux-6.14.4/drivers/firmware/efi/libstub/ |
D | gop.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* ----------------------------------------------------------------------- 6 * ----------------------------------------------------------------------- */ 29 u32 mode; member 38 static bool parse_modenum(char *option, char **next) in parse_modenum() argument 42 if (!strstarts(option, "mode=")) in parse_modenum() 44 option += strlen("mode="); in parse_modenum() 49 cmdline.mode = m; in parse_modenum() 51 *next = option; in parse_modenum() 55 static bool parse_res(char *option, char **next) in parse_res() argument [all …]
|
/linux-6.14.4/kernel/time/ |
D | tick-common.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright(C) 2005-2006, Thomas Gleixner <[email protected]> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 24 #include "tick-internal.h" 31 * Tick next event: keeps track of the tick time. It's updated by the 47 * TICK_DO_TIMER_NONE, i.e. a non existing CPU. So the next cpu which looks 58 static int tick_do_timer_boot_cpu __read_mostly = -1; 70 * tick_is_oneshot_available - check for a oneshot capable event device 76 if (!dev || !(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_is_oneshot_available() [all …]
|
D | hrtimer.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2005-2006, Thomas Gleixner <[email protected]> 4 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 5 * Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner 7 * High-resolution kernel timers 9 * In contrast to the low-resolution timeout API, aka timer wheel, 50 #include "tick-internal.h" 54 * cpu_base->active 57 #define HRTIMER_ACTIVE_HARD ((1U << MASK_SHIFT) - 1) 122 [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, [all …]
|
D | tick-sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 enum tick_device_mode mode; member 17 /* The CPU is in the tick idle mode */ 22 * Indicator that the CPU is actively in the tick idle mode; 30 /* High resolution tick mode */ 34 * struct tick_sched - sched tick emulation and no idle tick control/stats 41 * resolution mode 46 * @next_tick: Next tick to be fired when in dynticks mode. 51 * @last_jiffies: Base jiffies snapshot when next event was last computed 54 * @next_timer: Expiry time of next expiring timer for debugging purpose only [all …]
|
D | tick-broadcast.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains functions which emulate a local clock-event 6 * Copyright(C) 2005-2006, Thomas Gleixner <[email protected]> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 20 #include "tick-internal.h" 75 * Start the device in periodic mode 89 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 90 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() 91 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device() [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | intel_panel.c | 2 * Copyright © 2006-2010 Intel Corporation 12 * The above copyright notice and this permission notice (including the next 28 * Chris Wilson <chris@chris-wilson.co.uk> 48 if (display->params.panel_use_ssc >= 0) in intel_panel_use_ssc() 49 return display->params.panel_use_ssc != 0; in intel_panel_use_ssc() 50 return display->vbt.lvds_use_ssc && in intel_panel_use_ssc() 57 return list_first_entry_or_null(&connector->panel.fixed_modes, in intel_panel_preferred_fixed_mode() 70 * With VRR always pick a mode with equal/higher than requested in is_best_fixed_mode() 80 return abs(fixed_mode_vrefresh - vrefresh) < in is_best_fixed_mode() 81 abs(drm_mode_vrefresh(best_mode) - vrefresh); in is_best_fixed_mode() [all …]
|
/linux-6.14.4/drivers/media/common/siano/ |
D | smscoreapi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (c), 2005-2008 Siano Mobile Silicon, Inc. 18 #include <linux/dma-mapping.h> 27 #include "sms-cards.h" 51 [MSG_TYPE_BASE_VAL - MSG_TYPE_BASE_VAL] = "MSG_TYPE_BASE_VAL", 52 [MSG_SMS_GET_VERSION_REQ - MSG_TYPE_BASE_VAL] = "MSG_SMS_GET_VERSION_REQ", 53 [MSG_SMS_GET_VERSION_RES - MSG_TYPE_BASE_VAL] = "MSG_SMS_GET_VERSION_RES", 54 [MSG_SMS_MULTI_BRIDGE_CFG - MSG_TYPE_BASE_VAL] = "MSG_SMS_MULTI_BRIDGE_CFG", 55 [MSG_SMS_GPIO_CONFIG_REQ - MSG_TYPE_BASE_VAL] = "MSG_SMS_GPIO_CONFIG_REQ", 56 [MSG_SMS_GPIO_CONFIG_RES - MSG_TYPE_BASE_VAL] = "MSG_SMS_GPIO_CONFIG_RES", [all …]
|
/linux-6.14.4/drivers/platform/mellanox/ |
D | mlxbf-bootctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Request that the on-chip watchdog be enabled, or disabled, after 11 * the next chip soft reset. This call does not affect the current 12 * status of the on-chip watchdog. If non-zero, the argument 14 * will not be enabled after the next soft reset. Non-zero errors are 20 * Query the status which has been requested for the on-chip watchdog 21 * after the next chip soft reset. Returns the interval as set by 27 * Request that a specific boot action be taken at the next soft 33 * values. Non-zero errors are returned as documented below. 38 * Return the specific boot action which will be taken at the next [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 99 struct ramfuc_reg r_mr[16]; /* MR0 - MR8, MR15 */ 132 int mode; member 149 for (i = 0; (data & 0x80000000) && i < ram->parts; addr += 0x1000, i++) { in gk104_ram_train() 150 if (ram->pmask & (1 << i)) in gk104_ram_train() 160 const u32 mcoef = ((--ram->P2 << 28) | (ram->N2 << 8) | ram->M2); in r1373f4_init() 161 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in r1373f4_init() 162 const u32 runk0 = ram->fN1 << 16; in r1373f4_init() 163 const u32 runk1 = ram->fN1; in r1373f4_init() 165 if (ram->from == 2) { in r1373f4_init() 191 if (ram->mode == 2) { in r1373f4_init() [all …]
|
/linux-6.14.4/sound/soc/fsl/ |
D | fsl_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mpc8610-pcm.h - ALSA PCM interface for the Freescale MPC8610 SoC 12 __be32 mr; /* Mode register */ 21 __be32 enlndar; /* Next link descriptor extended address reg */ 22 __be32 nlndar; /* Next link descriptor address register */ 26 __be32 enlsdar; /* Next list descriptor extended address reg */ 27 __be32 nlsdar; /* Next list descriptor address register */ 74 /* ECLNDAR takes bits 32-36 of the CLNDAR register */ 96 * List Descriptor for extended chaining mode DMA operations. 98 * The CLSDAR register points to the first (in a linked-list) List [all …]
|
/linux-6.14.4/drivers/media/i2c/et8ek8/ |
D | et8ek8_driver.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <linux/v4l2-mediabus.h> 29 #include <media/media-entity.h> 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-subdev.h> 138 * Read a 8/16/32-bit i2c register. The value is returned in 'val'. 139 * Returns zero if successful, or non-zero otherwise. 148 if (!client->adapter) in et8ek8_i2c_read_reg() 149 return -ENODEV; in et8ek8_i2c_read_reg() [all …]
|
/linux-6.14.4/drivers/net/ethernet/amd/ |
D | ariadne.h | 4 * © Copyright 1995 by Geert Uytterhoeven (geert@linux-m68k.org) 8 * ---------------------------------------------------------------------------------- 13 * Written 1993-94 by Donald Becker. 15 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller 22 * ---------------------------------------------------------------------------------- 28 * ---------------------------------------------------------------------------------- 30 * The Ariadne is a Zorro-II board made by Village Tronic. It contains: 32 * - an Am79C960 PCnet-ISA Single-Chip Ethernet Controller with both 33 * 10BASE-2 (thin coax) and 10BASE-T (UTP) connectors 35 * - an MC68230 Parallel Interface/Timer configured as 2 parallel ports [all …]
|
/linux-6.14.4/drivers/gpu/drm/ |
D | drm_bridge.c | 12 * next paragraph) shall be included in all copies or substantial portions 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 25 #include <linux/media-bus-format.h> 50 * [ CRTC ---> ] Encoder ---> Bridge A ---> Bridge B 71 * Bridges are responsible for linking themselves with the next bridge in the 76 * functions to perform mode validation and fixup (through 77 * drm_bridge_chain_mode_valid() and drm_atomic_bridge_chain_check()), mode 88 * drm_atomic_helper_commit_modeset_disables() (either directly in hand-rolled 89 * commit check and commit tail handlers, or through the higher-level 98 * connector-related operations exposed by the bridge (see the overview [all …]
|
/linux-6.14.4/include/linux/qed/ |
D | qed_chain.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 19 /* Each Page contains a next pointer at its end */ 22 /* Chain is a single page (next ptr) is not required */ 36 /* The chain's size/prod/cons are kept in 16-bit variables */ 39 /* The chain's size/prod/cons are kept in 32-bit variables */ 59 /* Cyclic index of next element to produce/consume */ 65 /* Cyclic index of next element to produce/consume */ 76 /* Fastpath portion of the chain - required for commands such [all …]
|
/linux-6.14.4/drivers/atm/ |
D | idt77105.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* drivers/atm/idt77105.c - IDT77105 (PHY) driver */ 36 struct atm_dev *dev; /* device back-pointer */ 37 struct idt77105_priv *next; member 44 #define PRIV(dev) ((struct idt77105_priv *) dev->phy_data) 46 #define PUT(val,reg) dev->ops->phy_put(dev,val,IDT77105_##reg) 47 #define GET(reg) dev->ops->phy_get(dev,IDT77105_##reg) 91 for (walk = idt77105_all; walk; walk = walk->next) { in idt77105_stats_timer_func() 92 dev = walk->dev; in idt77105_stats_timer_func() 94 stats = &walk->stats; in idt77105_stats_timer_func() [all …]
|
/linux-6.14.4/drivers/net/fddi/skfp/h/ |
D | fplustm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * AMD Fplus in tag mode data structs 52 __le32 txd_ntdadr ; /* physical pointer to the next TxD */ 57 /* virt pointer to the next TxD */ 59 struct s_txd_os txd_os ; /* OS - specific struct */ 69 __le32 rxd_nrdadr ; /* physical pointer to the next RxD */ 74 /* virt pointer to the next RxD */ 76 struct s_rxd_os rxd_os ; /* OS - specific struct */ 91 struct s_smt_fp_txd volatile *tx_curr_put ; /* next free TxD */ 93 struct s_smt_fp_txd volatile *tx_curr_get ; /* next TxD to release*/ [all …]
|
/linux-6.14.4/drivers/base/ |
D | devtmpfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * devtmpfs - kernel-maintained tmpfs-based /dev 8 * devtmpfs, a tmpfs-based filesystem is created. Every driver-core 12 * owned by root and have a default mode of 0600. Subsystems can 47 struct req *next; member 51 umode_t mode; /* 0 => delete */ member 69 struct super_block *s = mnt->mnt_sb; in public_dev_mount() 72 atomic_inc(&s->s_active); in public_dev_mount() 73 down_write(&s->s_umount); in public_dev_mount() 79 return dget(s->s_root); in public_dev_mount() [all …]
|
/linux-6.14.4/Documentation/timers/ |
D | highres.rst | 8 https://www.kernel.org/doc/ols/2006/ols2006v1-pages-333-346.pdf 11 http://www.cs.columbia.edu/~nahum/w6998/papers/ols2006-hrtimers-slides.pdf 23 - hrtimer base infrastructure 24 - timeofday and clock source management 25 - clock event management 26 - high resolution timer functionality 27 - dynamic ticks 31 --------------------------- 40 - time ordered enqueueing into a rb-tree 41 - independent of ticks (the processing is based on nanoseconds) [all …]
|
/linux-6.14.4/init/ |
D | initramfs.c | 1 // SPDX-License-Identifier: GPL-2.0 32 /* sys_write only can write MAX_RW_COUNT aka 2G-4K bytes at most */ in xwrite() 37 if (rv == -EINTR || rv == -EAGAIN) in xwrite() 52 count -= rv; in xwrite() 74 umode_t mode; member 75 struct hash *next; member 87 umode_t mode, char *name) in find_link() argument 90 for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { in find_link() 91 if ((*p)->ino != ino) in find_link() 93 if ((*p)->minor != minor) in find_link() [all …]
|
/linux-6.14.4/arch/x86/mm/ |
D | tlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <asm/nospec-branch.h> 38 * TLB flushing, formerly SMP-only 69 * Instead we have a small per-cpu array of ASIDs and cache the last few mm's 76 * ASID - [0, TLB_NR_DYN_ASIDS-1] 79 * kPCID - [1, TLB_NR_DYN_ASIDS] 83 * uPCID - [2048 + 1, 2048 + TLB_NR_DYN_ASIDS] 100 #define CR3_AVAIL_PCID_BITS (X86_CR3_PCID_BITS - PTI_CONSUMED_PCID_BITS) 103 * ASIDs are zero-based: 0->MAX_AVAIL_ASID are valid. -1 below to account 104 * for them being zero-based. Another -1 is because PCID 0 is reserved for [all …]
|
/linux-6.14.4/Documentation/networking/diagnostic/ |
D | twisted_pair_layer1_diagnostics.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 11 1. **Users and System Administrators**: For those dealing with real-world 12 Ethernet issues, this guide provides a practical, step-by-step 15 or mysterious network issues, jump right into the step-by-step guide and 24 Step-by-Step Diagnostic Guide from Linux (General Ethernet) 25 ----------------------------------------------------------- 29 environments, including **Single-Pair Ethernet (SPE)** and **Multi-Pair 43 - **Link is up and stable, but no data transfer**: If the link is stable but 47 - **Link is unstable**: Link resets, speed drops, or other fluctuations [all …]
|