Home
last modified time | relevance | path

Searched +full:segment +full:- +full:no +full:- +full:remap (Results 1 – 25 of 48) sorted by relevance

12

/linux/Documentation/devicetree/bindings/display/
H A Dsolomon,ssd1307fb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Ripard <mripard@kernel.org>
11 - Javier Martinez Canillas <javierm@redhat.com>
17 - enum:
18 - solomon,ssd1305fb-i2c
19 - solomon,ssd1306fb-i2c
20 - solomon,ssd1307fb-i2c
21 - solomon,ssd1309fb-i2c
[all …]
/linux/tools/testing/selftests/mm/
H A Dmremap_test.c1 // SPDX-License-Identifier: GPL-2.0
47 _1KB = 1ULL << 10, /* 1KB -> not page aligned */
84 unsigned long mid = low + (high - low) / 2; in get_sqrt()
91 high = mid - 1; in get_sqrt()
97 * Returns false if the requested remap region overlaps with an
108 -1, 0); in is_remap_region_valid()
163 while (getline(&line, &len, maps_fp) != -1) { in is_range_mapped()
164 if (sscanf(line, "%lx-%lx", &first_val, &second_val) != 2) { in is_range_mapped()
202 -1, 0); in get_source_mapping()
212 * 2MB-aligned, however it will not be considered valid for a in get_source_mapping()
[all …]
/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst10 supported platforms with Non-Uniform Memory Access architectures since 2.4.?.
16 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``)
19 programming interface that a NUMA-aware application can take advantage of. When
28 ------------------------
41 not to overload the initial boot node with boot-time
45 this is an optional, per-task policy. When defined for a
56 executable image that has no awareness of memory policy. See the
61 In a multi-threaded task, task policies apply only to the thread
98 mapping-- i.e., at Copy-On-Write.
101 virtual address space--a.k.a. threads--independent of when
[all …]
/linux/arch/sh/mm/
H A Dioremap.c5 * (C) Copyright 2005 - 2010 Paul Mundt
7 * Re-map IO memory to kernel address space so that we can access it.
9 * 640k-1MB IO memory area on PC's
31 * On 32-bit SH, we traditionally have the whole physical address space mapped
33 * anything but place the address in the proper segment. This is true for P1
42 phys_addr_t last_addr = offset + size - 1; in __ioremap_29bit()
47 * In the P3 case or for addresses outside of the 29-bit space, in __ioremap_29bit()
96 * First try to remap through the PMB. in ioremap_prot()
97 * PMB entries are all pre-faulted. in ioremap_prot()
109 * Simple checks for non-translatable mappings.
[all …]
/linux/drivers/acpi/
H A Dpci_irq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 11 $)
8 * (c) Copyright 2008 Hewlett-Packard Development Company, L.P.
35 return 'A' + pin - 1; in pin_name()
38 /* --------------------------------------------------------------------------
40 -------------------------------------------------------------------------- */
45 .ident = "Medion MD9580-F laptop",
71 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
81 unsigned int segment; member
89 #define PCI_INTX_PIN(c) (c - 'A' + 1)
[all …]
/linux/fs/proc/
H A Dvmcore.c1 // SPDX-License-Identifier: GPL-2.0-only
74 INIT_LIST_HEAD(&cb->next); in register_vmcore_cb()
76 list_add_tail(&cb->next, &vmcore_cb_list); in register_vmcore_cb()
90 list_del_rcu(&cb->next); in unregister_vmcore_cb()
111 if (unlikely(!cb->pfn_is_ram)) in pfn_is_ram()
113 ret = cb->pfn_is_ram(cb, pfn); in pfn_is_ram()
147 if (count > (PAGE_SIZE - offset)) in read_from_oldmem()
148 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem()
166 return -EFAULT; in read_from_oldmem()
170 count -= nr_bytes; in read_from_oldmem()
[all …]
/linux/Documentation/arch/powerpc/
H A Dpci_iov_resource_on_powernv.rst57 - For DMA we then provide an entire address space for each PE that can
63 - For MSIs, we have two windows in the address space (one at the top of
64 the 32-bit space and one much higher) which, via a combination of the
70 - Error messages just use the RTT.
81 - The M32 window:
87 32-bit PCIe accesses. We configure that window at boot from FW and
96 maps each segment to a PE#. That allows portions of the MMIO space
97 to be assigned to PEs on a segment granularity. For a 2GB window,
98 the segment granularity is 2GB/256 = 8MB.
101 SR-IOV). We basically use the trick of forcing the bridge MMIO windows
[all …]
/linux/kernel/dma/
H A Dswiotlb.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright (C) 2000, 2003 Hewlett-Packard Co
10 * David Mosberger-Tang <davidm@hpl.hp.com>
12 * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API.
14 * unnecessary i-cache flushing.
27 #include <linux/dma-direct.h>
28 #include <linux/dma-map-ops.h>
33 #include <linux/iommu-helper.h>
55 #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT))
67 * struct io_tlb_slot - IO TLB slot descriptor
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_pt.c1 // SPDX-License-Identifier: MIT
6 #include <linux/dma-fence-array.h>
29 /** @children: Array of page-table child nodes */
34 #define xe_pt_set_addr(__xe_pt, __addr) ((__xe_pt)->addr = (__addr))
35 #define xe_pt_addr(__xe_pt) ((__xe_pt)->addr)
44 #define XE_PT_HIGHEST_LEVEL (ARRAY_SIZE(xe_normal_pt_shifts) - 1)
53 return container_of(pt_dir->children[index], struct xe_pt, base); in xe_pt_entry()
60 u16 pat_index = xe->pat.idx[XE_CACHE_WB]; in __xe_pt_empty_pte()
61 u8 id = tile->id; in __xe_pt_empty_pte()
67 return vm->pt_ops->pde_encode_bo(vm->scratch_pt[id][level - 1]->bo, in __xe_pt_empty_pte()
[all …]
/linux/arch/mips/include/asm/
H A Djazz.h6 * Copyright (C) 1995 - 1998 by Andreas Busse and Ralf Baechle
24 * 0xf0000000 - Rev1
25 * 0xf0000001 - Rev2
26 * 0xf0000002 - Rev3
31 * The segments of the seven segment LED are mapped
35 * ---------
39 * ---------
43 * --------- . (0)
146 * JAZZ timer registers and interrupt no.
191 * we remap the Jazz interrupts to the usual ISA style interrupt numbers.
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.c1 // SPDX-License-Identifier: GPL-2.0-only
49 if (cmd == e->cmd) in sc_to_str()
50 return e->str; in sc_to_str()
60 spin_lock_irqsave(&vha->e_dbell.db_lock, flags); in qla_edb_getnext()
62 /* db nodes are fifo - no qualifications done */ in qla_edb_getnext()
63 if (!list_empty(&vha->e_dbell.head)) { in qla_edb_getnext()
64 edbnode = list_first_entry(&vha->e_dbell.head, in qla_edb_getnext()
66 list_del_init(&edbnode->list); in qla_edb_getnext()
69 spin_unlock_irqrestore(&vha->e_dbell.db_lock, flags); in qla_edb_getnext()
76 list_del_init(&node->list); in qla_edb_node_free()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-yapp43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
24 num-interpolated-steps = <8>;
[all …]
/linux/arch/powerpc/kernel/
H A Dhead_book3s_32.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
9 * Low-level exception handlers and MMU support
14 * This file contains the low-level support and setup for the
30 #include <asm/asm-offsets.h>
34 #include <asm/feature-fixups.h>
40 /* see the comment for clear_bats() -- Cort */ \
65 * -- Cort
77 * pointer (r1) points to just below the end of the half-meg region
78 * from 0x380000 - 0x400000, which is mapped in already.
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
38 * - Input gamma LUT (de-normalized)
39 * - Input CSC (normalized)
40 * - Surface degamma LUT (normalized)
41 * - Surface CSC (normalized)
42 * - Surface regamma LUT (normalized)
43 * - Output CSC (normalized)
49 * Plane CTM -> Plane degamma -> Plane CTM -> Plane regamma -> Plane CTM
59 * support any CRTC props with correct blending with multiple planes - but we
70 * Plane DGM Bypass -> Plane CTM Bypass -> Plane RGM Bypass -> ...
[all …]
/linux/drivers/video/fbdev/
H A Dssd1307fb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
122 array->type = type; in ssd1307fb_alloc_array()
136 dev_err(&client->dev, "Couldn't send I2C command.\n"); in ssd1307fb_write_array()
150 return -ENOMEM; in ssd1307fb_write_cmd()
152 array->data[0] = cmd; in ssd1307fb_write_cmd()
163 u8 col_end = col_start + cols - 1; in ssd1307fb_set_col_range()
166 if (col_start == par->col_start && col_end == par->col_end) in ssd1307fb_set_col_range()
169 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE); in ssd1307fb_set_col_range()
173 ret = ssd1307fb_write_cmd(par->client, col_start); in ssd1307fb_set_col_range()
177 ret = ssd1307fb_write_cmd(par->client, col_end); in ssd1307fb_set_col_range()
[all …]
/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c1 // SPDX-License-Identifier: GPL-2.0-only
246 return regmap_bulk_write(ssd130x->regmap, SSD13XX_DATA, values, count); in ssd130x_write_data()
268 ret = regmap_write(ssd130x->regmap, SSD13XX_COMMAND, value); in ssd130x_write_cmd()
271 } while (--count); in ssd130x_write_cmd()
283 u8 col_end = col_start + cols - 1; in ssd130x_set_col_range()
286 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range()
293 ssd130x->col_start = col_start; in ssd130x_set_col_range()
294 ssd130x->col_end = col_end; in ssd130x_set_col_range()
301 u8 page_end = page_start + pages - 1; in ssd130x_set_page_range()
304 if (page_start == ssd130x->page_start && page_end == ssd130x->page_end) in ssd130x_set_page_range()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn3.c1 // SPDX-License-Identifier: MIT
11 for (int i = 0; i < list_a_size - 1; i++) { in sort()
13 for (int j = i; j < list_a_size - 1; j++) { in sort()
25 for (unsigned int i = 0; i < config->display_config.num_planes; i++) { in get_max_reserved_time_on_all_planes_with_stream_index()
26 plane_descriptor = &config->display_config.plane_descriptors[i]; in get_max_reserved_time_on_all_planes_with_stream_index()
28 if (plane_descriptor->stream_index == stream_index) in get_max_reserved_time_on_all_planes_with_stream_index()
29 if (plane_descriptor->overrides.reserved_vblank_time_ns > max_reserved_time_ns) in get_max_reserved_time_on_all_planes_with_stream_index()
30 max_reserved_time_ns = plane_descriptor->overrides.reserved_vblank_time_ns; in get_max_reserved_time_on_all_planes_with_stream_index()
41 for (unsigned int i = 0; i < config->display_config.num_planes; i++) { in set_reserved_time_on_all_planes_with_stream_index()
42 plane_descriptor = &config->display_config.plane_descriptors[i]; in set_reserved_time_on_all_planes_with_stream_index()
[all …]
/linux/drivers/pci/controller/
H A Dpci-v3-semi.c1 // SPDX-License-Identifier: GPL-2.0
6 * Based on the code from arch/arm/mach-integrator/pci_v3.c
8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd
134 /* PCI BASE bits (PCI -> Local Bus) */
141 /* PCI MAP bits (PCI -> Local bus) */
150 /* LB_BASE0,1 bits (Local bus -> PCI) */
172 /* LB_MAP0,1 bits (Local bus -> PCI) */
185 /* LB_BASE2 bits (Local bus -> PCI IO) */
192 /* LB_MAP2 bits (Local bus -> PCI IO) */
229 /* ARM Integrator-specific extended control registers */
[all …]
/linux/arch/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
22 # IOMMUs not handled by dma-iommu. Drivers must never select this symbol.
29 menu "General architecture-dependent options"
34 Select if the architecture can check permissions at sub-page
80 for kernel debugging, non-intrusive instrumentation and testing.
89 makes certain almost-always-true or almost-always-false branch
92 Certain performance-sensitive kernel code, such as trace points,
106 ( On 32-bit x86, the necessary options added to the compiler
113 Boot time self-test of the branch patching code.
119 Boot time self-test of the call patching code.
[all …]
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx>
10 * Copyright (C) 1998-2000 Gerard Roudier
13 * a port of the FreeBSD ncr driver to Linux-1.2.13.
17 * Stefan Esser <se@mi.Uni-Koeln.de>
25 *-----------------------------------------------------------------------------
65 MODULE_PARM_DESC(diff, "0 for no differential mode, 1 for BIOS, 2 for always, 3 for not GPIO3");
122 #define SYM_SOFTC_PTR(cmd) sym_get_hcb(cmd->device->host)
[all …]
/linux/drivers/platform/x86/
H A Dsamsung-laptop.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009,2011 Greg Kroah-Hartman (gregkh@suse.de)
35 * We have 0 - 8 as valid brightness levels. The specs say that level 0 should
37 * userspace that the value is 0 - 7 and then just tell the hardware 1 - 8
74 * Brightness is 0 - 8, as described above.
82 * 0x00 - wireless is off
83 * 0x01 - wireless is on
85 * 0x02 - 3G is off
86 * 0x03 - 3G is on
97 * 0x80 or 0x00 - no action
[all …]
/linux/drivers/block/rnbd/
H A Drnbd-clt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
19 #include "rnbd-clt.h"
38 return refcount_inc_not_zero(&sess->refcount); in rnbd_clt_get_sess()
47 if (refcount_dec_and_test(&sess->refcount)) in rnbd_clt_put_sess()
55 if (!refcount_dec_and_test(&dev->refcount)) in rnbd_clt_put_dev()
58 ida_free(&index_ida, dev->clt_device_id); in rnbd_clt_put_dev()
59 kfree(dev->hw_queues); in rnbd_clt_put_dev()
[all …]
/linux/include/linux/
H A Dfs.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/radix-tree.h>
33 #include <linux/percpu-rwsem.h>
168 /* File is stream-like */
184 /* File is capable of returning -EAGAIN if I/O will block */
194 * Attribute flags. These should be or-ed together to figure out what
230 * Derek Atkins <warlord@MIT.EDU> 94-10-20
280 * enum positive_aop_returns - aop return codes with specific semantics
285 * to return the page to the active list -- it won't
326 /* non-RWF related bits - start at 16 */
[all …]
/linux/fs/jfs/
H A Djfs_txnmgr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) International Business Machines Corp., 2000-2005
4 * Portions Copyright (C) Christoph Hellwig, 2001-2002
17 * (no hashlist for mp -> tlock).
20 * tlock on in-memory inode:
21 * in-place tlock in the in-memory inode itself;
84 static int nTxBlock = -1; /* number of transaction blocks */
89 static int nTxLock = -1; /* number of transaction locks */
172 * ---------------------------------
207 TxAnchor.tlocksInUse--; in txLockFree()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
14 #include "iwl-trans.h"
15 #include "iwl-nvm-utils.h"
18 #include "time-sync.h"
27 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_BA); in iwl_mvm_bar_check_trigger()
31 ba_trig = (void *)trig->data; in iwl_mvm_bar_check_trigger()
33 if (!(le16_to_cpu(ba_trig->tx_bar) & BIT(tid))) in iwl_mvm_bar_check_trigger()
[all …]

12