Home
last modified time | relevance | path

Searched +full:access +full:- +full:granularity (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/linux-6.14.4/drivers/acpi/acpica/
Dexprep.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: exprep - ACPI AML field prep utilities
6 * Copyright (C) 2000 - 2023, Intel Corp.
35 * PARAMETERS: field_bit_offset - Start of field within parent region/buffer
36 * field_bit_length - Length of field in bits
37 * region_length - Length of parent in bytes
39 * RETURN: Field granularity (8, 16, 32 or 64) and
42 * DESCRIPTION: Generate an optimal access width for fields defined with the
46 * conditions (end-of-region). However, the region_length is a deferred
48 * of this access width must be deferred until the region length has
[all …]
Drsaddr.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: rsaddr - Address resource descriptors (16/32/64)
17 * acpi_rs_convert_address16 - All WORD (16-bit) address resources
29 /* Resource Type, General Flags, and Type-Specific Flags */
35 * Address Granularity
41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity),
42 AML_OFFSET(address16.granularity),
54 * acpi_rs_convert_address32 - All DWORD (32-bit) address resources
67 /* Resource Type, General Flags, and Type-Specific Flags */
73 * Address Granularity
[all …]
Drsdumpinfo.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: rsdumpinfo - Tables used to display resource descriptors.
59 "Start-Dependent-Functions", NULL},
70 "End-Dependent-Functions", NULL}
107 "24-Bit Memory Range", NULL},
122 "32-Bit Memory Range", NULL},
137 "32-Bit Fixed Memory Range", NULL},
148 "16-Bit WORD Address Space", NULL},
150 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.granularity),
151 "Granularity", NULL},
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-memory-page-offline6 Soft-offline the memory page containing the physical address
9 to soft-offline it, by moving the contents elsewhere or
13 The offlining is done in kernel specific granularity.
28 Hard-offline the memory page containing the physical
31 kernel will then attempt to hard-offline the page, by
35 to access this page assuming it's poisoned by the
38 The offlining is done in kernel specific granularity.
/linux-6.14.4/drivers/gpu/drm/i915/
DKconfig.profile16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)"
33 their next access. The revocation and subsequent recreation of
35 that complements the runtime-pm autosuspend and provides a lower
46 check the health of the GPU and undertake regular house-keeping of
56 int "Preempt timeout (ms, jiffy granularity)"
74 int "Preempt timeout for compute engines (ms, jiffy granularity)"
98 take a non-negligible time to setup, we do a short spin first to
124 int "Scheduling quantum for userspace batches (ms, jiffy granularity)"
/linux-6.14.4/drivers/media/pci/intel/ipu6/
Dipu6-isys.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (C) 2013--2024 Intel Corporation */
14 #include <media/media-device.h>
15 #include <media/v4l2-async.h>
16 #include <media/v4l2-device.h>
19 #include "ipu6-fw-isys.h"
20 #include "ipu6-isys-csi2.h"
21 #include "ipu6-isys-video.h"
49 /* the threshold granularity is 2KB on IPU6 */
52 /* the threshold granularity is 1KB on IPU6SE */
[all …]
/linux-6.14.4/drivers/cxl/
Dcxl.h1 /* SPDX-License-Identifier: GPL-2.0-only */
22 * (port-driver, region-driver, nvdimm object-drivers... etc).
83 static inline int eig_to_granularity(u16 eig, unsigned int *granularity) in eig_to_granularity() argument
86 return -EINVAL; in eig_to_granularity()
87 *granularity = CXL_DECODER_MIN_GRANULARITY << eig; in eig_to_granularity()
91 /* Encode defined in CXL ECN "3, 6, 12 and 16-way memory Interleaving" */
99 *ways = 3 << (eiw - 8); in eiw_to_ways()
102 return -EINVAL; in eiw_to_ways()
108 static inline int granularity_to_eig(int granularity, u16 *eig) in granularity_to_eig() argument
110 if (granularity > SZ_16K || granularity < CXL_DECODER_MIN_GRANULARITY || in granularity_to_eig()
[all …]
/linux-6.14.4/sound/pci/pcxhr/
Dpcxhr.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
25 /* transfer granularity of pipes and the dsp time (MBOX4) */
27 /* TODO : granularity could be 64 or 128 */
28 #define PCXHR_GRANULARITY_HR22 192 /* granularity for stereo cards */
59 int granularity; member
61 /* card access with 1 mem bar and 2 io bar's */
Dpcxhr_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
50 /* access to the card */
59 #define PCXHR_INPB(mgr,x) inb((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
60 #define PCXHR_INPL(mgr,x) inl((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
61 #define PCXHR_OUTPB(mgr,x,data) outb((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
62 #define PCXHR_OUTPL(mgr,x,data) outl((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
63 /* attention : access the PCXHR_DSP_* registers with inb and outb only ! */
105 * pcxhr_check_reg_bit - wait for the specified bit is set/reset on a register
109 * @time: time-out of loop in msec
123 dev_dbg(&mgr->pci->dev, in pcxhr_check_reg_bit()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
3 * Copyright 2020-2021 Advanced Micro Devices, Inc.
40 ((adev)->hive ? (void *)(adev)->hive : (void *)(adev))
69 * struct svm_range - shared virtual memory range
76 * aligned, page size is (last - start + 1)
95 * @granularity:migration granularity, log2 num pages
102 * @bitmap_access: index bitmap of GPUs which can access the range
103 * @bitmap_aip: index bitmap of GPUs which can access the range in place
130 uint8_t granularity; member
145 mutex_lock(&prange->lock); in svm_range_lock()
[all …]
Dkfd_svm.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2020-2021 Advanced Micro Devices, Inc.
84 * svm_range_unlink - unlink svm_range from lists and interval tree
90 * Context: The caller must hold svms->lock
94 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_unlink()
95 prange, prange->start, prange->last); in svm_range_unlink()
97 if (prange->svm_bo) { in svm_range_unlink()
98 spin_lock(&prange->svm_bo->list_lock); in svm_range_unlink()
99 list_del(&prange->svm_bo_list); in svm_range_unlink()
100 spin_unlock(&prange->svm_bo->list_lock); in svm_range_unlink()
[all …]
/linux-6.14.4/Documentation/driver-api/
Dvfio.rst2 VFIO - "Virtual Function I/O" [1]_
7 allotted. This includes x86 hardware with AMD-Vi and Intel VT-d,
10 agnostic framework for exposing direct device access to userspace, in
12 safe [2]_, non-privileged, userspace drivers.
15 access ("device assignment") when configured for the highest possible
19 bare-metal device drivers [3]_.
22 field, also benefit from low-overhead, direct device access from
23 userspace. Examples include network adapters (often non-TCP/IP based)
28 and requires root privileges to access things like PCI configuration
36 ---------------------------
[all …]
/linux-6.14.4/Documentation/mm/damon/
Dfaq.rst1 .. SPDX-License-Identifier: GPL-2.0
12 constructions and actual access checks can be implemented and configured on the
14 space with any access check technique.
21 Can I simply monitor page granularity?
/linux-6.14.4/arch/riscv/kernel/
Dunaligned_access_speed.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "copy-unaligned.h"
22 #define MISALIGNED_COPY_SIZE ((MISALIGNED_BUFFER_SIZE / 2) - 0x80)
50 word_cycles = -1ULL; in check_unaligned_access()
70 if ((end_cycles - start_cycles) < word_cycles) in check_unaligned_access()
71 word_cycles = end_cycles - start_cycles; in check_unaligned_access()
74 byte_cycles = -1ULL; in check_unaligned_access()
86 if ((end_cycles - start_cycles) < byte_cycles) in check_unaligned_access()
87 byte_cycles = end_cycles - start_cycles; in check_unaligned_access()
94 pr_warn("cpu%d: rdtime lacks granularity needed to measure unaligned access speed\n", in check_unaligned_access()
[all …]
/linux-6.14.4/Documentation/admin-guide/mm/damon/
Dlru_sort.rst1 .. SPDX-License-Identifier: GPL-2.0
4 DAMON-based LRU-lists Sorting
7 DAMON-based LRU-lists Sorting (DAMON_LRU_SORT) is a static kernel module that
8 aimed to be used for proactive and lightweight data access pattern based
9 (de)prioritization of pages on their LRU-lists for making LRU-lists a more
10 trusworthy data access pattern source.
12 Where Proactive LRU-lists Sorting is Required?
15 As page-granularity access checking overhead could be significant on huge
19 perfectly prepared to be used as a trustworthy access pattern source for some
23 Because DAMON can identify access patterns of best-effort accuracy while
[all …]
/linux-6.14.4/sound/pci/lola/
Dlola.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for Digigram Lola PCI-e boards
11 #include <linux/dma-mapping.h>
34 /* Lola-specific options */
36 /* for instance use always max granularity which is compatible
39 static int granularity[SNDRV_CARDS] = { variable
40 [0 ... (SNDRV_CARDS - 1)] = LOLA_GRANULARITY_MAX
45 [0 ... (SNDRV_CARDS - 1) ] = 16000
48 module_param_array(granularity, int, NULL, 0444);
49 MODULE_PARM_DESC(granularity, "Granularity value");
[all …]
/linux-6.14.4/drivers/gpu/drm/xe/
Dxe_ttm_stolen_mgr.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2021-2023 Intel Corporation
4 * Copyright (C) 2021-2002 Red Hat
47 * xe_ttm_stolen_cpu_access_needs_ggtt() - If we can't directly CPU access
51 * Some older integrated platforms don't support reliable CPU access for stolen,
53 * CPU access. Check if that's the case for this device.
70 val--; in get_wopcm_size()
87 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in detect_bar2_dgfx()
92 tile_offset = tile->mem.vram.io_start - xe->mem.vram.io_start; in detect_bar2_dgfx()
93 tile_size = tile->mem.vram.actual_physical_size; in detect_bar2_dgfx()
[all …]
Dxe_gt_pagefault.c1 // SPDX-License-Identifier: MIT
55 u8 granularity; member
69 return BIT(tile->id) & vma->tile_present && in vma_is_valid()
70 !(BIT(tile->id) & vma->tile_invalidated); in vma_is_valid()
75 if (page_addr > xe_vma_end(vma) - 1 || in vma_matches()
76 page_addr + SZ_4K - 1 < xe_vma_start(vma)) in vma_matches()
86 if (vm->usm.last_fault_vma) { /* Fast lookup */ in lookup_vma()
87 if (vma_matches(vm->usm.last_fault_vma, page_addr)) in lookup_vma()
88 vma = vm->usm.last_fault_vma; in lookup_vma()
107 if (atomic && IS_DGFX(vm->xe)) { in xe_pf_begin()
[all …]
/linux-6.14.4/Documentation/mm/
Dprocess_addrs.rst1 .. SPDX-License-Identifier: GPL-2.0
16 object. Userland access outside of VMAs is invalid except in the case where an
31 -------
33 -------
43 -----------
45 * **mmap locks** - Each MM has a read/write semaphore :c:member:`!mmap_lock`
46 which locks at a process address space granularity which can be acquired via
48 * **VMA locks** - The VMA lock is at VMA granularity (of course) which behaves
54 * **rmap locks** - When trying to access VMAs through the reverse mapping via a
56 (reachable from a folio via :c:member:`!folio->mapping`). VMAs must be stabilised via
[all …]
Dmemory-model.rst1 .. SPDX-License-Identifier: GPL-2.0
23 Regardless of the selected memory model, there exists one-to-one
35 non-NUMA systems with contiguous, or mostly contiguous, physical
54 straightforward: `PFN - ARCH_PFN_OFFSET` is an index to the
65 as hot-plug and hot-remove of the physical memory, alternative memory
66 maps for non-volatile memory devices and deferred initialization of
85 NR\_MEM\_SECTIONS = 2 ^ {(MAX\_PHYSMEM\_BITS - SECTION\_SIZE\_BITS)}
87 The `mem_section` objects are arranged in a two-dimensional array
104 corresponding `struct page` - a "classic sparse" and "sparse
108 The classic sparse encodes the section number of a page in page->flags
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/memory-controllers/
Dti,gpmc-child.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <[email protected]>
11 - Roger Quadros <[email protected]>
24 gpmc,sync-clk-ps:
28 # Chip-select signal timings corresponding to GPMC_CONFIG2:
29 gpmc,cs-on-ns:
33 gpmc,cs-rd-off-ns:
[all …]
/linux-6.14.4/Documentation/filesystems/
Dnetfs_library.rst1 .. SPDX-License-Identifier: GPL-2.0
9 - Overview.
10 - Per-inode context.
11 - Inode context helper functions.
12 - Buffered read helpers.
13 - Read helper functions.
14 - Read helper structures.
15 - Read helper operations.
16 - Read helper procedure.
17 - Read helper cache API.
[all …]
/linux-6.14.4/drivers/thunderbolt/
Dusb4.c1 // SPDX-License-Identifier: GPL-2.0
87 return -EOPNOTSUPP; in usb4_native_switch_op()
112 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in __usb4_switch_op()
115 return -EINVAL; in __usb4_switch_op()
122 if (cm_ops->usb4_switch_op) { in __usb4_switch_op()
125 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op()
128 if (ret != -EOPNOTSUPP) in __usb4_switch_op()
157 * usb4_switch_check_wakes() - Check for wakes and notify PM core about them
186 if (!port->cap_usb4) in usb4_switch_check_wakes()
190 port->cap_usb4 + PORT_CS_18, 1)) in usb4_switch_check_wakes()
[all …]
/linux-6.14.4/Documentation/timers/
Dhrtimers.rst2 hrtimers - subsystem for high-resolution kernel timers
5 This patch introduces a new subsystem for high-resolution kernel timers.
9 back and forth trying to integrate high-resolution and high-precision
11 such high-resolution timer implementations in practice, we came to the
18 - the forced handling of low-resolution and high-resolution timers in
21 32-bitness assumptions, and has been honed and micro-optimized for a
23 for many years - and thus even small extensions to it easily break
26 current usage - but it is simply not suitable to be extended for
27 high-res timers.
29 - the unpredictable [O(N)] overhead of cascading leads to delays which
[all …]
/linux-6.14.4/drivers/nvme/host/
Dconstants.c1 // SPDX-License-Identifier: GPL-2.0
96 [NVME_SC_SGL_INVALID_GRANULARITY] = "SGL Data Block Granularity Invalid",
136 [NVME_SC_SELT_TEST_IN_PROGRESS] = "Device Self-test In Progress",
159 [NVME_SC_GUARD_CHECK] = "End-to-end Guard Check Error",
160 [NVME_SC_APPTAG_CHECK] = "End-to-end Application Tag Check Error",
161 [NVME_SC_REFTAG_CHECK] = "End-to-end Reference Tag Check Error",
163 [NVME_SC_ACCESS_DENIED] = "Access Denied",
166 [NVME_SC_ANA_PERSISTENT_LOSS] = "Asymmetric Access Persistent Loss",
167 [NVME_SC_ANA_INACCESSIBLE] = "Asymmetric Access Inaccessible",
168 [NVME_SC_ANA_TRANSITION] = "Asymmetric Access Transition",

12345678910>>...13