Home
last modified time | relevance | path

Searched +full:next +full:- +full:mode (Results 1 – 25 of 1121) sorted by relevance

12345678910>>...45

/linux-6.15/arch/s390/boot/
Dvmem.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <asm/page-states.h>
65 static bool is_kasan_populate_mode(enum populate_mode mode) in is_kasan_populate_mode() argument
68 return mode >= POPULATE_KASAN_MAP_SHADOW; in is_kasan_populate_mode()
74 static void pgtable_populate(unsigned long addr, unsigned long end, enum populate_mode mode);
87 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() argument
92 boot_debug("%-17s 0x%016lx-0x%016lx >> 0x%016lx-0x%016lx\n", get_populate_mode_name(mode), in kasan_populate()
94 pgtable_populate(sha_start, sha_end, mode); in kasan_populate()
139 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() argument
141 if (mode == POPULATE_KASAN_ZERO_SHADOW && in kasan_pgd_populate_zero_shadow()
[all …]
/linux-6.15/lib/zlib_inflate/
Dinflate.c1 /* 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.15/fs/proc/
Dgeneric.c1 // 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.15/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c1 // 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.15/drivers/firmware/efi/libstub/
Dgop.c1 // 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.15/drivers/gpu/drm/i915/display/
Dintel_panel.c2 * 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>
49 if (display->params.panel_use_ssc >= 0) in intel_panel_use_ssc()
50 return display->params.panel_use_ssc != 0; in intel_panel_use_ssc()
51 return display->vbt.lvds_use_ssc && in intel_panel_use_ssc()
58 return list_first_entry_or_null(&connector->panel.fixed_modes, in intel_panel_preferred_fixed_mode()
71 * With VRR always pick a mode with equal/higher than requested in is_best_fixed_mode()
81 return abs(fixed_mode_vrefresh - vrefresh) < in is_best_fixed_mode()
82 abs(drm_mode_vrefresh(best_mode) - vrefresh); in is_best_fixed_mode()
[all …]
/linux-6.15/drivers/media/common/siano/
Dsmscoreapi.c1 // 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.15/kernel/time/
Dhrtimer.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
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)
125 return likely(base->online); in hrtimer_base_is_online()
[all …]
Dtick-common.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
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 …]
Dtick-sched.h1 /* 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 …]
Dtick-broadcast.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file contains functions which emulate a local clock-event
6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
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.15/drivers/platform/mellanox/
Dmlxbf-bootctl.h1 /* 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.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgk104.c99 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.15/sound/soc/fsl/
Dfsl_dma.h1 /* 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.15/drivers/media/i2c/et8ek8/
Det8ek8_driver.c1 // 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.15/drivers/net/ethernet/amd/
Dariadne.h4 * © 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.15/drivers/gpu/drm/
Ddrm_bridge.c12 * 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.15/include/linux/qed/
Dqed_chain.h1 /* 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.15/drivers/atm/
Didt77105.c1 // 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.15/drivers/net/fddi/skfp/h/
Dfplustm.h1 /* 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.15/Documentation/timers/
Dhighres.rst8 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.15/init/
Dinitramfs.c1 // SPDX-License-Identifier: GPL-2.0
33 /* sys_write only can write MAX_RW_COUNT aka 2G-4K bytes at most */ in xwrite()
38 if (rv == -EINTR || rv == -EAGAIN) in xwrite()
53 count -= rv; in xwrite()
75 umode_t mode; member
76 struct hash *next; member
89 umode_t mode, char *name) in find_link() argument
92 for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { in find_link()
93 if ((*p)->ino != ino) in find_link()
95 if ((*p)->minor != minor) in find_link()
[all …]
/linux-6.15/Documentation/networking/diagnostic/
Dtwisted_pair_layer1_diagnostics.rst1 .. 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 …]
/linux-6.15/drivers/crypto/
Dsahara.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Author: Javier Martin <javier.martin@vista-silicon.com>
11 * Based on omap-aes.c and tegra-aes.c
23 #include <linux/dma-mapping.h>
130 u32 next; member
136 u32 next; member
140 /* AES-specific context */
147 unsigned long mode; member
153 * struct sahara_sha_reqctx - private data per request
155 * @rembuf: used to prepare one block_size-aligned request
[all …]
/linux-6.15/kernel/
Dtask_work.c1 // SPDX-License-Identifier: GPL-2.0
7 static struct callback_head work_exited; /* all we need is ->next == NULL */
19 * task_work_add - ask the @task to execute @work->func()
36 * user mode, or before entering guest mode.
41 * Otherwise @work->func() will be called when the @task goes through one of
52 * 0 if succeeds or -ESRCH.
61 return -EINVAL; in task_work_add()
63 return -EINVAL; in task_work_add()
68 head = READ_ONCE(task->task_works); in task_work_add()
71 return -ESRCH; in task_work_add()
[all …]

12345678910>>...45