Home
last modified time | relevance | path

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

12345678910>>...44

/linux/arch/s390/boot/
H A Dvmem.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <asm/page-states.h>
40 static void pgtable_populate(unsigned long addr, unsigned long end, enum populate_mode mode);
53 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() argument
57 pgtable_populate(start, end, mode); in kasan_populate()
110 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() argument
112 if (mode == POPULATE_KASAN_ZERO_SHADOW && in kasan_pgd_populate_zero_shadow()
113 IS_ALIGNED(addr, PGDIR_SIZE) && end - addr >= PGDIR_SIZE) { in kasan_pgd_populate_zero_shadow()
121 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() argument
123 if (mode == POPULATE_KASAN_ZERO_SHADOW && in kasan_p4d_populate_zero_shadow()
[all …]
/linux/lib/zlib_inflate/
H A 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/fs/proc/
H A 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/drivers/net/ethernet/qlogic/qed/
H A 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/kernel/time/
H A 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)
119 [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
[all …]
H A 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 = -
111 ktime_t next = dev->next_event; tick_handle_periodic() local
164 ktime_t next; tick_setup_periodic() local
[all...]
H A 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 …]
H A 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/drivers/media/common/siano/
H A 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/drivers/firmware/efi/libstub/
H A 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/drivers/platform/mellanox/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A 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/drivers/media/i2c/et8ek8/
H A 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/drivers/net/ethernet/amd/
H A 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/sound/soc/fsl/
H A 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/drivers/gpu/drm/
H A 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/include/linux/qed/
H A 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/drivers/atm/
H A 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/drivers/net/fddi/skfp/h/
H A 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/drivers/base/
H A Ddevtmpfs.c1 // 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/Documentation/timers/
H A 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/init/
H A Dinitramfs.c1 // 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/arch/x86/mm/
H A Dtlb.c1 // 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/drivers/gpu/drm/xe/
H A Dxe_vm_types.h1 /* SPDX-License-Identifier: MIT */
11 #include <linux/dma-resv.h>
46 /** struct xe_userptr - User pointer */
64 * write: vm->userptr.notifier_lock in read mode and vm->resv held.
65 * read: vm->userptr.notifier_lock in write mode or vm->resv held.
79 * Locking: vm lock in write mode OR vm lock in read mode and the vm's
104 * protected by vm->lock, vm->resv and for userptrs,
105 * vm->userptr.notifier_lock for writing. Needs either for reading,
106 * but if reading is done under the vm->lock only, it needs to be held
107 * in write mode.
[all …]
/linux/drivers/rtc/
H A Dinterface.c1 // SPDX-License-Identifier: GPL-2.0
27 if (!rtc->offset_secs) in rtc_add_offset()
38 if ((rtc->start_secs > rtc->range_min && secs >= rtc->start_secs) || in rtc_add_offset()
39 (rtc->start_secs < rtc->range_min && in rtc_add_offset()
40 secs <= (rtc->start_secs + rtc->range_max - rtc->range_min))) in rtc_add_offset()
43 rtc_time64_to_tm(secs + rtc->offset_secs, tm); in rtc_add_offset()
50 if (!rtc->offset_secs) in rtc_subtract_offset()
61 if (secs >= rtc->range_min && secs <= rtc->range_max) in rtc_subtract_offset()
64 rtc_time64_to_tm(secs - rtc->offset_secs, tm); in rtc_subtract_offset()
69 if (rtc->range_min != rtc->range_max) { in rtc_valid_range()
[all …]

12345678910>>...44